Skip to content

Commit

Permalink
pkg import fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptoquick committed May 18, 2023
1 parent 701321d commit ee306fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions configs/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@
"declarationMap": true,
"allowSyntheticDefaultImports": true,
"types": ["node", "mocha"],
"paths": {
"pkg": ["../pkg"]
}
},

"files": [
"../pkg/*",
"../src/index.ts",
"../src/constants.ts",
"../src/bitcoin.ts",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bitmask-wallet",
"version": "0.6.0-beta.10",
"version": "0.6.0-beta.11",
"description": "JS/TS wrapper containing all the functionality needed to access the BitMask wallet core",
"types": "index.d.ts",
"main": "index.js",
Expand All @@ -19,7 +19,7 @@
"build:cjs": "tsc -p ./configs/tsconfig.cjs.json",
"build:pkg": "cd ../bitmask-core && wasm-pack build --release --target bundler",
"rename:esm": "cp lib/esm/index.js index.mjs && cp lib/esm/constants.js constants.mjs && cp lib/esm/bitcoin.js bitcoin.mjs && cp lib/esm/rgb.js rgb.mjs && cp lib/esm/lightning.js lightning.mjs && cp lib/esm/carbonado.js carbonado.mjs",
"rename:pkg": "mv ../bitmask-core/pkg src/pkg",
"copy:pkg": "cp -R ../bitmask-core/pkg src/pkg && cp -R ../bitmask-core/pkg pkg",
"full": "npm run build && npm run build:pkg && npm run rename:pkg",
"test": "echo 'mocha is a terrible testing framework'",
"semantic-release": "semantic-release",
Expand Down

0 comments on commit ee306fa

Please sign in to comment.