fix ts compile server
This commit is contained in:
parent
dfea794acf
commit
5e552a439f
|
|
@ -6,6 +6,8 @@
|
|||
"scripts": {
|
||||
"dev": "nodemon --watch src -e js,ts,json --exec 'ts-node src/index.ts'",
|
||||
"build": "cd client && npm run build",
|
||||
"build:neu": "cd client && npm run build:neu",
|
||||
"build:server": "tsc && tsc-alias",
|
||||
"start": "ts-node src/index.ts",
|
||||
"db": "prisma studio",
|
||||
"db:build": "prisma generate",
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"target": "es2017",
|
||||
"target": "ES2017",
|
||||
"lib": [
|
||||
"esnext"
|
||||
],
|
||||
"moduleResolution": "node",
|
||||
"module": "CommonJS",
|
||||
"esModuleInterop": true,
|
||||
"strict": true,
|
||||
"strictNullChecks": true,
|
||||
"resolveJsonModule": true,
|
||||
"skipDefaultLibCheck": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
|
|
|
|||
Loading…
Reference in New Issue