Skip to content

Commit 40de1f3

Browse files
committed
Add pre, current and post version scripts
1 parent 477403b commit 40de1f3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
"ng": "ng",
66
"build": "ng build",
77
"test": "ng test",
8-
"lint": "ng lint"
8+
"lint": "ng lint",
9+
"preversion": "yarn test",
10+
"version": "yarn build",
11+
"postversion": "git push && git push --tags"
912
},
1013
"repository": {
1114
"type": "git",

0 commit comments

Comments
 (0)