@acala-network/chopsticks 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +90 -90
package/package.json
CHANGED
|
@@ -1,91 +1,91 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}
|
|
2
|
+
"name": "@acala-network/chopsticks",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"main": "./dist/index.js",
|
|
5
|
+
"types": "./dist/index.d.ts",
|
|
6
|
+
"author": "Bryan Chen <xlchen1291@gmail.com>",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"packageManager": "yarn@3.2.4",
|
|
9
|
+
"workspaces": [
|
|
10
|
+
".",
|
|
11
|
+
"executor/pkg"
|
|
12
|
+
],
|
|
13
|
+
"bin": "./chopsticks.js",
|
|
14
|
+
"scripts": {
|
|
15
|
+
"lint": "tsc --noEmit --project tsconfig.json && eslint . --ext .js,.ts && prettier --check .",
|
|
16
|
+
"fix": "eslint . --ext .js,.ts --fix && prettier -w .",
|
|
17
|
+
"prepare": "husky install",
|
|
18
|
+
"start": "ts-node --transpile-only src/index.ts",
|
|
19
|
+
"build": "rimraf dist && tsc -p tsconfig.prod.json",
|
|
20
|
+
"build-wasm": "cd executor && wasm-pack --log-level=info build --target nodejs --no-default-features --scope acala-network",
|
|
21
|
+
"check": "cd executor && cargo check --locked",
|
|
22
|
+
"test": "vitest --silent",
|
|
23
|
+
"test:native": "EXECUTOR_CMD='cargo run --manifest-path executor/Cargo.toml --' vitest",
|
|
24
|
+
"test:dev": "LOG_LEVEL=trace vitest --inspect",
|
|
25
|
+
"dev": "LOG_LEVEL=trace ts-node-dev --transpile-only --inspect --notify=false src/index.ts -- dev --config=configs/dev.yml",
|
|
26
|
+
"dev:native": "yarn dev --executor-cmd='cargo run --manifest-path executor/Cargo.toml --'",
|
|
27
|
+
"dev:karura": "ts-node-dev --transpile-only --inspect --notify=false src/index.ts -- dev --config=configs/karura.yml",
|
|
28
|
+
"dev:acala": "ts-node-dev --transpile-only --inspect --notify=false src/index.ts -- dev --config=configs/acala.yml"
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@acala-network/chopsticks-executor": "0.1.1",
|
|
32
|
+
"@polkadot/api": "^9.10.1",
|
|
33
|
+
"@polkadot/rpc-provider": "^9.10.1",
|
|
34
|
+
"@polkadot/types": "^9.10.1",
|
|
35
|
+
"@polkadot/types-codec": "^9.10.1",
|
|
36
|
+
"@polkadot/types-known": "^9.10.1",
|
|
37
|
+
"@polkadot/util": "^10.2.1",
|
|
38
|
+
"@polkadot/util-crypto": "^10.2.1",
|
|
39
|
+
"axios": "^1.2.1",
|
|
40
|
+
"js-yaml": "^4.1.0",
|
|
41
|
+
"lodash": "^4.17.21",
|
|
42
|
+
"pino": "^8.7.0",
|
|
43
|
+
"pino-pretty": "^9.1.1",
|
|
44
|
+
"reflect-metadata": "^0.1.13",
|
|
45
|
+
"sqlite3": "^5.1.2",
|
|
46
|
+
"typeorm": "^0.3.11",
|
|
47
|
+
"typescript": "^4.9.3",
|
|
48
|
+
"ws": "^8.11.0",
|
|
49
|
+
"yargs": "^17.6.2",
|
|
50
|
+
"zod": "^3.19.1"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@types/js-yaml": "^4.0.5",
|
|
54
|
+
"@types/lodash": "^4.14.191",
|
|
55
|
+
"@types/node": "^18.11.10",
|
|
56
|
+
"@types/rimraf": "^3",
|
|
57
|
+
"@types/ws": "^8.5.3",
|
|
58
|
+
"@types/yargs": "^17.0.15",
|
|
59
|
+
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
|
60
|
+
"@typescript-eslint/parser": "^5.45.0",
|
|
61
|
+
"eslint": "^8.29.0",
|
|
62
|
+
"eslint-config-prettier": "^8.5.0",
|
|
63
|
+
"eslint-plugin-import": "^2.26.0",
|
|
64
|
+
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
|
|
65
|
+
"husky": "^8.0.2",
|
|
66
|
+
"lint-staged": "^13.1.0",
|
|
67
|
+
"prettier": "^2.8.0",
|
|
68
|
+
"rimraf": "^3.0.2",
|
|
69
|
+
"ts-node": "^10.9.1",
|
|
70
|
+
"ts-node-dev": "^2.0.0",
|
|
71
|
+
"vitest": "^0.25.3",
|
|
72
|
+
"wasm-pack": "^0.10.3"
|
|
73
|
+
},
|
|
74
|
+
"files": [
|
|
75
|
+
"dist",
|
|
76
|
+
"bin",
|
|
77
|
+
"chopsticks.mjs"
|
|
78
|
+
],
|
|
79
|
+
"engines": {
|
|
80
|
+
"node": ">=v14"
|
|
81
|
+
},
|
|
82
|
+
"prettier": {
|
|
83
|
+
"tabWidth": 2,
|
|
84
|
+
"semi": false,
|
|
85
|
+
"singleQuote": true
|
|
86
|
+
},
|
|
87
|
+
"lint-staged": {
|
|
88
|
+
"*.{js,ts}": "eslint --cache --fix",
|
|
89
|
+
"*.{js,ts,css,md}": "prettier --write"
|
|
90
|
+
}
|
|
91
|
+
}
|