Skip to content

Commit 0391844

Browse files
committed
add npm deploy for patch versions
1 parent 5e442ad commit 0391844

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"build": "BABEL_ENV=production babel src --out-dir lib",
88
"clean": "rimraf lib",
99
"cover": "nyc --check-coverage npm run test",
10-
"deploy": "npm version minor && npm publish --access=public",
10+
"deploy:minor": "npm version minor && npm publish --access=public",
11+
"deploy:patch": "npm version patch && npm publish --access=public",
1112
"docs": "node_modules/.bin/jsdoc --configure .jsdoc.json --verbose",
1213
"prepublish": "npm run clean && npm run build",
1314
"pretty": "prettier --write \"./**/*.{js,json,yml,md,vue,css,scss}\"",

0 commit comments

Comments
 (0)