mirror of
https://github.com/aleleba/create-node-ts-graphql-server.git
synced 2026-06-04 07:34:26 -06:00
Added ignoreDeprecations and types jest/node to fix TS6 breaking changes. Regenerated package-lock.json with --include=optional.
34 lines
1.1 KiB
JSON
34 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"esModuleInterop": true,
|
|
"target": "es2021",
|
|
"moduleResolution": "node10",
|
|
"ignoreDeprecations": "5.0",
|
|
"sourceMap": true,
|
|
"typeRoots" : ["./src/@types", "./node_modules/@types"],
|
|
"types": ["jest", "node"],
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@src/*": ["src/*"],
|
|
"@src": ["src"],
|
|
"@routes*": ["src/routes/*"],
|
|
"@routes": ["src/routes"],
|
|
"@controllers/*": ["src/controllers/*"],
|
|
"@controllers": ["src/controllers"],
|
|
"@models/*": ["src/models/*"],
|
|
"@models": ["src/models"],
|
|
"@controllerGraphQL/*": ["src/controllers/controllerGraphQL/*"],
|
|
"@controllerGraphQL": ["src/controllers/controllerGraphQL"],
|
|
"@GraphQL/*": ["src/GraphQL/*"],
|
|
"@GraphQL": ["src/GraphQL"],
|
|
"@config/*": ["config/*"],
|
|
"@config": ["config"]
|
|
}
|
|
},
|
|
"lib": ["es2018", "esnext.asynciterable"]
|
|
} |