tsconfig-voss 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +28 -0
- package/tsconfig.back-end.dev.json +15 -0
- package/tsconfig.back-end.prod.json +17 -0
- package/tsconfig.base.json +12 -0
- package/tsconfig.common.json +15 -0
- package/tsconfig.front-end.base.json +15 -0
- package/tsconfig.front-end.dev.json +8 -0
- package/tsconfig.front-end.prod.json +8 -0
package/package.json
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
{
|
2
|
+
"name": "tsconfig-voss",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"description": "Shared TypeScript configs",
|
5
|
+
"exports": {
|
6
|
+
"./base": "./tsconfig.base.json",
|
7
|
+
"./common": "./tsconfig.common.json",
|
8
|
+
"./back-end-dev": "./tsconfig.back-end.dev.json",
|
9
|
+
"./back-end-prod": "./tsconfig.back-end.prod.json",
|
10
|
+
"./front-end-base": "./tsconfig.front-end.base.json",
|
11
|
+
"./front-end-dev": "./tsconfig.front-end.dev.json",
|
12
|
+
"./front-end-prod": "./tsconfig.front-end.prod.json"
|
13
|
+
},
|
14
|
+
"files": [
|
15
|
+
"tsconfig.base.json",
|
16
|
+
"tsconfig.common.json",
|
17
|
+
"tsconfig.back-end.dev.json",
|
18
|
+
"tsconfig.back-end.prod.json",
|
19
|
+
"tsconfig.front-end.base.json",
|
20
|
+
"tsconfig.front-end.dev.json",
|
21
|
+
"tsconfig.front-end.prod.json"
|
22
|
+
],
|
23
|
+
"license": "MIT",
|
24
|
+
"private": false,
|
25
|
+
"publishConfig": {
|
26
|
+
"access": "public"
|
27
|
+
}
|
28
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"extends": "./tsconfig.base.json",
|
3
|
+
"compilerOptions": {
|
4
|
+
"target": "ES2022",
|
5
|
+
"module": "ESNext",
|
6
|
+
"moduleResolution": "Bundler",
|
7
|
+
"allowImportingTsExtensions": true,
|
8
|
+
"esModuleInterop": true,
|
9
|
+
"allowSyntheticDefaultImports": true,
|
10
|
+
"skipLibCheck": true,
|
11
|
+
"isolatedModules": true,
|
12
|
+
"noEmit": true
|
13
|
+
},
|
14
|
+
"include": ["src", "scripts"]
|
15
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
{
|
2
|
+
"extends": "./tsconfig.base.json",
|
3
|
+
"compilerOptions": {
|
4
|
+
"target": "ES2020",
|
5
|
+
"module": "ESNext",
|
6
|
+
"moduleResolution": "Node",
|
7
|
+
"outDir": "./dist",
|
8
|
+
"rootDir": "./src",
|
9
|
+
"esModuleInterop": true,
|
10
|
+
"allowSyntheticDefaultImports": true,
|
11
|
+
"declaration": true,
|
12
|
+
"declarationMap": true,
|
13
|
+
"sourceMap": true,
|
14
|
+
"allowImportingTsExtensions": false
|
15
|
+
},
|
16
|
+
"include": ["src"]
|
17
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
{
|
2
|
+
"compilerOptions": {
|
3
|
+
"strict": true,
|
4
|
+
"noImplicitReturns": true,
|
5
|
+
"noFallthroughCasesInSwitch": true,
|
6
|
+
"noUncheckedIndexedAccess": true,
|
7
|
+
"exactOptionalPropertyTypes": true,
|
8
|
+
"forceConsistentCasingInFileNames": true,
|
9
|
+
"skipLibCheck": true,
|
10
|
+
"useUnknownInCatchVariables": true
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"extends": "./tsconfig.base.json",
|
3
|
+
"compilerOptions": {
|
4
|
+
"target": "ES2020",
|
5
|
+
"module": "ESNext",
|
6
|
+
"moduleResolution": "Node",
|
7
|
+
"noEmit": true,
|
8
|
+
"esModuleInterop": true,
|
9
|
+
"allowSyntheticDefaultImports": true,
|
10
|
+
"resolveJsonModule": true,
|
11
|
+
"isolatedModules": true,
|
12
|
+
"types": []
|
13
|
+
},
|
14
|
+
"include": ["src"]
|
15
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"extends": "./tsconfig.base.json",
|
3
|
+
"compilerOptions": {
|
4
|
+
"target": "ES2020",
|
5
|
+
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
6
|
+
"module": "ESNext",
|
7
|
+
"moduleResolution": "Node",
|
8
|
+
"jsx": "react-jsx",
|
9
|
+
"esModuleInterop": true,
|
10
|
+
"allowSyntheticDefaultImports": true,
|
11
|
+
"skipLibCheck": true,
|
12
|
+
"isolatedModules": true,
|
13
|
+
"types": ["vite/client"]
|
14
|
+
}
|
15
|
+
}
|