Skip to content

Commit

Permalink
fix(deps): add semantic-release and friends
Browse files Browse the repository at this point in the history
Add some stuff that's great!
  • Loading branch information
Kent C. Dodds committed Aug 9, 2016
1 parent b6c64fc commit 55311e0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ script:
- npm run validate
after_success:
- npm run report-coverage
- npm run release
14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "github-names",
"version": "2.0.2",
"version": "0.0.0-semantically-released",
"description": "Get random GitHub usernames",
"main": "dist/index.js",
"scripts": {
"commit": "git-cz",
"prebuild": "rimraf dist",
"build": "npm-run-all --parallel build:*",
"build:main": "babel --copy-files --out-dir dist --ignore *.test.js src",
Expand All @@ -12,6 +13,7 @@
"test": "cross-env NODE_ENV=test nyc mocha",
"watch:test": "mocha --watch",
"report-coverage": "cat ./coverage/lcov.info | codecov",
"release": "semantic-release pre && npm publish && semantic-release post",
"lint": "eslint src",
"validate": "npm-run-all --parallel test lint build"
},
Expand Down Expand Up @@ -43,7 +45,9 @@
"babel-register": "6.11.6",
"chai": "3.5.0",
"codecov": "1.0.1",
"commitizen": "2.8.5",
"cross-env": "2.0.0",
"cz-conventional-changelog": "1.1.7",
"eslint": "3.2.0",
"eslint-config-kentcdodds": "^9.0.0",
"ghooks": "1.3.2",
Expand All @@ -52,6 +56,8 @@
"npm-run-all": "2.3.0",
"nyc": "7.1.0",
"rimraf": "2.5.4",
"semantic-release": "4.3.5",
"validate-commit-msg": "2.6.1",
"webpack": "1.13.1"
},
"nyc": {
Expand Down Expand Up @@ -87,8 +93,12 @@
}
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
},
"ghooks": {
"pre-commit": "npm run validate"
"pre-commit": "npm run validate",
"commit-msg": "validate-commit-msg"
}
}
}

0 comments on commit 55311e0

Please sign in to comment.