File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -13,3 +13,4 @@ script:
1313 - npm run validate
1414after_success :
1515 - npm run report-coverage
16+ - npm run release
Original file line number Diff line number Diff line change 11{
22 "name" : " github-names" ,
3- "version" : " 2 .0.2 " ,
3+ "version" : " 0 .0.0-semantically-released " ,
44 "description" : " Get random GitHub usernames" ,
55 "main" : " dist/index.js" ,
66 "scripts" : {
7+ "commit" : " git-cz" ,
78 "prebuild" : " rimraf dist" ,
89 "build" : " npm-run-all --parallel build:*" ,
910 "build:main" : " babel --copy-files --out-dir dist --ignore *.test.js src" ,
1213 "test" : " cross-env NODE_ENV=test nyc mocha" ,
1314 "watch:test" : " mocha --watch" ,
1415 "report-coverage" : " cat ./coverage/lcov.info | codecov" ,
16+ "release" : " semantic-release pre && npm publish && semantic-release post" ,
1517 "lint" : " eslint src" ,
1618 "validate" : " npm-run-all --parallel test lint build"
1719 },
4345 "babel-register" : " 6.11.6" ,
4446 "chai" : " 3.5.0" ,
4547 "codecov" : " 1.0.1" ,
48+ "commitizen" : " 2.8.5" ,
4649 "cross-env" : " 2.0.0" ,
50+ "cz-conventional-changelog" : " 1.1.7" ,
4751 "eslint" : " 3.2.0" ,
4852 "eslint-config-kentcdodds" : " ^9.0.0" ,
4953 "ghooks" : " 1.3.2" ,
5256 "npm-run-all" : " 2.3.0" ,
5357 "nyc" : " 7.1.0" ,
5458 "rimraf" : " 2.5.4" ,
59+ "semantic-release" : " 4.3.5" ,
60+ "validate-commit-msg" : " 2.6.1" ,
5561 "webpack" : " 1.13.1"
5662 },
5763 "nyc" : {
8793 }
8894 },
8995 "config" : {
96+ "commitizen" : {
97+ "path" : " cz-conventional-changelog"
98+ },
9099 "ghooks" : {
91- "pre-commit" : " npm run validate"
100+ "pre-commit" : " npm run validate" ,
101+ "commit-msg" : " validate-commit-msg"
92102 }
93103 }
94104}
You can’t perform that action at this time.
0 commit comments