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