prestart and prebuild scripts

This commit is contained in:
b1ek 2023-03-22 20:35:04 +10:00
parent 6b180dbaeb
commit 27792add04
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 8 additions and 2 deletions

View File

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