mirror of
https://github.com/zhigang1992/session-key-aspect.git
synced 2026-01-12 17:52:29 +08:00
45 lines
1.6 KiB
JSON
45 lines
1.6 KiB
JSON
{
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"account:create": "node scripts/create-account.cjs",
|
|
"contract:send": "node scripts/contract-send.cjs",
|
|
"contract:call": "node scripts/contract-call.cjs",
|
|
"aspect:deploy": "npm run aspect:build && node scripts/aspect-deploy.cjs",
|
|
"aspect:build": "npm run asbuild:debug && npm run asbuild:release",
|
|
"aspect:gen": "aspect-tool generate -i ./build/contract -o ./assembly/aspect",
|
|
"asbuild:debug": "asc assembly/index.ts --target debug",
|
|
"asbuild:release": "asc assembly/index.ts --target release",
|
|
"contract:bind": "node scripts/bind.cjs",
|
|
"contract:deploy": "node scripts/contract-deploy.cjs",
|
|
"contract:build": "solc -o ./build/contract/ --via-ir --abi --storage-layout --bin ./test_contracts/*.sol --overwrite",
|
|
"build": "npm run contract:build && npm run aspect:gen && npm run aspect:build",
|
|
"test": "npm run build && node tests/test_operation.cjs && node tests/test_tx.cjs"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"@artela/aspect-libs": "^0.0.26",
|
|
"@artela/web3": "^1.9.18",
|
|
"@artela/web3-atl": "^1.9.18",
|
|
"@artela/web3-eth": "^1.9.18",
|
|
"@artela/web3-utils": "^1.9.8",
|
|
"@assemblyscript/loader": "^0.27.5",
|
|
"as-proto": "^1.3.0",
|
|
"ethereumjs-tx": "^2.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"@artela/aspect-tool": "^0.0.47",
|
|
"as-proto-gen": "^1.3.0",
|
|
"assemblyscript": "^0.27.5",
|
|
"yargs": "^17.7.2"
|
|
},
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./build/release.js",
|
|
"types": "./build/release.d.ts"
|
|
}
|
|
}
|
|
} |