Обновлён скрипт "develop"

This commit is contained in:
Alexander Popov 2023-08-19 04:14:43 +03:00
parent dad4d61453
commit 32bf327e1b
Signed by: iiiypuk
GPG Key ID: E47FE0AB36CD5ED6

View File

@ -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"
},