-
Notifications
You must be signed in to change notification settings - Fork 1
/
common.json
37 lines (30 loc) · 1003 Bytes
/
common.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": {
// https://kangax.github.io/compat-table/es6/
"target": "ES2015",
// https://caniuse.com/#feat=es6-module
// https://nodejs.org/api/esm.html
"module": "CommonJS",
// Under the estimation that most projects are dependencies, rather than end-products.
"declaration": true,
// This is quite the standard, isn’t it?
// resolved relative to this file
"outDir": "../../lib",
"rootDir": "../../src",
// https://blog.mariusschulz.com/2016/12/16/typescript-2-1-external-helpers-library
"importHelpers": true,
// Because we are strict, like that
"strict": true,
// Boy, are we strict...
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
// Under the impression that source maps in separate files don’t work when debugging Node.js.
"inlineSourceMap": true,
"inlineSources": true
},
"include": [
"../../src"
]
}