Skip to content

Commit f094a2f

Browse files
committed
Add npm version configuration
1 parent f45efc1 commit f094a2f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
message = "Bump version to %s"

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,12 @@
140140
"root": "."
141141
},
142142
"scripts": {
143+
"test": "grunt test",
143144
"lint": "eslint .",
144145
"lint:fix": "eslint . --fix",
145146
"docs": "rm -rf docs/v4; jsdoc --configure config/jsdoc/api-conf.json",
146147
"docs:all": "rm -rf docs/v4-internal; jsdoc --configure config/jsdoc/all-conf.json",
147-
"test": "grunt test"
148+
"preversion": "",
149+
"postversion": "git push origin v4 --follow-tags"
148150
}
149151
}

0 commit comments

Comments
 (0)