Skip to content

Commit

Permalink
Merge pull request #268 from digitalsadhu/greenkeeper/semantic-releas…
Browse files Browse the repository at this point in the history
…e-12.2.2

Greenkeeper/semantic release 12.2.2
  • Loading branch information
Tronix117 authored Jan 15, 2018
2 parents 9ce761b + 1773e94 commit 46600de
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ after_success:
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
- python travis_after_all.py
- export $(cat .to_export_back) &> /dev/null
- npm run semantic-release
- npm run travis-deploy-once "npm run semantic-release"
branches:
except:
- /^v\d+\.\d+\.\d+$/
11 changes: 11 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* eslint-env node */

module.exports = {
extends: ['@commitlint/config-conventional'],

// Override rules. See http://marionebl.github.io/commitlint
rules: {
// Disable language rule
lang: [0, 'always', 'eng']
}
}
24 changes: 19 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
"tester": "mocha --reporter=spec ./test/**/*.test.js",
"coverage": "istanbul cover _mocha ./test/**/*.test.js",
"lint": "standard './test/**/*.js' './lib/**/*.js' --verbose | snazzy",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"semantic-release": "semantic-release",
"travis-deploy-once": "travis-deploy-once",
"precommit": "lint-staged",
"formatter": "prettier-standard-formatter ."
"formatter": "prettier-standard-formatter .",
"commit": "git-cz",
"commit:retry": "git-cz --retry",
"commitmsg": "commitlint -e"
},
"lint-staged": {
"*.js": [
Expand Down Expand Up @@ -38,7 +42,6 @@
"body-parser": "^1.18.2",
"debug": "^3.1.0",
"http-status-codes": "^1.3.0",
"husky": "^0.14.0",
"inflection": "^1.7.2",
"lint-staged": "^6.0.0",
"lodash": "^4.17.1",
Expand All @@ -47,16 +50,22 @@
"type-is": "^1.6.14"
},
"devDependencies": {
"@commitlint/cli": "^6.0.2",
"@commitlint/config-conventional": "^6.0.2",
"@commitlint/prompt": "^6.0.2",
"chai": "^4.1.2",
"commitizen": "^2.9.6",
"coveralls": "^3.0.0",
"husky": "^0.14.3",
"istanbul": "^0.4.5",
"loopback": "^3.16.2",
"loopback-datasource-juggler": "^3.13.0",
"mocha": "^4.0.1",
"rsvp": "4.7.0",
"semantic-release": "^11.0.2",
"semantic-release": "^12.2.2",
"standard": "^10.0.3",
"supertest": "^3.0.0"
"supertest": "^3.0.0",
"travis-deploy-once": "^4.3.1"
},
"standard": {
"globals": [
Expand All @@ -65,5 +74,10 @@
"describe",
"afterEach"
]
},
"config": {
"commitizen": {
"path": "node_modules/@commitlint/prompt"
}
}
}

0 comments on commit 46600de

Please sign in to comment.