Skip to content

Commit

Permalink
Add preversion and postversion scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
alexryd committed Jan 22, 2022
1 parent cf69cc7 commit 84ad121
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"scripts": {
"build": "rimraf ./dist && tsc",
"lint": "eslint ./src --ext .ts,.js --max-warnings=0",
"test": "jest"
"test": "jest",
"preversion": "npm run build && npm run lint",
"postversion": "git push && git push --tags"
},
"engines": {
"node": ">=14.18.1",
Expand Down

0 comments on commit 84ad121

Please sign in to comment.