Add clean & prepare scripts
This commit is contained in:
parent
26dda63b97
commit
f60d8eb884
@ -26,7 +26,9 @@
|
||||
"app": "ts-node src/index.ts",
|
||||
"cli": "ts-node src/cli.ts",
|
||||
"watch": "nodemon --ext js,pug,ts --watch src --exec 'ts-node src/index.ts'",
|
||||
"build": "rimraf lib && tsc -p tsconfig.json && fse copy --all --dereference --preserveTimestamps --keepExisting=false --quiet --errorOnExist=false src/app/resources lib/app/resources"
|
||||
"clean": "rimraf lib",
|
||||
"prepare": "pnpm run build",
|
||||
"build": "pnpm run clean && tsc -p tsconfig.json && fse copy --all --dereference --preserveTimestamps --keepExisting=false --quiet --errorOnExist=false src/app/resources lib/app/resources"
|
||||
},
|
||||
"files": [
|
||||
"lib/**/*"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user