-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
106 lines (106 loc) · 2.57 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "vse-abbc3",
"version": "3.3.2",
"author": "Matt Friedman",
"license": "GPL-2.0",
"dependencies": {
"tablednd": "^1.0.5"
},
"devDependencies": {
"clean-css-cli": "^5.3.3",
"copyfiles": "^2.4.1",
"eslint": "^8.0.0",
"jshint": "^2.13.1",
"jshint-stylish": "^2.0.1",
"npm-run-all": "^4.1.5",
"npm-watch": "^0.11.0",
"uglify-js": "^3.14.3"
},
"watch": {
"js-minify": "styles/all/template/js/abbc3.js",
"css-minify": {
"patterns": "styles/all/theme/*.css",
"extensions": "css",
"ignore": "styles/all/theme/*.min.css"
}
},
"scripts": {
"js": "npm-run-all jshint eslint js-minify",
"jshint": "jshint styles/all/template/js/abbc3.js",
"eslint": "eslint styles/all/template/js/abbc3.js",
"js-minify": "uglifyjs styles/all/template/js/abbc3.js --source-map --output styles/all/template/js/abbc3.min.js",
"css-minify": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --batch --batch-suffix '.min' styles/all/theme/*.css !styles/all/theme/*.min.css",
"copy-tablednd": "copyfiles --flat node_modules/tablednd/dist/jquery.tablednd.js node_modules/tablednd/dist/jquery.tablednd.min.js styles/all/template/js",
"bump-major": "npm version major --git-tag-version=false",
"bump-minor": "npm version minor --git-tag-version=false",
"bump-patch": "npm version patch --git-tag-version=false",
"build": "npm-run-all --parallel js css-minify copy-tablednd",
"watch": "npm-watch"
},
"jshintConfig": {
"globals": {
"is_ie": true,
"form_name": true,
"text_name": true,
"baseHeight": true,
"storeCaret": true,
"bbfontstyle": true,
"insert_text": true,
"phpbb": true
},
"bitwise": true,
"curly": true,
"eqeqeq": true,
"esversion": 6,
"forin": false,
"freeze": true,
"noarg": true,
"nonbsp": true,
"undef": true,
"unused": true,
"strict": true,
"browser": true,
"devel": false,
"jquery": true
},
"eslintConfig": {
"rules": {
"quotes": [
"error",
"single"
],
"comma-dangle": [
"error",
"always-multiline"
],
"max-params": [
"error",
6
],
"block-spacing": "error",
"array-bracket-spacing": [
"error",
"always"
],
"multiline-comment-style": "error",
"computed-property-spacing": "off",
"space-in-parens": "off",
"capitalized-comments": "off",
"object-curly-spacing": [
"error",
"always"
],
"no-lonely-if": "off",
"unicorn/prefer-module": "off",
"space-before-function-paren": [
"error",
"never"
]
},
"env": {
"es2021": true,
"browser": true,
"node": true
}
}
}