Optimise check types
This commit is contained in:
parent
5fd32618be
commit
dd58d6ed76
|
@ -14,7 +14,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prebuild": "rimraf dist/",
|
"prebuild": "rimraf dist/",
|
||||||
"build": "cd ../.. && nx build @budibase/worker",
|
"build": "cd ../.. && nx build @budibase/worker",
|
||||||
"check:types": "tsc -p tsconfig.build.json --noEmit",
|
"check:types": "yarn build --configuration=production",
|
||||||
"build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
|
"build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
|
||||||
"run:docker": "node dist/index.js",
|
"run:docker": "node dist/index.js",
|
||||||
"debug": "yarn build && node --expose-gc --inspect=9223 dist/index.js",
|
"debug": "yarn build && node --expose-gc --inspect=9223 dist/index.js",
|
||||||
|
|
|
@ -25,7 +25,13 @@
|
||||||
"sourcemap": true
|
"sourcemap": true
|
||||||
},
|
},
|
||||||
"minify": true,
|
"minify": true,
|
||||||
"generatePackageJson": true
|
"generatePackageJson": true,
|
||||||
|
"skipTypeCheck": true
|
||||||
|
},
|
||||||
|
"configurations": {
|
||||||
|
"production": {
|
||||||
|
"skipTypeCheck": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue