Skip to content
This repository was archived by the owner on Feb 25, 2020. It is now read-only.

Commit f3b63ed

Browse files
committed
release script
1 parent 95f7c59 commit f3b63ed

File tree

3 files changed

+1589
-74
lines changed

3 files changed

+1589
-74
lines changed

.release-it.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"increment": "conventional:angular",
3+
"changelogCommand": "conventional-changelog -p angular | tail -n +3",
4+
"safeBump": false,
5+
"src": {
6+
"commitMessage": "chore: release %s",
7+
"tagName": "v%s"
8+
},
9+
"npm": {
10+
"publish": true
11+
},
12+
"github": {
13+
"release": true
14+
}
15+
}

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"lint": "eslint .",
1616
"format": "eslint . --fix",
1717
"build": "babel --no-babelrc --plugins=syntax-jsx,syntax-class-properties,syntax-object-rest-spread,transform-flow-strip-types src --copy-files --out-dir dist --ignore '**/__tests__/**'",
18-
"prepare": "yarn build"
18+
"prepare": "yarn build",
19+
"release": "release-it"
1920
},
2021
"keywords": [
2122
"react-native",
@@ -47,6 +48,7 @@
4748
"babel-plugin-syntax-object-rest-spread": "^6.13.0",
4849
"babel-plugin-transform-flow-strip-types": "^6.22.0",
4950
"babel-preset-react-native": "^4.0.0",
51+
"conventional-changelog-cli": "^2.0.5",
5052
"eslint": "^4.12.1",
5153
"eslint-config-satya164": "^1.0.1",
5254
"eslint-plugin-react-native-globals": "^0.1.0",
@@ -57,7 +59,8 @@
5759
"react-dom": "16.3.1",
5860
"react-native": "~0.55.4",
5961
"react-navigation": "^2.11.2",
60-
"react-test-renderer": "16.3.1"
62+
"react-test-renderer": "16.3.1",
63+
"release-it": "^7.6.1"
6164
},
6265
"peerDependencies": {
6366
"react": "*",

0 commit comments

Comments
 (0)