UNPKG

6.25 kBJSONView Raw
1{
2 "compilerOptions": {
3 "target": "esnext",
4 "module": "esnext",
5 "declaration": false,
6 "strict": true,
7 "jsx": "preserve",
8 "importHelpers": true,
9 "moduleResolution": "node",
10 "experimentalDecorators": true,
11 "allowSyntheticDefaultImports": true,
12 "esModuleInterop": true,
13 "emitDecoratorMetadata": true,
14 "strictNullChecks": false,
15 "sourceMap": true,
16 "baseUrl": ".",
17 "types": [
18 "node",
19 "jest"
20 ],
21 "paths": {
22 "@/*": [
23 "src/*"
24 ]
25 },
26 "lib": [
27 "es2015",
28 "dom",
29 "dom.iterable",
30 "scripthost"
31 ]
32 },
33 "include": [
34 "src/**/*.ts",
35 "src/**/*.tsx",
36 "src/**/*.vue",
37 "tests/**/*.ts",
38 "tests/**/*.tsx"
39 ],
40 "exclude": [
41 "node_modules",
42 "src/stories/**"
43 ]
44}
45
46
47//{
48// "compilerOptions": {
49// /* Basic Options */
50// "target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
51// "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
52// // "lib": [], /* Specify library files to be included in the compilation. */
53// // "allowJs": true, /* Allow javascript files to be compiled. */
54// // "checkJs": true, /* Report errors in .js files. */
55// // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
56// // "declaration": true, /* Generates corresponding '.d.ts' file. */
57// // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
58// // "sourceMap": true, /* Generates corresponding '.map' file. */
59// // "outFile": "./", /* Concatenate and emit output to single file. */
60// // "outDir": "./", /* Redirect output structure to the directory. */
61// // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
62// // "composite": true, /* Enable project compilation */
63// // "removeComments": true, /* Do not emit comments to output. */
64// // "noEmit": true, /* Do not emit outputs. */
65// // "importHelpers": true, /* Import emit helpers from 'tslib'. */
66// // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
67// // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
68//
69// /* Strict Type-Checking Options */
70// "strict": true, /* Enable all strict type-checking options. */
71// // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
72// // "strictNullChecks": true, /* Enable strict null checks. */
73// // "strictFunctionTypes": true, /* Enable strict checking of function types. */
74// // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
75// // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
76// // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
77//
78// /* Additional Checks */
79// // "noUnusedLocals": true, /* Report errors on unused locals. */
80// // "noUnusedParameters": true, /* Report errors on unused parameters. */
81// // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
82// // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
83//
84// /* Module Resolution Options */
85// // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
86// // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
87// // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
88// // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
89// // "typeRoots": [], /* List of folders to include type definitions from. */
90// // "types": [], /* Type declaration files to be included in compilation. */
91// // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
92// "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
93// // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
94//
95// /* Source Map Options */
96// // "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
97// // "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */
98// // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
99// // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
100//
101// /* Experimental Options */
102// // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
103// // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
104// }
105//}
106