-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
114 lines (114 loc) · 3.69 KB
/
package.json
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "moonbeam-tools",
"version": "0.1.2",
"description": "Set of tools for Moonbeam blockchain",
"exports": {
".": {
"import": "./dist/index.esm.js"
}
},
"engines": {
"node": ">=20"
},
"type": "module",
"main": "dist/index.esm.js",
"module": "dist/index.esm.js",
"browser": "dist/index.esm.js",
"types": "dist/index.d.ts",
"dependencies": {
"@moonbeam-network/api-augment": "^0.3200.3",
"@polkadot/api": "^12.4.2",
"@polkadot/apps-config": "^0.138.1",
"@polkadot/util": "^13.1.1",
"@polkadot/util-crypto": "^13.1.1",
"chalk": "^4.1.2",
"cli-progress": "^3.11.2",
"debug": "^4.3.4",
"esbuild": "^0.13.15",
"humanize-number": "^0.0.2",
"inquirer": "^8.2.5",
"knex": "^2.3.0",
"lodash.isobject": "^3.0.2",
"lodash.mergewith": "^4.6.2",
"moment": "^2.29.4",
"moment-parseplus": "^2.0.3",
"moonbeam-types-bundle": "^2.0.9",
"node-fetch": "2",
"p-map": "^4.0.0",
"p-queue": "^8.0.1",
"pg": "^8.8.0",
"prettier": "3.2.5",
"pretty-bytes": "^5.6.0",
"rlp": "^3.0.0",
"semver": "^7.3.8",
"solc": "^0.8.10",
"sqlite": "^4.0.25",
"sqlite3": "^5.1.1",
"table": "^6.8.0",
"undici": "^5.11.0",
"viem": "^0.3.40",
"vitest": "^2.1.4",
"web3": "^4.15.0",
"yargs": "^15.4.1"
},
"devDependencies": {
"@babel/core": "^7.15.8",
"@types/axios": "^0.14.0",
"@types/jest": "^29.2.0",
"@types/lodash.isobject": "^3.0.7",
"@types/lodash.mergewith": "^4.6.7",
"@types/yargs": "^15.0.15",
"eslint": "^7.32.0",
"jest": "^29.2.1",
"pkg": "^5.8.1",
"ts-jest": "^29.0.3",
"tslib": "^2.4.0",
"typescript": "^5.6.3"
},
"overrides": {
"@polkadot/api": "$@polkadot/api",
"@polkadot/api-derive": "$@polkadot/api",
"@polkadot/api-augment": "$@polkadot/api",
"@polkadot/api-base": "$@polkadot/api",
"@polkadot/rpc-augment": "$@polkadot/api",
"@polkadot/rpc-core": "$@polkadot/api",
"@polkadot/rpc-provider": "$@polkadot/api",
"@polkadot/types-create": "$@polkadot/api",
"@polkadot/types-augment": "$@polkadot/api",
"@polkadot/types-support": "$@polkadot/api",
"@polkadot/types-codec": "$@polkadot/api",
"@polkadot/types": "$@polkadot/api",
"@polkadot/types-known": "$@polkadot/api",
"ws@3": "8"
},
"scripts": {
"test": "vitest run",
"dev": "rollup -c -w",
"build": "npm run build:libs && npm run build:declarations && npm run build:bins && npm run build:readme",
"build:libs": "bun build src/index.ts --target browser --outfile dist/index.esm.js --minify --sourcemap && ./scripts/update-readme.sh",
"build:declarations": "tsc -p tsconfig.json --emitDeclarationOnly && mkdir -p dist/ && cp -r build/src/utils build/src/index.d.ts dist/",
"build:bins": "npm run build:bins:monitor && npm run build:bins:export-state",
"build:bins:monitor": "bun build src/tools/monitor.ts --compile --outfile dist/monitor --sourcemap",
"build:bins:export-state": "bun build src/tools/export-state.ts --compile --outfile dist/export-state --sourcemap",
"build:readme": "./scripts/update-readme.sh",
"lint": "bunx prettier --write .",
"fork": "bunx ./src/tools/run-moonbeam-fork.ts --base-path /tmp/fork-data/ --network moonbeam --smaller-state"
},
"repository": {
"type": "git",
"url": "git+https://github.com/PureStake/moonbeam-tools.git"
},
"bin": {
"moonbeam-monitor": "./dist/monitor",
"export-state": "./dist/export-state"
},
"keywords": [
"moonbeam"
],
"author": "Alan Sapede",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/PureStake/moonbeam-tools/issues"
},
"homepage": "https://github.com/PureStake/moonbeam-tools#readme"
}