Skip to content

Commit 8a2ffbd

Browse files
author
sw-yx
committed
fix: fix it
1 parent dbd9a06 commit 8a2ffbd

File tree

2 files changed

+2112
-71
lines changed

2 files changed

+2112
-71
lines changed

package.json

+11-5
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
{
22
"name": "react-netlify-identity-widget",
3-
"version": "0.0.2",
3+
"version": "0.0.0-development",
44
"main": "dist/index.js",
55
"umd:main": "dist/reactNetlifyIdentityWidget.umd.production.js",
66
"module": "dist/reactNetlifyIdentityWidget.es.production.js",
77
"typings": "dist/index.d.ts",
88
"files": [
99
"dist"
1010
],
11+
"license": "MIT",
1112
"scripts": {
1213
"start": "tsdx watch",
1314
"build": "tsdx build",
1415
"test": "tsdx test",
15-
"commit": "git-cz",
16-
"version": "exec < /dev/tty && auto-changelog -p --template keepachangelog && git add CHANGELOG.md",
17-
"prepublishOnly": "git push && git push --tags && gh-release"
16+
"changelog": "auto-changelog -p --template keepachangelog",
17+
"prepublishOnly": "git push && git push --tags && gh-release",
18+
"semantic-release": "semantic-release"
1819
},
1920
"husky": {
2021
"hooks": {
21-
"prepare-commit-msg": "exec < /dev/tty && git cz --hook"
22+
"prepare-commit-msg": "exec < /dev/tty && npm run changelog && git cz --hook"
2223
}
2324
},
2425
"devDependencies": {
@@ -30,6 +31,7 @@
3031
"cz-conventional-changelog": "2.1.0",
3132
"gh-release": "^3.5.0",
3233
"husky": "^1.3.1",
34+
"semantic-release": "^15.13.3",
3335
"tsdx": "^0.3.4",
3436
"typescript": "^3.4.4"
3537
},
@@ -46,5 +48,9 @@
4648
"commitizen": {
4749
"path": "./node_modules/cz-conventional-changelog"
4850
}
51+
},
52+
"repository": {
53+
"type": "git",
54+
"url": "https://github.com/sw-yx/react-netlify-identity-widget.git"
4955
}
5056
}

0 commit comments

Comments
 (0)