prestart and prebuild scripts
This commit is contained in:
parent
6b180dbaeb
commit
27792add04
10
package.json
10
package.json
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "resume",
|
"name": "resume",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"source": "src/resume.html",
|
"source": "src/resume.js",
|
||||||
"author": "blek",
|
"author": "blek",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -32,7 +32,13 @@
|
||||||
"xterm-js-shell": "^1.1.3"
|
"xterm-js-shell": "^1.1.3"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
||||||
|
"prestart": "rm -f parcelrc",
|
||||||
"start": "parcel",
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue