-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
37 lines (37 loc) · 1.88 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
{
"scripts": {
"build": "npm run css",
"clean": "find dist/css -type f \\( -name '*.css' -o -name '*.map' \\) -exec rm -f {} \\;",
"css-compile": "npm-run-all clean css-compile-compressed css-compile-expanded",
"css-compile-compressed": "sass --style compressed --source-map --embed-sources --no-error-css --load-path=node_modules scss/:dist/css/ && find dist/css -type f -name '*.css' -exec sh -c 'mv \"$0\" \"${0%.css}.min.css\"' {} \\;",
"css-compile-expanded": "sass --style expanded --source-map --embed-sources --no-error-css --load-path=node_modules scss/:dist/css/",
"css-lint": "stylelint 'scss/**/*.scss'",
"css-prefix": "npm-run-all css-prefix-compressed css-prefix-expanded",
"css-prefix-compressed": "find dist/css -type f -name '*.min.css' ! -name '*.map' ! -name '*.png' ! -name '*.jpg' -exec grep -L '@charset\\|@import' {} \\; | xargs -I {} postcss --replace {} --use autoprefixer --map",
"css-prefix-expanded": "find dist/css -type f -not -name '*.min.css' -not -name '*.map' -not -name '*.png' -not -name '*.jpg' -exec grep -L '@charset\\|@import' {} \\; | xargs -I {} postcss --replace {} --use autoprefixer --map",
"css": "npm-run-all css-compile css-prefix",
"server": "sirv --dev --no-clear --port 3000",
"start": "npm-run-all --parallel watch server",
"watch": "nodemon -e html,scss -x \"npm run css\"",
"test": "npm-run-all css-lint css"
},
"dependencies": {
"@popperjs/core": "^2.11.7",
"bootstrap": "^5.3.0-alpha3",
"bootstrap-icons": "^1.10.4",
"chart.js": "^4.3.0",
"jquery": "^3.6.4",
"jsdom": "^21.1.1"
},
"devDependencies": {
"autoprefixer": "^10.4.14",
"nodemon": "^2.0.22",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.21",
"postcss-cli": "^10.1.0",
"sass": "^1.61.0",
"sirv-cli": "^2.0.2",
"stylelint": "^15.4.0",
"stylelint-config-twbs-bootstrap": "^9.0.1"
}
}