Skip to content

Commit

Permalink
fix(build): adjust coverage scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
tomastrajan committed Oct 27, 2018
1 parent bd036fc commit d82a2ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ install:
- npm install codecov -g
- npm ci
script:
- npm run ci
- npm test
after_success:
- codecov
- npm run coverage
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@
"scripts": {
"clean": "rm -rf dist coverage .nyc_output .ng_pkg_build && rm -f dist.tgz",
"lint": "tslint {lib,schematics}/**/*.ts -e **/files/**",
"test": "npm run lint && npm run format:test && npm run lib:test && npm run schm:test",
"test": "npm run lint && npm run format:test && nyc mocha {lib,schematics}/**/*.test.ts --require ts-node/register --require source-map-support/register",
"build": "npm run clean && npm run lib:build && npm run schm:build",
"coverage": "nyc mocha {lib,schematics}/**/*.test.ts --require ts-node/register --require source-map-support/register",
"ci": "npm run lint && npm run format:test && npm run coverage",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"release": "npm run test && standard-version && git push --follow-tags origin master && npm run build && npm publish ./dist --access public",
"format": "prettier **/*.{ts,json,md} --write",
"format:test": "prettier **/*.{ts,json,md} --list-different",
Expand Down

0 comments on commit d82a2ea

Please sign in to comment.