Chart.js/tsconfig.json
2022-11-17 08:08:44 -05:00

51 lines
1.2 KiB
JSON

{
"compilerOptions": {
/* Type Checking */
"alwaysStrict": true,
"strictBindCallApply": true,
"strictFunctionTypes": true,
/* todo: uncomment after transition to TS */
// "noFallthroughCasesInSwitch": true,
// "noImplicitOverride": true,
// "noImplicitReturns": true,
// "noUnusedLocals": true,
// "noUnusedParameters": true,
/* Modules */
"baseUrl": ".",
"module": "ESNext",
"moduleResolution": "NodeNext",
"resolveJsonModule": true,
"rootDir": "src",
"types": ["offscreencanvas"],
/* Emit */
"declaration": true,
"importsNotUsedAsValues": "error",
"inlineSourceMap": true,
"outDir": "dist",
/* JavaScript Support */
"allowJs": true,
"checkJs": true,
/* Interop Constraints */
"allowSyntheticDefaultImports": true,
/* Language and Environment */
"target": "ES6",
"lib": ["es2018", "DOM"]
},
"typedocOptions": {
"name": "Chart.js",
"entryPoints": ["types/index.d.ts"],
"readme": "none",
"excludeExternals": true,
"includeVersion": true,
"out": "./dist/docs/typedoc"
},
"include": [
"./src/**/*",
"./types"
],
"exclude": [
"./types/tests",
"./dist/**"
]
}