Skip to content

Commit

Permalink
Add npm run build to .travis.yml explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Jan 22, 2019
1 parent 0db041f commit c94eb1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ before_install:

script:
- npm run lint
- npm run build
- npm rm tslint
- npm install $TYPESCRIPT --force
- npm run test-cov
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
],
"scripts": {
"lint": "tslint \"src/**/*.ts\" --project tsconfig.json",
"clean": "rimraf dist",
"tsc": "tsc",
"build": "npm run clean && npm run tsc",
"build": "rimraf dist && tsc",
"test-spec": "mocha dist/**/*.spec.js -R spec --bail",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- \"dist/**/*.spec.js\" -R spec --bail",
"test": "npm run build && npm run lint && npm run test-cov",
Expand Down

0 comments on commit c94eb1d

Please sign in to comment.