mirror of
https://github.com/chartjs/Chart.js
synced 2025-04-29 16:37:21 +08:00
49 lines
1.2 KiB
JSON
49 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": ["src/types/index.d.ts"],
|
|
"readme": "none",
|
|
"excludeExternals": true,
|
|
"includeVersion": true,
|
|
"out": "./dist/docs/typedoc"
|
|
},
|
|
"include": [
|
|
"./src/**/*"
|
|
],
|
|
"exclude": [
|
|
"./dist/**"
|
|
]
|
|
}
|