1
0
Fork 0
mirror of synced 2024-10-05 12:34:50 +13:00

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": { "scripts": {
"prebuild": "rimraf dist/", "prebuild": "rimraf dist/",
"build": "node ./scripts/build.js", "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", "postbuild": "copyfiles -f ../client/dist/budibase-client.js ../client/manifest.json client",
"build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput", "build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
"debug": "yarn build && node --expose-gc --inspect=9222 dist/index.js", "debug": "yarn build && node --expose-gc --inspect=9222 dist/index.js",

View file

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