-
-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
71 lines (71 loc) · 2.2 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
{
"license": "GPL-2.0-only",
"dependencies": {
"autoprefixer": "^10.4.2",
"bootstrap": "5.1.3",
"bootstrap-dark-5": "^1.0.1",
"bootstrap-icons": "^1.8.0",
"clean-css-cli": "^5.5.2",
"copyfiles": "^2.4.0",
"eslint": "^8.8.0",
"npm-run-all": "^4.1.5",
"postcss-cli": "^10.1.0",
"sass": "^1.71.1"
},
"scripts": {
"css": "npm-run-all css-compile css-prefix css-minify",
"css-compile": "sass scss/qi_bootstrap.scss scss/qi_bootstrap.css",
"css-prefix": "postcss --use autoprefixer --replace scss/qi_bootstrap.css",
"css-minify": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output scss/qi_bootstrap.min.css scss/qi_bootstrap.css",
"copy": "npm-run-all --parallel copy-*",
"copy-bs-css": "copyfiles --flat scss/qi_bootstrap.min.css scss/qi_bootstrap.min.css.map style/assets/css",
"copy-bs-js": "copyfiles --flat node_modules/bootstrap/dist/js/bootstrap.min.js node_modules/bootstrap/dist/js/bootstrap.min.js.map style/assets/js",
"copy-bs-icons": "copyfiles --flat node_modules/bootstrap-icons/bootstrap-icons.svg style/assets/img",
"copy-bs-dark": "copyfiles --flat node_modules/bootstrap-dark-5/dist/css/bootstrap-nightfall.min.css style/assets/css",
"all": "npm-run-all css copy",
"test": "eslint style/assets/js/scripts.js"
},
"eslintConfig": {
"ignorePatterns": [
"style/assets/js/bootstrap.*.js"
],
"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
}
}
}