File tree 2 files changed +1
-25
lines changed
2 files changed +1
-25
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
"description" : " Export data in React to CSV and other file formats" ,
5
5
"types" : " ./lib/cjs/types/index.d.ts" ,
6
6
"main" : " ./lib/cjs/index.js" ,
7
- "exports" : {
8
- "." : {
9
- "import" : {
10
- "types" : " ./lib/esm/types/index.d.ts" ,
11
- "default" : " ./lib/esm/index.mjs"
12
- },
13
- "require" : {
14
- "types" : " ./lib/cjs/types/index.d.ts" ,
15
- "default" : " ./lib/cjs/index.js"
16
- }
17
- }
18
- },
19
7
"files" : [
20
8
" lib/**/*"
21
9
],
22
10
"scripts" : {
23
11
"test" : " jest --config ./configs/jest.config.js" ,
24
12
"clean" : " rm -rf ./lib" ,
25
- "build" : " npm run clean && npm run build:esm && npm run build:cjs" ,
26
- "build:esm" : " tsc -p ./configs/tsconfig.esm.json && mv lib/esm/index.js lib/esm/index.mjs" ,
13
+ "build" : " npm run clean && npm run build:cjs" ,
27
14
"build:cjs" : " tsc -p ./configs/tsconfig.cjs.json" ,
28
15
"prepack" : " npm run build" ,
29
16
"format" : " prettier --write ."
You can’t perform that action at this time.
0 commit comments