File tree Expand file tree Collapse file tree 6 files changed +25
-20
lines changed Expand file tree Collapse file tree 6 files changed +25
-20
lines changed Original file line number Diff line number Diff line change 5
5
"bin" : " ./dist/index.js" ,
6
6
"type" : " module" ,
7
7
"scripts" : {
8
- "build" : " tsc src/index.ts --outDir dist " ,
8
+ "build" : " tsc" ,
9
9
"start" : " node dist/index.js"
10
10
},
11
11
"repository" : {
Original file line number Diff line number Diff line change 1
1
{
2
- "extends" : " ../../tsconfig.json" ,
3
2
"compilerOptions" : {
3
+ "target" : " ES2020" ,
4
+ "module" : " ES2020" ,
4
5
"outDir" : " ./dist" ,
5
- "rootDir" : " ./src"
6
+ "rootDir" : " ./src" ,
7
+ "strict" : true ,
8
+ "esModuleInterop" : true ,
9
+ "skipLibCheck" : true ,
10
+ "forceConsistentCasingInFileNames" : true ,
11
+ "moduleResolution" : " node"
6
12
},
7
13
"include" : [" ./src/**/*.ts" ],
8
14
"exclude" : [" node_modules" , " dist" ]
Original file line number Diff line number Diff line change 5
5
"bin" : " ./dist/index.js" ,
6
6
"type" : " module" ,
7
7
"scripts" : {
8
- "build" : " tsc src/index.ts --outDir dist " ,
8
+ "build" : " tsc" ,
9
9
"start" : " node dist/index.js"
10
10
},
11
11
"repository" : {
Original file line number Diff line number Diff line change 1
1
{
2
- "extends" : " ../../tsconfig.json" ,
3
2
"compilerOptions" : {
3
+ "target" : " ES2020" ,
4
+ "module" : " ES2020" ,
4
5
"outDir" : " ./dist" ,
5
- "rootDir" : " ./src"
6
+ "rootDir" : " ./src" ,
7
+ "strict" : true ,
8
+ "esModuleInterop" : true ,
9
+ "skipLibCheck" : true ,
10
+ "forceConsistentCasingInFileNames" : true ,
11
+ "moduleResolution" : " node"
6
12
},
7
13
"include" : [" ./src/**/*.ts" ],
8
14
"exclude" : [" node_modules" , " dist" ]
Original file line number Diff line number Diff line change 1
1
{
2
- "extends" : " ../../tsconfig.json" ,
3
2
"compilerOptions" : {
3
+ "target" : " ES2020" ,
4
+ "module" : " ES2020" ,
4
5
"outDir" : " ./dist" ,
5
6
"rootDir" : " ./src" ,
7
+ "strict" : true ,
8
+ "esModuleInterop" : true ,
9
+ "skipLibCheck" : true ,
10
+ "forceConsistentCasingInFileNames" : true ,
11
+ "moduleResolution" : " node" ,
6
12
"declaration" : true ,
7
13
"declarationDir" : " ./dist/types"
8
14
},
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments