-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
34 lines (34 loc) · 1.12 KB
/
Copy pathpackage.json
File metadata and controls
34 lines (34 loc) · 1.12 KB
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
{
"config": {
"root": "public/",
"pug_files": "src/pug/index.pug",
"postcss_files": "src/css/style.css"
},
"scripts": {
"start": "npm run serve & npm run watch",
"serve": "live-server ${npm_package_config_root}",
"watch": "npm run webpack -- -w --mode development & npm run pug -- -w & npm run postcss -- --watch; wait",
"build": "npm run webpack -- --mode production & npm run pug & npm run postcss; wait",
"webpack": "webpack-cli --config webpack.config.js",
"pug": "pug ${npm_package_config_pug_files} -o ${npm_package_config_root} --pretty",
"postcss": "postcss --config postcss.config.js --dir ${npm_package_config_root}css ${npm_package_config_postcss_files} --no-map"
},
"devDependencies": {
"autoprefixer": "^7.2.5",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.1",
"css-mqpacker": "^6.0.1",
"cssnano": "^3.10.0",
"live-server": "hystking/live-server",
"postcss-cli": "^4.1.1",
"pug-cli": "^1.0.0-alpha6",
"webpack": "^4.6.0",
"webpack-cli": "^2.0.15"
},
"babel": {
"presets": [
"env"
]
}
}