Обновлён скрипт "develop"
This commit is contained in:
parent
dad4d61453
commit
32bf327e1b
@ -4,11 +4,12 @@
|
||||
"version": "0.0.0",
|
||||
"description": "ololo",
|
||||
"scripts": {
|
||||
"develop": "npm run clean; ln -s pages/ dev/pages/; npm run watch-app",
|
||||
"develop": "npm run clean; npm run link-static; npm run watch-app",
|
||||
"watch-app": "npx parcel watch --dist-dir dev/ app/index.html",
|
||||
"build": "npm run clean; npm run build-app; npm run git-hash",
|
||||
"build-app": "npx parcel build --no-cache --no-source-maps --no-optimize --no-content-hash --dist-dir dist/ app/index.html",
|
||||
"prettier": "npx prettier --write .",
|
||||
"link-static": "ln -s $(pwd)/pages/ dev/pages; ln -s $(pwd)/static/* dev/;",
|
||||
"git-hash": "./update_commit.sh",
|
||||
"clean": "rm -rf ./dev/* ./dist/* &> /dev/null"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user