Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 2.97 KB
/
Copy pathpackage.json
File metadata and controls
96 lines (96 loc) · 2.97 KB
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
{
"name": "evmole",
"description": "Analyzes deployed EVM bytecode: extracts function selectors and CBOR metadata; infers argument types, state mutability, storage layouts, and control flow.",
"version": "0.9.4",
"license": "MIT",
"author": "Maxim Andreev <[email protected]>",
"homepage": "https://evmole.xyz/",
"bugs": {
"url": "https://github.com/cdump/evmole/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cdump/evmole.git",
"directory": "javascript"
},
"keywords": [
"evm",
"ethereum",
"bytecode",
"abi",
"static-analysis",
"solidity",
"vyper",
"function-selectors",
"storage-layouts",
"control-flow",
"disassembler",
"cbor",
"cli",
"mcp",
"model-context-protocol",
"ai-agent"
],
"type": "module",
"engines": {
"node": ">=22"
},
"bin": {
"evmole": "./dist/evmole_cli.mjs"
},
"main": "dist/evmole_node.cjs",
"module": "dist/evmole.mjs",
"types": "dist/evmole.d.ts",
"files": [
"LICENSE",
"README.md",
"dist/evmole_bg.wasm",
"dist/evmole_bg.wasm.d.ts",
"dist/evmole.js",
"dist/evmole.d.ts",
"dist/evmole_main.d.mts",
"dist/evmole_main.d.cts",
"dist/evmole.mjs",
"dist/evmole_node.cjs",
"dist/evmole_node.mjs",
"dist/evmole_wasm_import.js",
"dist/agent_api.mjs",
"dist/evmole_cli.mjs",
"dist/schemas"
],
"exports": {
".": {
"types": {
"require": "./dist/evmole_main.d.cts",
"default": "./dist/evmole_main.d.mts"
},
"require": "./dist/evmole_node.cjs",
"node": "./dist/evmole_node.mjs",
"default": "./dist/evmole.mjs"
},
"./evmole_bg.wasm": "./dist/evmole_bg.wasm",
"./wasm_import": "./dist/evmole_wasm_import.js",
"./agent": "./dist/agent_api.mjs",
"./no_tla": "./dist/evmole.js",
"./dist/*": "./dist/*"
},
"scripts": {
"build": "rm -rf dist && npm run build-wasm && npm run build-node && npm run build-esm && npm run build-cp",
"build-wasm": "wasm-pack build --no-pack --out-dir ./javascript/dist --target web --features javascript",
"build-node": "rollup ./src/evmole_node.cjs --file ./dist/evmole_node.cjs --format cjs",
"build-esm": "rollup ./src/evmole_esm.js --file ./dist/evmole.mjs --format esm",
"build-cp": "cp ./src/evmole_node.mjs ./src/evmole_wasm_import.js ./src/agent_api.mjs ./src/evmole_cli.mjs ./src/evmole_main.d.mts ./src/evmole_main.d.cts dist/ && chmod +x dist/evmole_cli.mjs && mkdir -p dist/schemas && cp ../agent/schemas/*.json dist/schemas/ && rm -f dist/.gitignore",
"doc": "jsdoc2md --files ./dist/evmole.js --heading-depth 3",
"test": "node --test --test-isolation=none --test-concurrency=1 tests/agent_api.test.mjs tests/cli.test.mjs tests/package_smoke.test.mjs"
},
"devDependencies": {
"jsdoc-to-markdown": "^9.1",
"rollup": "^4.61",
"typescript": "^7.0",
"wasm-pack": "^0.15",
"ajv": "^8.20.0"
},
"allowScripts": {
"[email protected]": true
}
}