File tree Expand file tree Collapse file tree 4 files changed +9
-32
lines changed
Expand file tree Collapse file tree 4 files changed +9
-32
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1010 "type" : " git" ,
1111 "url" : " https://github.com/bitcoinjs/uint8array-tools.git"
1212 },
13- "main" : " src/cjs" ,
14- "types" : " src/cjs" ,
15- "module" : " src/mjs" ,
13+ "main" : " src/cjs/index.js" ,
14+ "types" : " src/cjs/index.d.ts" ,
1615 "scripts" : {
17- "build" : " rm -rf src/* && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && ./fixup.sh " ,
16+ "build" : " rm -rf src/* && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json" ,
1817 "coverage" : " npm run unit -- --coverage" ,
1918 "eslint" : " eslint ts_src/*.ts" ,
2019 "format" : " npm run eslint -- --fix" ,
2423 "unit" : " jest --config=jest.json --runInBand"
2524 },
2625 "exports" : {
27- "import" : " ./src/mjs/index.js" ,
28- "require" : " ./src/cjs/index.js"
26+ "node" : {
27+ "module" : " ./src/mjs/index.js" ,
28+ "require" : " ./src/cjs/index.js"
29+ },
30+ "browser" : " ./src/mjs/browser.js" ,
31+ "default" : " ./src/mjs/index.js"
2932 },
3033 "keywords" : [
3134 " uint8array" ,
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments