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 22 "name" : " intro.js-react" ,
33 "version" : " 0.7.1" ,
44 "description" : " Intro.js React Wrapper" ,
5- "main" : " dist/lib /index.js" ,
5+ "main" : " dist/cjs /index.js" ,
66 "module" : " dist/esm/index.js" ,
77 "types" : " index.d.ts" ,
88 "exports" : {
1919 }
2020 },
2121 "scripts" : {
22- "prebuild" : " rimraf lib/* && rimraf esm/* " ,
22+ "prebuild" : " rimraf dist " ,
2323 "build" : " yarn build:cjs && yarn build:esm" ,
2424 "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" ,
2525 "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