File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2020 "access" : " public"
2121 },
2222 "scripts" : {
23- "build" : " npm run clean && npm run build:cjs && cp dist/cjs/index.js dist/index.js && npm run build:esm && npm run build:types" ,
23+ "build" : " npm run clean && npm run build:cjs && cp dist/cjs/index.js dist/index.js && cp dist/cjs/index.js.map dist/index.js.map && npm run build:esm && npm run build:types" ,
2424 "build:cjs" : " tsc --module commonjs --outDir dist/cjs" ,
25- "build:esm" : " tsc --module esnext --outDir dist/esm && cp dist/esm/index.js dist/index.esm.js && cp -r dist/esm/types dist/ && cp -r dist/esm/lib dist/ && cp -r dist/esm/client dist/" ,
26- "build:types" : " tsc --declaration --emitDeclarationOnly --outDir dist && cp dist/cjs/index.d.ts dist/index.d.ts" ,
25+ "build:esm" : " tsc --module esnext --outDir dist/esm && cp dist/esm/index.js dist/index.esm.js && cp dist/esm/index.js.map dist/index.esm.js.map && cp -r dist/esm/types dist/ && cp -r dist/esm/lib dist/ && cp -r dist/esm/client dist/" ,
26+ "build:types" : " tsc --declaration --emitDeclarationOnly --outDir dist && cp dist/cjs/index.d.ts dist/index.d.ts && cp dist/cjs/index.d.ts.map dist/index.d.ts.map " ,
2727 "dev" : " tsc --watch" ,
2828 "test" : " vitest" ,
2929 "lint" : " eslint src --ext .ts" ,
You can’t perform that action at this time.
0 commit comments