Run tests checks for worker

This commit is contained in:
Adria Navarro 2023-08-01 12:35:17 +02:00
parent 202963c864
commit 96c598688f
2 changed files with 3 additions and 5 deletions

View File

@ -14,7 +14,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",
"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",

View File

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