Skip to content

Commit

Permalink
Updated coverage scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-exini committed Dec 28, 2019
1 parent b8b65ef commit f705629
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ sudo: false
node_js:
- 13
script:
- npm run-script test-coverage
after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
- npm run test
after_success: npm run coverage
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"scripts": {
"clean": "shx rm -rf build dist coverage",
"lint": "./node_modules/tslint/bin/tslint -c tslint.json **/*.ts",
"test": "mocha",
"test-coverage": "nyc mocha",
"test": "nyc mocha",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"build-lib": "./node_modules/typescript/bin/tsc",
"build-dev": "webpack --config config/webpack.config-dev.js",
"build-prod": "webpack --config config/webpack.config-prod.js",
Expand Down Expand Up @@ -54,22 +54,23 @@
"uuid": "^3.3.2"
},
"devDependencies": {
"typescript": "^3.5.2",
"ts-node": "8.5.4",
"tslint": "^5.18.0",
"@types/mocha": "^5.2.0",
"@types/node": "^13.1.1",
"@types/uuid": "^3.3.2",
"@types/mocha": "^5.2.0",
"shx": "^0.3.2",
"mocha": "^6.1.4",
"awesome-typescript-loader": "^5.2.1",
"coveralls": "^3.0.3",
"istanbul": "^0.4.5",
"mocha": "^6.1.4",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^15.0.0",
"shx": "^0.3.2",
"source-map-support": "^0.5.12",
"coveralls": "^3.0.3",
"ts-node": "8.5.4",
"tslint": "^5.18.0",
"typescript": "^3.5.2",
"webpack": "^4.30.0",
"webpack-cli": "^3.3.0",
"webpack-node-externals": "^1.7.2",
"webpack-merge": "^4.2.1",
"awesome-typescript-loader": "^5.2.1"
"webpack-node-externals": "^1.7.2"
}
}

0 comments on commit f705629

Please sign in to comment.