|
4 | 4 |
|
5 | 5 | /* Basic Options */ |
6 | 6 | // "incremental": true, /* Enable incremental compilation */ |
7 | | - "target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */ |
8 | | - "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */ |
9 | | - "moduleResolution": "node", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */ |
| 7 | + "target": "es6" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */, |
| 8 | + "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */, |
| 9 | + "moduleResolution": "node" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */, |
10 | 10 | // "lib": [], /* Specify library files to be included in the compilation. */ |
11 | 11 | // "allowJs": true, /* Allow javascript files to be compiled. */ |
12 | 12 | // "checkJs": true, /* Report errors in .js files. */ |
13 | 13 | // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ |
14 | | - "declaration": true, /* Generates corresponding '.d.ts' file. */ |
| 14 | + "declaration": true /* Generates corresponding '.d.ts' file. */, |
15 | 15 | // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ |
16 | 16 | // "sourceMap": true, /* Generates corresponding '.map' file. */ |
17 | 17 | // "outFile": "./", /* Concatenate and emit output to single file. */ |
18 | | - "outDir": "./dist", /* Redirect output structure to the directory. */ |
| 18 | + "outDir": "./dist" /* Redirect output structure to the directory. */, |
19 | 19 | // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ |
20 | 20 | // "composite": true, /* Enable project compilation */ |
21 | 21 | // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */ |
|
26 | 26 | // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ |
27 | 27 |
|
28 | 28 | /* Strict Type-Checking Options */ |
29 | | - "strict": true, /* Enable all strict type-checking options. */ |
30 | | - "noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */ |
| 29 | + "strict": true /* Enable all strict type-checking options. */, |
| 30 | + "noImplicitAny": false /* Raise error on expressions and declarations with an implied 'any' type. */, |
31 | 31 | // "strictNullChecks": true, /* Enable strict null checks. */ |
32 | 32 | // "strictFunctionTypes": true, /* Enable strict checking of function types. */ |
33 | 33 | // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */ |
|
46 | 46 | // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ |
47 | 47 | // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ |
48 | 48 | // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ |
49 | | - // "rootDirs": [], |
| 49 | + // "rootDirs": [], |
50 | 50 | "types": [ |
51 | 51 | "serverless", |
52 | 52 | "lodash", |
53 | 53 | "moment", |
54 | 54 | "jest", |
55 | 55 | "node" |
56 | | - ], /* List of root folders whose combined content represents the structure of the project at runtime. */ |
57 | | - "typeRoots": ["./node_modules/@types"], /* List of folders to include type definitions from. */ |
| 56 | + ] /* List of root folders whose combined content represents the structure of the project at runtime. */, |
| 57 | + "typeRoots": ["./node_modules/@types"] /* List of folders to include type definitions from. */, |
58 | 58 | // "types": [], /* Type declaration files to be included in compilation. */ |
59 | 59 | // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ |
60 | | - "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ |
| 60 | + "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */, |
61 | 61 | // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ |
62 | 62 | // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ |
63 | 63 |
|
|
72 | 72 | // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ |
73 | 73 |
|
74 | 74 | /* Advanced Options */ |
75 | | - "skipLibCheck": true, /* Skip type checking of declaration files. */ |
76 | | - "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ |
| 75 | + "skipLibCheck": true /* Skip type checking of declaration files. */, |
| 76 | + "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ |
77 | 77 | }, |
78 | 78 | "include": ["src"], |
79 | | - "exclude": ["node_modules", "**/__tests__/*"] |
| 79 | + "exclude": ["node_modules"] |
80 | 80 | } |
0 commit comments