Skip to content

Commit 9b6b287

Browse files
Adds version scripts
1 parent 6a1710b commit 9b6b287

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
"uglify-js": "^2.8.23"
2222
},
2323
"scripts": {
24+
"preversion": "yarn && npm run lint && npm run build && npm run test-and-send-cov-to-coveralls",
25+
"version": "git add .",
26+
"postversion": "git push && git push --tags",
2427
"build": "rm -rf build && tsc && npm run uglify",
2528
"lint": "rm -rf build && tslint --type-check --project tsconfig.json './src/**/*.ts'",
2629
"test-spec": "mocha build/**/*.spec.js -R spec --bail",

0 commit comments

Comments
 (0)