chore: add release script & supporting scripts

This commit is contained in:
M. George Hansen 2020-06-03 10:35:28 -07:00
parent ed547cc851
commit c07b9cc778
Signed by: mgeorgehansen
SSH key fingerprint: SHA256:JlIGiQLPyQ2RHTH3a2oVlb20Xkh9Glr8DUF4YTXHJxM

View file

@ -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": {