Skip to content

Commit d5397dc

Browse files
committed
updated npm versioning message
1 parent dd69378 commit d5397dc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.npmrc

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

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"lint:watch": "npm run lint -- --watch",
2020
"clear": "rimraf .temp dist demo/dist",
2121
"watch": "concurrently --names \"Serve,Lint,Test\" \"npm:start\" \"npm:lint:watch\" \"npm:test:watch\"",
22-
"prepublishOnly": "npm run build && npm run test && npm run lint"
22+
"version": "npm run lint && npm run test && npm run build && git add --all dist",
23+
"postversion": "git push && git push --tags"
2324
},
2425
"husky": {
2526
"hooks": {

0 commit comments

Comments
 (0)