Skip to content
This repository has been archived by the owner on May 30, 2020. It is now read-only.

Commit

Permalink
Fix test coverage script
Browse files Browse the repository at this point in the history
  • Loading branch information
sundowndev committed Dec 14, 2018
1 parent 8102aed commit 29e7676
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@ node_js:
before_script:
- npm install
- npm run build
script: npm run test

after_success: coveralls
script: nyc npm test && nyc report --reporter=text-lcov | coveralls
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"build:ts": "rimraf lib dist && tsc",
"build:webpack": "rimraf dist && webpack && webpack --config webpack.config.min.js",
"build": "npm run build:ts && npm run build:webpack",
"test": "npm run lint && npm run test:coverage",
"test": "npm run lint && npm run test:unit",
"test:unit": "mocha --compilers ts:ts-node/register \"test/**/*.spec.ts\" --exit",
"test:coverage": "nyc npm run test:unit",
"test:coverage": "nyc npm test",
"lint": "tslint -c tslint.json --project tsconfig.json \"src/**/*.ts\"",
"release": "git push --follow-tags && npm publish"
},
Expand Down

0 comments on commit 29e7676

Please sign in to comment.