tldraw/packages/core/tsconfig.json

43 lines
1.5 KiB
JSON
Raw Normal View History

2021-08-10 16:12:55 +00:00
{
"include": ["src"],
"exclude": ["node_modules", "**/*.test.ts", "dist"],
"compilerOptions": {
2021-08-13 09:28:09 +00:00
"allowSyntheticDefaultImports": true,
"declaration": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"importsNotUsedAsValues": "error",
"incremental": true,
"importHelpers": true,
"moduleResolution": "node",
"noEmit": false,
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
"noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */,
"noImplicitReturns": true /* Report error when not all code paths in function return a value. */,
"noUnusedLocals": false /* Report errors on unused locals. */,
"noUnusedParameters": false /* Report errors on unused parameters. */,
"skipLibCheck": true,
"sourceMap": true,
"strict": false,
"strictFunctionTypes": true /* Enable strict checking of function types. */,
"strictNullChecks": true /* Enable strict null checks. */,
"target": "es5",
"typeRoots": ["node_modules/@types", "node_modules/jest"],
"types": ["node", "jest"],
//
"rootDir": "src",
2021-08-10 16:12:55 +00:00
"jsx": "preserve",
"lib": ["dom", "esnext"],
"module": "esnext",
2021-08-13 09:28:09 +00:00
"outDir": "./dist/types",
"baseUrl": "src",
"paths": {
"~utils": ["./utils/index.ts"],
"~types": ["./types.ts"],
"~inputs": ["./inputs.ts"],
"~hooks": ["./hooks/index.ts"]
}
2021-08-10 16:12:55 +00:00
}
}