From acfb717d896504cc11c65325e4871e9b78270fd3 Mon Sep 17 00:00:00 2001 From: Kononnable Date: Fri, 9 Aug 2019 23:19:43 +0200 Subject: [PATCH] add full code compilation as part of test process --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7bb2f9c..32bdfea 100644 --- a/package.json +++ b/package.json @@ -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"