add full code compilation as part of test process

This commit is contained in:
Kononnable 2019-08-09 23:19:43 +02:00
parent 6ab81afe28
commit acfb717d89

View File

@ -4,8 +4,8 @@
"description": "Generates models for TypeORM from existing databases.",
"bin": "bin/typeorm-model-generator",
"scripts": {
"setup": "npm install",
"start": "ts-node ./src/index.ts",
"pretest": "tsc --noEmit",
"test": "nyc --reporter=lcov ts-node ./node_modules/mocha/bin/_mocha test/**/*.test.ts -- -R spec --bail",
"clean": "rimraf coverage output",
"prettier": "prettier --write ./src/*.ts ./src/**/*.ts"