File tree 3 files changed +5
-33
lines changed
3 files changed +5
-33
lines changed Original file line number Diff line number Diff line change 62
62
"scripts" : {
63
63
"lint" : " biome check --write" ,
64
64
"check" : " biome check" ,
65
- "build" : " node scripts/build.js" ,
65
+ "build" : " pnpm run build:esm && pnpm run build:cjs" ,
66
+ "build:esm" : " tsc -p tsconfig.lib.json --outDir lib/esm" ,
67
+ "build:cjs" : " tsc -p tsconfig.lib.json --module CommonJS --moduleResolution Node --outDir lib/cjs" ,
68
+ "postbuild:cjs" : " echo '{\" type\" : \" commonjs\" }' > lib/cjs/package.json" ,
66
69
"prepublishOnly" : " pnpm run build" ,
67
70
"test" : " vitest --run test/*.test.ts" ,
68
71
"coverage" : " vitest run --coverage" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 7
7
"esModuleInterop" : true ,
8
8
"forceConsistentCasingInFileNames" : true ,
9
9
"incremental" : true ,
10
- "lib" : [" ES2023 " , " DOM" ],
10
+ "lib" : [" ES2024 " , " DOM" ],
11
11
"module" : " NodeNext" ,
12
12
"moduleResolution" : " NodeNext" ,
13
13
"noErrorTruncation" : true ,
You can’t perform that action at this time.
0 commit comments