File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 9
9
"main" : " dist/index.js" ,
10
10
"types" : " dist/index.d.ts" ,
11
11
"scripts" : {
12
- "dev" : " tsc -p . -w --incremental" ,
12
+ "dev" : " rimraf dist && run-p dev-types dev-watch" ,
13
+ "dev-types" : " tsc -p . -w --incremental --emitDeclarationOnly" ,
14
+ "dev-watch" : " esbuild src/index.ts --watch --bundle --platform=node --target=node12 --external:@vue/compiler-sfc --external:vue/compiler-sfc --external:vite --outfile=dist/index.js" ,
13
15
"build" : " rimraf dist && run-s build-bundle build-types" ,
14
16
"build-bundle" : " esbuild src/index.ts --bundle --platform=node --target=node12 --external:@vue/compiler-sfc --external:vue/compiler-sfc --external:vite --outfile=dist/index.js" ,
15
17
"build-types" : " tsc -p . --emitDeclarationOnly --outDir temp && api-extractor run && rimraf temp" ,
You can’t perform that action at this time.
0 commit comments