mirror of
https://git.coom.tech/fuckjannies/lolipiss.git
synced 2024-06-29 22:12:37 +00:00
32 lines
1.9 KiB
JSON
32 lines
1.9 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"moduleResolution": "node",
|
|
//"target": "es2017",
|
|
/**
|
|
Svelte Preprocess cannot figure out whether you have a value or a type, so tell TypeScript
|
|
to enforce using `import type` instead of `import` for Types.
|
|
*/
|
|
"importsNotUsedAsValues": "error",
|
|
"isolatedModules": true,
|
|
/**
|
|
To have warnings/errors of the Svelte compiler at the correct position,
|
|
enable source maps by default.
|
|
*/
|
|
"sourceMap": true,
|
|
/** Requests the runtime types from the svelte modules by default. Needed for TS files or else you get errors. */
|
|
"types": ["svelte", "tampermonkey"],
|
|
"incremental": true, /* Enable incremental compilation */
|
|
"target": "es2020", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
|
|
//"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */
|
|
"outDir": "./dist", /* Redirect output structure to the directory. */
|
|
"strict": true, /* Enable all strict type-checking options. */
|
|
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
|
|
//"inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
|
|
"inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
|
|
"experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
|
|
"emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
|
|
"skipLibCheck": true, /* Skip type checking of declaration files. */
|
|
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
|
|
}
|
|
}
|