diff options
-rw-r--r-- | package-lock.json | 6 | ||||
-rw-r--r-- | package.json | 1 | ||||
-rw-r--r-- | tsconfig.settings.json | 19 |
3 files changed, 21 insertions, 5 deletions
diff --git a/package-lock.json b/package-lock.json index 11c0d0577..0e4572996 100644 --- a/package-lock.json +++ b/package-lock.json | |||
@@ -6421,6 +6421,12 @@ | |||
6421 | "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", | 6421 | "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", |
6422 | "dev": true | 6422 | "dev": true |
6423 | }, | 6423 | }, |
6424 | "@tsconfig/node14": { | ||
6425 | "version": "1.0.1", | ||
6426 | "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.1.tgz", | ||
6427 | "integrity": "sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==", | ||
6428 | "dev": true | ||
6429 | }, | ||
6424 | "@types/babel__core": { | 6430 | "@types/babel__core": { |
6425 | "version": "7.1.15", | 6431 | "version": "7.1.15", |
6426 | "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.15.tgz", | 6432 | "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.15.tgz", |
diff --git a/package.json b/package.json index ea2d6edc6..164f5601c 100644 --- a/package.json +++ b/package.json | |||
@@ -154,6 +154,7 @@ | |||
154 | "@babel/register": "7.14.5", | 154 | "@babel/register": "7.14.5", |
155 | "@commitlint/cli": "13.1.0", | 155 | "@commitlint/cli": "13.1.0", |
156 | "@commitlint/config-conventional": "13.1.0", | 156 | "@commitlint/config-conventional": "13.1.0", |
157 | "@tsconfig/node14": "1.0.1", | ||
157 | "@types/color": "3.0.2", | 158 | "@types/color": "3.0.2", |
158 | "@types/fs-extra": "9.0.12", | 159 | "@types/fs-extra": "9.0.12", |
159 | "@types/lodash": "4.14.172", | 160 | "@types/lodash": "4.14.172", |
diff --git a/tsconfig.settings.json b/tsconfig.settings.json index eb2207533..fdf47e653 100644 --- a/tsconfig.settings.json +++ b/tsconfig.settings.json | |||
@@ -1,20 +1,29 @@ | |||
1 | { | 1 | { |
2 | "extends": "@tsconfig/node14/tsconfig.json", | ||
2 | "compilerOptions": { | 3 | "compilerOptions": { |
3 | "baseUrl": ".", | 4 | "baseUrl": ".", |
4 | "target": "esnext", | 5 | "target": "esnext", |
5 | "module": "commonjs", | ||
6 | "lib": ["es2015", "es2017", "dom"], | 6 | "lib": ["es2015", "es2017", "dom"], |
7 | "jsx": "react", | 7 | "jsx": "react", |
8 | "typeRoots": ["node_modules/@types"], | ||
8 | "sourceMap": true, | 9 | "sourceMap": true, |
9 | "strict": true, | 10 | "noImplicitAny": false, // TODO: Need to switch |
10 | "noImplicitAny": false, | ||
11 | "allowSyntheticDefaultImports": true, | 11 | "allowSyntheticDefaultImports": true, |
12 | "experimentalDecorators": true, | 12 | "experimentalDecorators": true, |
13 | "composite": true, | 13 | "composite": true, |
14 | "esModuleInterop": true, | 14 | "esModuleInterop": true, |
15 | "forceConsistentCasingInFileNames": true, | ||
16 | "importHelpers": true, | 15 | "importHelpers": true, |
17 | "removeComments": true, | 16 | "removeComments": true, |
18 | "typeRoots": ["node_modules/@types"] | 17 | "allowUnreachableCode": false, |
18 | "allowUnusedLabels": false, | ||
19 | "noUnusedLocals": true, | ||
20 | "noUnusedParameters": true, // TODO: Need to switch | ||
21 | "noImplicitReturns": true, | ||
22 | "noImplicitThis": true, | ||
23 | "preserveConstEnums": true, | ||
24 | // "exclude": [ | ||
25 | // "node_modules", | ||
26 | // "**/*.spec.ts" | ||
27 | // ] | ||
19 | } | 28 | } |
20 | } | 29 | } |