Skip to content

Commit

Permalink
Use version hooks insteads of publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Rush committed Feb 8, 2019
1 parent e0aba11 commit aa4a6e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"build": "tsc",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"lint": "tslint -p tsconfig.json",
"publish": "npm run build && publish-to-git"
"preversion": "npm run build",
"postversion": "publish-to-git --force"
},
"author": "",
"license": "UNLICENSED",
Expand Down

0 comments on commit aa4a6e3

Please sign in to comment.