-
Notifications
You must be signed in to change notification settings - Fork 2
/
tsconfig.json
37 lines (37 loc) · 1.18 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"compilerOptions": {
// The output module type (in your .js files). Node uses commonjs, so that is what we use
"module": "commonjs",
// Allows usage of an alternate module import syntax: import foo from 'foo';
"esModuleInterop": true,
// The output language level. Node supports ES6, so we can target that here
"target": "es6",
// Enables a stricter setting which throws errors when something has a default any value
"noImplicitAny": true,
// TypeScript attempts to mimic Node's module resolution strategy.
"moduleResolution": "node",
// We want source maps to be output along side our JavaScript
"sourceMap": true,
// Location to output .js files after compilation
"outDir": "dist",
"baseUrl": ".",
"paths": {
"*": [
"node_modules/*",
"src/types/*"
]
},
"plugins": [
{
"name": "typescript-tslint-plugin",
"configFile": "./tslint.json"
}
]
},
"include": [
"src/**/*"
],
"exclude": [
"node_modules"
]
}