codecov added

This commit is contained in:
Kononnable 2017-05-03 22:05:49 +02:00
parent fc2bdcea53
commit fd7f89019a
3 changed files with 8 additions and 2 deletions

4
.gitignore vendored
View File

@ -5,4 +5,6 @@ ormconfig.json
typings/
**/*.js
**/*.js.map
output/**/*.*
output/**/*.*
.nyc_output/
coverage/

View File

@ -1,6 +1,7 @@
# typeorm-model-generator
[![Build Status](https://travis-ci.org/Kononnable/typeorm-model-generator.svg?branch=master)](https://travis-ci.org/Kononnable/typeorm-model-generator)
[![npm version](https://badge.fury.io/js/typeorm-model-generator.svg)](https://badge.fury.io/js/typeorm-model-generator)
[![codecov](https://codecov.io/gh/Kononnable/typeorm-model-generator/branch/master/graph/badge.svg)](https://codecov.io/gh/Kononnable/typeorm-model-generator)
Generates models for TypeORM from existing databases.

View File

@ -8,7 +8,8 @@
"typings-install": "typings install",
"setup": "npm install && npm run typings-install",
"start": "tsc && node ./src/index.js",
"test": "mocha test/**/*.js"
"test": "istanbul cover ./node_modules/mocha/bin/_mocha test/**/*.js -- -R spec",
"posttest": "codecov --file=coverage/lcov.info"
},
"repository": {
"type": "git",
@ -36,6 +37,8 @@
"@types/sinon": "^2.1.3",
"chai": "^3.5.0",
"chai-as-promised": "^6.0.0",
"codecov": "^2.1.0",
"istanbul": "^0.4.5",
"mocha": "^3.3.0",
"sinon": "^2.2.0",
"sinon-chai": "^2.10.0",