Skip to content

Commit 2d15208

Browse files
author
sw-yx
committed
pkgjson
1 parent 42752b5 commit 2d15208

File tree

2 files changed

+336
-11
lines changed

2 files changed

+336
-11
lines changed

package.json

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
"build": "rollup -c",
1919
"start": "rollup -c -w",
2020
"prepare": "yarn run build",
21+
"version": "yarn run build && auto-changelog -p --template keepachangelog && git add .",
22+
"prepublishOnly": "git push && git push --tags && gh-release",
2123
"predeploy": "cd example && yarn install && yarn run build",
2224
"deploy": "gh-pages -d example/build"
2325
},
@@ -33,10 +35,12 @@
3335
"@types/jest": "^23.1.5",
3436
"@types/react": "^16.7.13",
3537
"@types/react-dom": "^16.0.11",
38+
"auto-changelog": "^1.13.0",
3639
"babel-core": "^6.26.3",
3740
"babel-runtime": "^6.26.0",
3841
"cross-env": "^5.1.4",
3942
"gh-pages": "^1.2.0",
43+
"gh-release": "^3.5.0",
4044
"react-scripts-ts": "^2.16.0",
4145
"rollup": "^0.62.0",
4246
"rollup-plugin-babel": "^3.0.7",

0 commit comments

Comments
 (0)