Skip to content

Commit

Permalink
fix(release): release:dry-run script use npm run for DRY (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Dec 21, 2017
1 parent d00784b commit a9546b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"commitmsg": "commitlint -e $GIT_PARAMS",
"precommit": "lint-staged",
"release": "standard-version",
"release:dry-run": "standard-version --dry-run"
"release:dry-run": "npm run release -- --dry-run"
},
"lint-staged": {
"*.{js,jsx,mjs}": [
Expand Down
2 changes: 1 addition & 1 deletion test/init.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ suite('init', () => {
lint: 'npm-run-all --print-name --print-label --parallel lint:*',
precommit: 'lint-staged',
release: 'standard-version',
'release:dry-run': 'standard-version --dry-run',
'release:dry-run': 'npm run release -- --dry-run',
test: 'abc',
'test:watch': 'abc --watch',
'test:coverage': 'echo "unsupported." && exit 1',
Expand Down

0 comments on commit a9546b9

Please sign in to comment.