Skip to content

Commit c66cf5f

Browse files
author
sw-yx
committed
add version and gh-release
1 parent f8433ed commit c66cf5f

File tree

2 files changed

+683
-17
lines changed

2 files changed

+683
-17
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
"netlify-lambda": "bin/cmd.js"
99
},
1010
"scripts": {
11-
"test": "jest"
11+
"test": "jest",
12+
"version": "auto-changelog -p --template keepachangelog && git add .",
13+
"prepublishOnly": "git push && git push --tags && gh-release"
1214
},
1315
"files": [
1416
"lib/*.js",
@@ -41,6 +43,8 @@
4143
"webpack-merge": "^4.1.4"
4244
},
4345
"devDependencies": {
46+
"auto-changelog": "^1.13.0",
47+
"gh-release": "^3.5.0",
4448
"jest": "^23.6.0"
4549
}
4650
}

0 commit comments

Comments
 (0)