File tree 4 files changed +23
-5
lines changed
4 files changed +23
-5
lines changed Original file line number Diff line number Diff line change 1
1
# Dist files
2
2
dist
3
+ dist-types
3
4
4
5
# Logs
5
6
logs
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @spresso-sdk/price_optimization" ,
3
- "version" : " 2.0.3 " ,
3
+ "version" : " 2.0.4 " ,
4
4
"description" : " Spresso Price Optimization SDK for Node" ,
5
5
"sideEffects" : false ,
6
6
"private" : false ,
7
7
"scripts" : {
8
- "build" : " npx tsc -b ./tsconfig.json" ,
8
+ "build" : " npx tsc -p ./tsconfig.json" ,
9
+ "build:types" : " tsc -p ./tsconfig.types.json" ,
9
10
"lint" : " npx eslint ./src"
10
11
},
11
12
"author" : " Spresso" ,
25
26
"axios" : " ^1.4.0"
26
27
},
27
28
"files" : [
28
- " dist"
29
+ " dist" ,
30
+ " dist-types"
29
31
],
30
32
"homepage" : " " ,
31
33
"repository" : {
Original file line number Diff line number Diff line change 26
26
"noErrorTruncation" : true ,
27
27
"esModuleInterop" : true ,
28
28
"removeComments" : true ,
29
- "outDir" : " dist"
30
- }
29
+ "outDir" : " dist" ,
30
+ "rootDir" : " src"
31
+ },
32
+ "include" : [" src/" ]
31
33
}
Original file line number Diff line number Diff line change
1
+ {
2
+ "compilerOptions" : {
3
+ "baseUrl" : " ." ,
4
+ "declarationDir" : " dist-types" ,
5
+ "rootDir" : " src" ,
6
+ "declaration" : true ,
7
+ "emitDeclarationOnly" : true ,
8
+ "removeComments" : false ,
9
+ "strict" : true
10
+ },
11
+ "extends" : " ./tsconfig.json" ,
12
+ "include" : [" src/" ]
13
+ }
You can’t perform that action at this time.
0 commit comments