chore: add release script & supporting scripts
This commit is contained in:
parent
ed547cc851
commit
c07b9cc778
1 changed files with 5 additions and 1 deletions
|
|
@ -24,8 +24,12 @@
|
|||
"scripts": {
|
||||
"build": "tsc",
|
||||
"clean": "ts-node scripts/clean.ts",
|
||||
"prepublishOnly": "npm run clean && npm run build",
|
||||
"prepublishOnly": "npm run reset && npm test",
|
||||
"pretest": "npm run build",
|
||||
"preversion": "npm run reset && npm test",
|
||||
"publish": "npm publish",
|
||||
"release": "npm version",
|
||||
"reset": "npm run clean && npm ci",
|
||||
"test": "ts-node --project=test/tsconfig.json test/run-tests.ts"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue