From 32bf327e1b528e775774d0a86d0f8d830ef94bb9 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sat, 19 Aug 2023 04:14:43 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D1=91?= =?UTF-8?q?=D0=BD=20=D1=81=D0=BA=D1=80=D0=B8=D0=BF=D1=82=20"develop"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" },