diff --git a/package.json b/package.json index 1a6c4ba..028294b 100644 --- a/package.json +++ b/package.json @@ -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" },