Skip to content

Commit

Permalink
Simplify build command
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark committed Apr 6, 2020
1 parent 0db8d72 commit ff29d32
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .release-it.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
},
hooks: {
'before:init': ['npm test'],
'after:bump': 'npm run build-dist && npm run banner',
'after:bump': 'npm run build',
'after:release':
'echo Successfully released ${name} v${version} to ${repo.repository}.',
},
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ addons:
chrome: stable # have Travis install Chrome stable.
script:
- npm test
- npm run build-dist
- npm run build
branches:
only:
- master
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"scripts": {
"test": "karma start karma.conf.js && npm run lint",
"test-server": "karma start karma.conf.js --single-run=false",
"build-dist": "rm -rf dist/* && rollup -c && npm run banner",
"build": "rm -rf dist/* && rollup -c && npm run banner",
"banner": "banner-cli dist/*.js",
"start": "rollup -c --watch",
"lint": "npm run lint:scripts && npm run lint:format",
Expand Down

0 comments on commit ff29d32

Please sign in to comment.