-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·63 lines (63 loc) · 3.35 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
{
"name": "@dwstyle/design",
"description": "Official design kit/boilerplate for dWeb dSites and dApps.",
"version": "0.1.2",
"main": "dist/js/dweb",
"scripts": {
"start": "npm-run-all --parallel watch serve-dist",
"copy-html": "copyfiles -f src/extras/*.html dist",
"copy-images": "copyfiles -u 3 src/extras/images/**/**/**/* dist/images/",
"css": "npm-run-all css-compile css-prefix css-minify && npm run bundlesize",
"css-compile": "npm-run-all css-compile:main css-compile:extras css-compile:demo",
"css-compile:demo": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 src/extras/scss/dweb-demo.scss dist/css/dweb-demo.css",
"css-compile:extras": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 src/extras/scss/dweb-extras.scss dist/css/dweb-extras.css",
"css-compile:main": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 src/scss/dweb.scss dist/css/dweb.css",
"css-minify": "npm-run-all css-minify:main css-minify:extras css-minify:demo",
"css-minify:demo": "cleancss --level 1 --source-map --source-map-inline-sources --output dist/css/dweb-demo.min.css dist/css/dweb-demo.css",
"css-minify:extras": "cleancss --level 1 --source-map --source-map-inline-sources --output dist/css/dweb-extras.min.css dist/css/dweb-extras.css",
"css-minify:main": "cleancss --level 1 --source-map --source-map-inline-sources --output dist/css/dweb.min.css dist/css/dweb.css",
"css-prefix": "postcss --config build/postcss.config.js --replace dist/css/*.css",
"js": "npm-run-all js-compile js-minify",
"js-compile": "webpack --config build/webpack.config.js",
"js-minify": "npm-run-all js-minify:main js-minify:demo",
"js-minify:demo": "uglifyjs --compress --mangle --output dist/js/demo.min.js dist/js/demo.js",
"js-minify:main": "uglifyjs --compress --mangle --output dist/js/dweb.min.js dist/js/dweb.js",
"serve-dist": "browser-sync start --server \"./dist\" --files \".\" --no-open --no-online --no-notify",
"watch": "npm-run-all --parallel watch-css watch-html watch-images watch-js",
"watch-css": "nodemon --ignore src/js --ignore dist/ -e scss -x \"npm run css\"",
"watch-html": "nodemon --ignore src/js --ignore src/scss --ignore src/extras/js --ignore src/extras/scss --ignore dist/ -e html -x \"npm run copy-html\"",
"watch-images": "nodemon --ignore src/js --ignore src/scss --ignore src/extras/js --ignore src/extras/scss --ignore dist/ -e jpg,jpeg,png -x \"npm run copy-images\"",
"watch-js": "nodemon --ignore src/scss --ignore dist/ -e js -x \"npm run js\"",
"bundlesize": "bundlesize"
},
"bundlesize": [
{
"path": "./dist/css/dweb.min.css",
"maxSize": "20.5 kB"
}
],
"license": "MIT",
"devDependencies": {
"autoprefixer": "^7.2.6",
"browser-sync": "^2.24.2",
"clean-css-cli": "^4.1.11",
"copyfiles": "^1.2.0",
"node-sass": "^4.9.0",
"nodemon": "^1.17.3",
"npm-run-all": "^4.1.2",
"postcss-cli": "^4.1.1",
"sass-lint": "^1.12.1",
"sass-unused": "^0.2.2",
"uglify-js": "^3.3.23",
"webpack": "^3.11.0"
},
"dependencies": {
"bootstrap": "4.0.0",
"bootstrap-datepicker": "^1.8.0",
"bundlesize": "^0.15.3",
"nouislider": "^11.1.0"
},
"publishConfig": {
"access": "public"
}
}