From 27792add04905565ccc270d107170442a15a67ed Mon Sep 17 00:00:00 2001 From: b1ek Date: Wed, 22 Mar 2023 20:35:04 +1000 Subject: [PATCH] prestart and prebuild scripts --- package.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index efc07f3..e24fdce 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "resume", "version": "1.0.0", - "source": "src/resume.html", + "source": "src/resume.js", "author": "blek", "license": "MIT", "devDependencies": { @@ -32,7 +32,13 @@ "xterm-js-shell": "^1.1.3" }, "scripts": { + + "prestart": "rm -f parcelrc", "start": "parcel", - "build": "parcel build --no-source-maps" + + + "prebuild": "cp .build.config .parcelrc > /dev/null 2>&1", + "build": "parcel build --no-source-maps", + "postbuild": "rm -f .parcelrc" } }