diff --git a/packages/server/package.json b/packages/server/package.json index 287ab896eb..d53415601d 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -11,7 +11,7 @@ "scripts": { "prebuild": "rimraf dist/", "build": "node ./scripts/build.js", - "tsbuild": "tsc -p tsconfig.build.json && mv dist/src/* dist/ && rimraf dist/src/", + "check:types": "tsc -p tsconfig.build.json --noEmit", "build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput", "debug": "yarn build && node --expose-gc --inspect=9222 dist/index.js", "test": "bash scripts/test.sh", diff --git a/packages/worker/package.json b/packages/worker/package.json index d4b43ae128..1497fc77d0 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -14,7 +14,7 @@ "scripts": { "prebuild": "rimraf dist/", "build": "node ../../scripts/build.js", - "tsbuild": "tsc -p tsconfig.build.json", + "check:types": "tsc -p tsconfig.build.json --noEmit", "postbuild": "copyfiles -u 1 src/**/*.hbs dist/", "build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput", "run:docker": "node dist/index.js",