File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 8
8
"main" : " build/index.js" ,
9
9
"type" : " module" ,
10
10
"files" : [
11
- " build"
11
+ " build" ,
12
+ " !build/bin" ,
13
+ " !build/tests"
12
14
],
13
15
"exports" : {
14
16
"." : " ./build/index.js" ,
21
23
"lint" : " eslint . --ext=.ts" ,
22
24
"clean" : " del-cli build" ,
23
25
"typecheck" : " tsc --noEmit" ,
24
- "compile" : " npm run lint && npm run clean && tsup-node" ,
26
+ "precompile" : " npm run lint && npm run clean" ,
27
+ "compile" : " tsup-node && tsc --emitDeclarationOnly --declaration" ,
25
28
"build" : " npm run compile" ,
26
29
"release" : " np" ,
27
30
"version" : " npm run build" ,
127
130
"tsup" : {
128
131
"entry" : [
129
132
" ./index.ts" ,
130
- " ./src/code_transformer/main.ts" ,
131
- " ./src/types.ts"
133
+ " ./src/code_transformer/main.ts"
132
134
],
133
135
"outDir" : " ./build" ,
134
136
"clean" : true ,
135
137
"format" : " esm" ,
136
- "dts" : true ,
138
+ "dts" : false ,
139
+ "sourcemap" : true ,
137
140
"target" : " esnext"
138
141
}
139
142
}
You can’t perform that action at this time.
0 commit comments