mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-22 03:47:27 +01:00
32 lines
647 B
JSON
32 lines
647 B
JSON
{
|
|
"include": [],
|
|
|
|
"compilerOptions": {
|
|
"rootDir": "src",
|
|
|
|
// target node v8+ (https://node.green/)
|
|
// the only missing feature is Array.prototype.values
|
|
"lib": ["es2017"],
|
|
"target": "es2017",
|
|
|
|
"declaration": true,
|
|
"declarationDir": "types",
|
|
|
|
"noEmitOnError": true,
|
|
"noErrorTruncation": true,
|
|
|
|
// rollup takes care of these
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
|
|
// TODO: error all the things
|
|
//"strict": true,
|
|
"noImplicitThis": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"typeRoots": ["./node_modules/@types"]
|
|
}
|
|
}
|