build: better releasing workflow

This commit is contained in:
Simone Corsi
2021-01-16 09:47:59 +01:00
parent be86777ae4
commit ac6e274cec
2 changed files with 17 additions and 5 deletions

View File

@@ -9,9 +9,7 @@
"style:prettier": "prettier \"src/**/*.ts\" --list-different --write",
"build": "./node_modules/.bin/ncc build src/index.ts -o ./",
"dev": "ts-node-dev src/index.ts",
"prerelease": "npm run build",
"release": "HUSKY_SKIP_HOOKS=1 standard-version",
"postrelease": "git push origin main --follow-tags"
"prerelease": "npm run build && "
},
"keywords": [
"github",