35 lines
1.2 KiB
JSON
35 lines
1.2 KiB
JSON
|
{
|
||
|
"name": "app",
|
||
|
"version": "1.0.0",
|
||
|
"private": true,
|
||
|
"license": "UNLICENSED",
|
||
|
"author": "",
|
||
|
"description": "",
|
||
|
"scripts": {
|
||
|
"browsersync": "browser-sync start --directory --server ./public --files ./public/* --startPath index.html",
|
||
|
"clean": "rimraf public/*",
|
||
|
"copy-assets": "cpx \"src/assets/**/*.*\" public/",
|
||
|
"css-compile": "sass --style expanded src/scss/bulma-theme.scss public/css/bulma/bulma.css",
|
||
|
"css-minify": "cleancss --level 1 --source-map --source-map-inline-sources --output public/css/bulma/bulma.min.css public/css/bulma/bulma.css",
|
||
|
"css": "npm-run-all --sequential css-*",
|
||
|
"templates": "pug --pretty -o public/ src/pug/",
|
||
|
"build": "npm-run-all --sequential clean copy-* templates css",
|
||
|
"watch": "npm-run-all build --parallel watch-templates watch-css browsersync",
|
||
|
"watch-templates": "npm run templates -- --watch",
|
||
|
"watch-css": "npm run css-compile -- --watch"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"bulma": "^0.9.3"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"browser-sync": "^2.24.7",
|
||
|
"clean-css-cli": "^4.2.1",
|
||
|
"cpx": "^1.5.0",
|
||
|
"sass": "^1.43.4",
|
||
|
"npm-run-all": "^4.1.3",
|
||
|
"pug": "^2.0.3",
|
||
|
"pug-cli": "^1.0.0-alpha6",
|
||
|
"rimraf": "^2.6.2"
|
||
|
}
|
||
|
}
|