Skip to content

Commit 8a77eb7

Browse files
committed
add npm scripts
1 parent ee2dd9a commit 8a77eb7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
},
1515
"scripts": {
1616
"test": "npm run lint && mocha",
17-
"lint": "jshint . && jscs . -v"
17+
"lint": "jshint . && jscs . -v",
18+
"preversion": "npm test",
19+
"postversion": "git push && git push --tags"
1820
},
1921
"repository": {
2022
"type": "git",

0 commit comments

Comments
 (0)