Added scripts
- New packages for css processing - Added index for browser-sync
This commit is contained in:
parent
e1714fde80
commit
6494df4d32
5 changed files with 2253 additions and 48 deletions
15
package.json
15
package.json
|
|
@ -34,20 +34,25 @@
|
|||
"clean:report": "rm -rf report/*",
|
||||
"clean:test": "rm -rf test/*",
|
||||
"serve": "browser-sync start --no-open --index 'demo.html' --server 'build'",
|
||||
"serve:watch": "browser-sync start --open false --files 'build' --server 'build'",
|
||||
"style": "npm run style:compile",
|
||||
"serve:watch": "browser-sync start --open false --index 'demo.html' --files 'build' --server 'build'",
|
||||
"style": "npm run style:compile & npm run style:post",
|
||||
"style:compile": "sass source/style:build/css --load-path=vendor",
|
||||
"style:prefix": "",
|
||||
"style:watch": ""
|
||||
"style:post": "postcss build/css/*.css -d deploy/css",
|
||||
"style:watch": "sass --watch source/style:build/css --load-path=vendor",
|
||||
"develop": "npm run style:watch & npm run serve:watch"
|
||||
},
|
||||
"config": {
|
||||
"port": "3000"
|
||||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^10.4.8",
|
||||
"browser-sync": "^2.27.10",
|
||||
"cssnano": "^5.1.13",
|
||||
"jshint": "~2",
|
||||
"jshint-stylish": "^2.2.1",
|
||||
"sass": "^1.54.0"
|
||||
"postcss": "^8.4.16",
|
||||
"postcss-cli": "^10.0.0",
|
||||
"sass": "^1.54.4"
|
||||
},
|
||||
"private": true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue