Skip to content

Commit 7637652

Browse files
committed
Add release script
1 parent 1692299 commit 7637652

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
"build:es": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format es",
1919
"build:postcss": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format postcss",
2020
"build:unpkg": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format iife",
21+
"release:patch": "npm version patch && npm publish",
22+
"postpublish": "cd example && npm install vue-notion@latest && git add --all && git commit -m 'Bump version' && git push && git push --tags",
2123
"prepare": "rm -rf dist && npm run build"
2224
},
2325
"dependencies": {

0 commit comments

Comments
 (0)