Skip to content

Commit

Permalink
TASK: Integrate semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
Inkdpixels committed Nov 6, 2017
1 parent 85e31d1 commit efde729
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@ before_script:
- greenkeeper-lockfile-update
after_script:
- greenkeeper-lockfile-upload
after_success:
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
13 changes: 11 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@
"flow-typed-install": "flow-typed install --ignoreDeps=peer --overwrite",
"prepare": "npm run flow-typed-install || true",
"prepublishOnly": "npm run build",
"precommit": "lint-staged && npm test"
"precommit": "lint-staged && npm test",
"semantic-release":
"semantic-release pre && npm publish && semantic-release post"
},
"lint-staged": {
"**/*.{js,json,css}": ["prettier --write", "git add"]
Expand All @@ -53,6 +55,8 @@
"@immowelt/eslint-config-immowelt-react": "^2.0.2",
"@immowelt/jest-preset-node": "^1.0.0",
"@immowelt/styleguide-javascript": "^1.0.6",
"@inkdpixels/commit-analyzer": "^1.0.0",
"@inkdpixels/release-notes-generator": "^1.0.0",
"babel-cli": "^6.26.0",
"eslint": "^4.9.0",
"flow-bin": "^0.58.0",
Expand All @@ -63,11 +67,16 @@
"lint-staged": "^4.1.2",
"mock-fs": "^4.4.2",
"prettier": "^1.6.1",
"rimraf": "^2.6.1"
"rimraf": "^2.6.1",
"semantic-release": "^8.2.0"
},
"jest": {
"preset": "@immowelt/jest-preset-node"
},
"release": {
"analyzeCommits": "@inkdpixels/commit-analyzer",
"generateNotes": "@inkdpixels/release-notes-generator"
},
"repository": {
"type": "git",
"url": "https://github.com/ImmoweltGroup/find-config-up.git"
Expand Down

0 comments on commit efde729

Please sign in to comment.