File tree 1 file changed +4
-11
lines changed
1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change 4
4
"description" : " A collection of array-related async utilities." ,
5
5
"type" : " module" ,
6
6
"sideEffects" : false ,
7
- "main" : " ./dist/cjs/index.js" ,
8
- "module" : " ./dist/esm/index.js" ,
7
+ "main" : " ./dist/index.js" ,
9
8
"source" : " ./src/index.ts" ,
10
- "types" : " ./dist/cjs/ index.d.ts" ,
9
+ "types" : " ./dist/index.d.ts" ,
11
10
"exports" : {
12
- "." : {
13
- "import" : " ./dist/esm/index.js" ,
14
- "require" : " ./dist/cjs/index.js"
15
- },
11
+ "." : " ./dist/index.js" ,
16
12
"./*" : " ./*"
17
13
},
18
14
"scripts" : {
19
- "build" : " yarn build-esm && yarn build-cjs && yarn build-cjs-package" ,
20
- "build-esm" : " tsc --project tsconfig.build.json --outDir dist/esm" ,
21
- "build-cjs" : " tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs --moduleResolution node --verbatimModuleSyntax false" ,
22
- "build-cjs-package" : " echo '{\n \" type\" : \" commonjs\"\n }' > dist/cjs/package.json" ,
15
+ "build" : " tsc --project tsconfig.build.json" ,
23
16
"clean" : " rimraf dist" ,
24
17
"format" : " biome format" ,
25
18
"lint" : " biome lint" ,
You can’t perform that action at this time.
0 commit comments