Skip to content

Commit d7fca12

Browse files
committed
chore: add pre-push git hook
1 parent 1546366 commit d7fca12

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vuses",
3-
"version": "0.0.0",
3+
"version": "0.0.0-development",
44
"description": "",
55
"keywords": [],
66
"main": "dist/vuses.umd.js",
@@ -120,7 +120,7 @@
120120
"rollup-plugin-node-resolve": "5.2.0",
121121
"rollup-plugin-sourcemaps": "^0.4.2",
122122
"rollup-plugin-typescript2": "0.24.3",
123-
"semantic-release": "^15.9.16",
123+
"semantic-release": "^15.13.28",
124124
"shelljs": "^0.8.3",
125125
"travis-deploy-once": "^5.0.9",
126126
"ts-jest": "24.1.0",
@@ -141,7 +141,8 @@
141141
"husky": {
142142
"hooks": {
143143
"pre-commit": "lint-staged",
144-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
144+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
145+
"pre-push": "npm run test:prod && npm run build"
145146
}
146147
}
147148
}

0 commit comments

Comments
 (0)