diff --git a/package.json b/package.json index 9f634d0..47419a8 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev:client": "vite", - "dev:server": "nodemon ", + "dev:server": "nodemon --watch 'src/**/*.ts' --exec 'node --experimental-specifier-resolution=node --loader ts-node/esm' server/index.ts", "dev": "concurrently 'npm:dev:client' 'npm:dev:server'", "build": "run-p build:client build:server", "build:client": "run-p type-check build-only:client", diff --git a/tsconfig.json b/tsconfig.json index 66b5e57..4d75844 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,6 +6,17 @@ }, { "path": "./tsconfig.app.json" - } - ] + }, + ], + "compilerOptions": { + "experimentalDecorators": true, + "emitDecoratorMetadata": true, + "resolveJsonModule": true, + "isolatedModules": true, + "verbatimModuleSyntax": true, + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "strict": true, + } }