fix: add tagging on the push command

This commit is contained in:
Aarnav Tale
2023-01-25 00:43:59 -05:00
parent 558e44eea4
commit b284f0ba18

View File

@@ -4,8 +4,7 @@
"scripts": {
"dev": "ncc -smw --license licenses.txt build src/main.ts",
"build": "ncc -sm --license licenses.txt build src/main.ts",
"push": "np --no-cleanup --no-publish --no-tests --message 'chore: v%s'",
"postpush": "git tag --force v1 && git push -f",
"push": "np --no-cleanup --no-publish --no-tests --message 'chore: v%s' && git tag --force v1 && git push -f",
"version": "pnpm run build && git add dist"
},
"dependencies": {