File tree Expand file tree Collapse file tree 3 files changed +34
-29
lines changed Expand file tree Collapse file tree 3 files changed +34
-29
lines changed Original file line number Diff line number Diff line change 8
8
},
9
9
"scripts" : {
10
10
"build" : " npm run lint && npm run compile" ,
11
- "compile" : " tsc" ,
11
+ "compile" : " tsc -p tsconfig.build.json " ,
12
12
"lint" : " eslint --ext .ts,.tsx src/"
13
13
},
14
14
"repository" : {
Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : " @codingame/tsconfig" ,
3
+ "compilerOptions" : {
4
+ "strict" : true ,
5
+ "outDir" : " dist/" ,
6
+ "rootDir" : " src/" ,
7
+ "declaration" : true ,
8
+ "allowSyntheticDefaultImports" : true ,
9
+ "baseUrl" : " ./src" ,
10
+ "jsx" : " react" ,
11
+ "lib" : [
12
+ " dom" ,
13
+ " dom.iterable" ,
14
+ " esnext"
15
+ ],
16
+ "module" : " esnext" ,
17
+ "paths" : {
18
+ "app/*" : [
19
+ " *"
20
+ ]
21
+ },
22
+ "resolveJsonModule" : true ,
23
+ "sourceMap" : true ,
24
+ "target" : " ES2022"
25
+ },
26
+ "include" : [" src" ],
27
+ "exclude" : [
28
+ " dist" ,
29
+ " node_modules"
30
+ ]
31
+ }
Original file line number Diff line number Diff line change 1
1
{
2
- "extends" : " @codingame/tsconfig" ,
3
- "compilerOptions" : {
4
- "strict" : true ,
5
- "outDir" : " dist/" ,
6
- "declaration" : true ,
7
- "allowSyntheticDefaultImports" : true ,
8
- "baseUrl" : " ./src" ,
9
- "jsx" : " react" ,
10
- "lib" : [
11
- " dom" ,
12
- " dom.iterable" ,
13
- " esnext"
14
- ],
15
- "module" : " esnext" ,
16
- "paths" : {
17
- "app/*" : [
18
- " *"
19
- ]
20
- },
21
- "resolveJsonModule" : true ,
22
- "sourceMap" : true ,
23
- "target" : " ES2022"
24
- },
25
- "include" : [" src" , " .eslintrc.cjs" ],
26
- "exclude" : [
27
- " dist" ,
28
- " node_modules"
29
- ]
2
+ "extends" : " ./tsconfig.build.json" ,
3
+ "include" : [" src" , " .eslintrc.cjs" ]
30
4
}
You can’t perform that action at this time.
0 commit comments