Skip to content

Commit

Permalink
added release-it to the project.
Browse files Browse the repository at this point in the history
  • Loading branch information
lquixada committed Mar 9, 2018
1 parent d66c18a commit 95a1aef
Show file tree
Hide file tree
Showing 3 changed files with 1,864 additions and 47 deletions.
13 changes: 13 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"non-interactive": true,
"buildCommand": "npm run -s build",
"force": true,
"src": {
"push": true,
"tagName": "v%s",
"commitMessage": "%s",
"tagAnnotation": "",
"beforeStartCommand": "npm run -s test",
"afterReleaseCommand": "# npm run -s test:sauce"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@
"scripts": {
"precommit": "lint-staged",
"build": "rollup -c",
"bump:major": "npm version major",
"deploy": "git push --no-verify && git push --tags --no-verify && npm publish",
"lint": "eslint .",
"release:major": "npm login && run-s -s test build bump:major deploy test:sauce",
"release": "release-it",
"test": "run-p -s test:node test:headless lint",
"test:browser": "opn test/browser/index.html",
"test:ci": "npm test -s && npm run -s test:sauce",
Expand Down Expand Up @@ -48,6 +47,7 @@
"nock": "9.2.3",
"npm-run-all": "4.1.2",
"opn-cli": "3.1.0",
"release-it": "7.2.1",
"rollup": "0.56.5",
"rollup-plugin-copy": "0.2.3",
"rollup-plugin-uglify": "3.0.0",
Expand Down
Loading

0 comments on commit 95a1aef

Please sign in to comment.