-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9d05cd4
commit 1b1e86b
Showing
11 changed files
with
42 additions
and
20 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,45 @@ | ||
{ | ||
"name": "@acala-network/chopsticks-executor", | ||
"description": "Chopsticks executor", | ||
"version": "0.9.2-4", | ||
"version": "0.9.2-5", | ||
"license": "Apache-2.0", | ||
"type": "module", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/AcalaNetwork/chopsticks" | ||
}, | ||
"scripts": { | ||
"clean": "rm -rf browser node", | ||
"build": "wasm-pack build --target web --out-dir browser; wasm-pack build --target nodejs --out-dir node; scripts/pack-wasm.cjs" | ||
"clean": "rm -rf pkg dist", | ||
"wasm": "yarn clean && wasm-pack build --target web --out-dir pkg && scripts/pack-wasm.cjs", | ||
"build": "yarn wasm && yarn build:cjs && yarn build:esm", | ||
"build:cjs": "swc ./pkg -C module.type=commonjs -d dist/cjs --copy-files && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json", | ||
"build:esm": "swc ./pkg -C module.type=es6 -d dist/esm --copy-files && echo '{\"type\": \"module\"}' > dist/esm/package.json" | ||
}, | ||
"dependencies": { | ||
"@polkadot/util": "^12.5.1", | ||
"@polkadot/wasm-util": "^7.2.2" | ||
}, | ||
"devDependencies": { | ||
"@swc/cli": "0.1.62", | ||
"@swc/core": "^1.3.96", | ||
"fflate": "^0.8.1" | ||
}, | ||
"files": [ | ||
"browser/index.js", | ||
"browser/chopsticks_executor.js", | ||
"browser/chopsticks_executor_bg.wasm", | ||
"node/chopsticks_*" | ||
"dist/esm/**", | ||
"dist/cjs/**", | ||
"pkg/chopsticks_executor.d.ts" | ||
], | ||
"main": "node/chopsticks_executor.js", | ||
"types": "node/chopsticks_executor.d.ts", | ||
"browser": "browser/index.js" | ||
"require": "./dist/cjs/index.js", | ||
"module": "./dist/esm/index.js", | ||
"types": "./pkg/chopsticks_executor.d.ts", | ||
"exports": { | ||
".": { | ||
"require": "./dist/cjs/index.js", | ||
"module": "./dist/esm/index.js", | ||
"default": "./dist/esm/index.js", | ||
"types": "./pkg/chopsticks_executor.d.ts" | ||
}, | ||
"./package.json": "./package.json", | ||
"./package.cjs.json": "./dist/cjs/package.json" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@acala-network/chopsticks", | ||
"version": "0.9.2-4", | ||
"version": "0.9.2-5", | ||
"author": "Acala Developers <[email protected]>", | ||
"license": "Apache-2.0", | ||
"bin": "./chopsticks.cjs", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@acala-network/chopsticks-core", | ||
"version": "0.9.2-4", | ||
"version": "0.9.2-5", | ||
"author": "Acala Developers <[email protected]>", | ||
"license": "Apache-2.0", | ||
"type": "module", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@acala-network/chopsticks-db", | ||
"version": "0.9.2-4", | ||
"version": "0.9.2-5", | ||
"author": "Acala Developers <[email protected]>", | ||
"license": "Apache-2.0", | ||
"type": "module", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@acala-network/chopsticks-testing", | ||
"version": "0.9.2-4", | ||
"version": "0.9.2-5", | ||
"author": "Acala Developers <[email protected]>", | ||
"license": "Apache-2.0", | ||
"type": "module", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters