-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtsconfig.json
35 lines (35 loc) · 1.02 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
{
"compilerOptions": {
"outDir": "extension",
//// vue.js settings
// https://kr.vuejs.org/v2/guide/typescript.html
"target": "esnext",
"strict": true,
"module": "esnext",
"moduleResolution": "node",
"experimentalDecorators": true,
//// web-ext-types settings
"typeRoots": [
"./node_modules/@types/",
"./src/types",
"./node_modules/web-ext-types"
],
//// web settings
"lib": [
"es6",
"dom"
],
// https://github.com/masonz/parcel-vue-ts/blob/master/packages/template/tsconfig.json
"newLine": "LF",
"sourceMap": true,
"sourceRoot": "src",
"declaration": true,
"jsx": "preserve",
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"emitDecoratorMetadata": true,
"allowSyntheticDefaultImports": true,
}
}