-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
38 lines (38 loc) · 1.38 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
{
"name": "@worldskills/bootstrap",
"version": "4.10.1",
"dependencies": {
"bootstrap": "^4.6.0"
},
"peerDependencies": {
"jquery": "1.9.1 - 3",
"popper.js": "^1.16.1"
},
"devDependencies": {
"autoprefixer": "^9.8.6",
"clean-css-cli": "^4.3.0",
"nodemon": "^2.0.4",
"postcss-cli": "^7.1.2",
"sass": "^1.32.7"
},
"style": "dist/css/bootstrap.css",
"sass": "scss/bootstrap.scss",
"main": "dist/js/bootstrap",
"files": [
"dist/{css,js}/*.{css,js,map}",
"js/{src,dist}/*.{js,map}",
"scss/**/*.scss"
],
"scripts": {
"bootstrap-copy": "cp -r node_modules/bootstrap/scss/ scss/bootstrap/",
"css": "npm run css-compile && npm run css-prefix && npm run css-minify && npm run css-copy",
"css-compile": "sass scss/bootstrap.scss dist/css/bootstrap.css",
"css-prefix": "postcss --replace dist/css/bootstrap.css",
"css-minify": "cleancss --level 1 --source-map --source-map-inline-sources --output dist/css/bootstrap.min.css dist/css/bootstrap.css",
"css-copy": "cp -r dist/css/ docs/dist/css/",
"js": "npm run js-copy",
"js-copy": "cp -r node_modules/bootstrap/dist/js/ dist/js/ && cp -r node_modules/bootstrap/dist/js/ docs/dist/js/ && cp -r node_modules/bootstrap/js/ js/",
"dist": "npm run bootstrap-copy && npm run css && npm run js",
"watch-css": "nodemon --watch scss/ --ext scss --exec \"npm run css\""
}
}