File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
packages/action-listener-middleware Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change
1
+ { "type" : " commonjs" }
Original file line number Diff line number Diff line change 8
8
},
9
9
"license" : " MIT" ,
10
10
"source" : " src/index.ts" ,
11
- "exports" : " ./dist/index.modern.js" ,
12
- "main" : " ./dist/index.cjs" ,
13
- "module" : " ./dist/index.module.js" ,
14
- "unpkg" : " ./dist/index.umd.js" ,
11
+ "module" : " ./dist/module/index.js" ,
12
+ "main" : " ./dist/cjs/index.js" ,
15
13
"types" : " ./dist/index.d.ts" ,
16
14
"scripts" : {
17
- "build" : " rimraf dist && microbundle" ,
15
+ "build" : " rimraf dist && yarn build:esm && yarn build:module && yarn build:cjs" ,
16
+ "build:esm" : " microbundle -o ./dist/esm/index.js -f modern" ,
17
+ "build:module" : " microbundle -o ./dist/module/index.js -f esm --generate-types false" ,
18
+ "build:cjs" : " microbundle -o ./dist/cjs/index.js -f cjs --generate-types false && cp ./cjs.json ./dist/cjs/package.json" ,
18
19
"dev" : " microbundle watch" ,
19
20
"prepublishOnly" : " yarn build" ,
20
21
"test" : " jest --runInBand"
You can’t perform that action at this time.
0 commit comments