Skip to content

Commit 4829b0f

Browse files
committed
Add preversion/postversion scripts.
Allows releasing with simple `npm version` invocation.
1 parent d2d6bf4 commit 4829b0f

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
@@ -7,7 +7,9 @@
77
"ember-module-migrator": "./bin/ember-module-migrator"
88
},
99
"scripts": {
10-
"test": "mocha test/**/*-test.js"
10+
"test": "mocha test/**/*-test.js",
11+
"preversion": "npm test",
12+
"postversion": "git push && git push --tags"
1113
},
1214
"author": "Robert Jackson <[email protected]>",
1315
"license": "MIT",

0 commit comments

Comments
 (0)