Skip to content

Commit

Permalink
build: setup commitizen, CHANGELOG generation and release script
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvxd committed Oct 1, 2018
1 parent 51f84b0 commit d8139a9
Show file tree
Hide file tree
Showing 2 changed files with 2,022 additions and 33 deletions.
15 changes: 13 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@
"scripts": {
"test": "cross-env CI=1 react-scripts-ts test --env=jsdom",
"test:watch": "react-scripts-ts test --env=jsdom",
"cz": "git-cz",
"build": "rollup -c",
"start": "rollup -c -w",
"prepare": "yarn run build",
"predeploy": "cd example && yarn install && yarn run build",
"deploy": "gh-pages -d example/build"
"deploy": "gh-pages -d example/build",
"release": "conventional-recommended-bump -p angular | xargs yarn version --new-version$1",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md"
},
"dependencies": {},
"peerDependencies": {
Expand All @@ -34,6 +37,9 @@
"@types/react-test-renderer": "^16.0.2",
"babel-core": "^6.26.3",
"babel-runtime": "^6.26.0",
"commitizen": "^2.10.1",
"conventional-changelog-cli": "^2.0.5",
"conventional-recommended-bump": "^4.0.1",
"cross-env": "^5.1.4",
"gh-pages": "^1.2.0",
"react": "^16.4.1",
Expand All @@ -52,5 +58,10 @@
},
"files": [
"dist"
]
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}
Loading

0 comments on commit d8139a9

Please sign in to comment.