Run tests checks for server

This commit is contained in:
Adria Navarro 2023-08-01 12:36:32 +02:00
parent 96c598688f
commit b3a110e609
2 changed files with 3 additions and 6 deletions

View File

@ -11,7 +11,7 @@
"scripts": {
"prebuild": "rimraf dist/",
"build": "node ./scripts/build.js",
"check:types": "tsc -p tsconfig.build.json --noEmit",
"check:types": "tsc -p tsconfig.json --noEmit --paths null",
"postbuild": "copyfiles -f ../client/dist/budibase-client.js ../client/manifest.json client",
"build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
"debug": "yarn build && node --expose-gc --inspect=9222 dist/index.js",

View File

@ -2,15 +2,12 @@
"extends": "./tsconfig.build.json",
"compilerOptions": {
"composite": true,
"declaration": true,
"sourceMap": true,
"baseUrl": ".",
"outDir": "dist"
"baseUrl": "."
},
"ts-node": {
"require": ["tsconfig-paths/register"],
"swc": true
},
"include": ["src/**/*", "specs"],
"include": ["src/**/*", "specs", "__mocks__"],
"exclude": ["node_modules", "dist"]
}