File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " intro.js-react" ,
3
3
"version" : " 0.7.1" ,
4
4
"description" : " Intro.js React Wrapper" ,
5
- "main" : " dist/lib /index.js" ,
5
+ "main" : " dist/cjs /index.js" ,
6
6
"module" : " dist/esm/index.js" ,
7
7
"types" : " index.d.ts" ,
8
8
"exports" : {
19
19
}
20
20
},
21
21
"scripts" : {
22
- "prebuild" : " rimraf lib/* && rimraf esm/* " ,
22
+ "prebuild" : " rimraf dist " ,
23
23
"build" : " yarn build:cjs && yarn build:esm" ,
24
24
"build:cjs" : " CJS=true babel --ignore '**/*.test.js' --out-dir dist/cjs --out-file-extension .cjs src && cp dist/cjs/index.cjs dist/cjs/index.js && cp index.d.ts dist/cjs/index.d.cts" ,
25
25
"build:esm" : " babel --ignore '**/*.test.js' --out-dir dist/esm --out-file-extension .mjs src && cp dist/esm/index.mjs dist/esm/index.js && cp index.d.ts dist/esm/index.d.mts" ,
You can’t perform that action at this time.
0 commit comments