/
package.json
95 lines (95 loc) · 4.32 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
{
"name": "@ethereumjs/vm",
"version": "8.0.0",
"description": "An Ethereum VM implementation",
"keywords": [
"ethereum",
"VM"
],
"homepage": "https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/vm#readme",
"bugs": {
"url": "https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+vm%22"
},
"repository": {
"type": "git",
"url": "https://github.com/ethereumjs/ethereumjs-monorepo.git"
},
"license": "MPL-2.0",
"author": "mjbecze <mjbecze@gmail.com>",
"contributors": [
"Alex Beregszaszi <alex@rtfs.hu>"
],
"type": "commonjs",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"files": [
"dist",
"src"
],
"scripts": {
"benchmarks": "node --max-old-space-size=4096 ./benchmarks/run.js benchmarks mainnetBlocks:10",
"build": "../../config/cli/ts-build.sh",
"build:benchmarks": "npm run build && tsc -p tsconfig.benchmarks.json",
"clean": "../../config/cli/clean-package.sh",
"coverage": "DEBUG=ethjs npx vitest run --coverage.enabled --coverage.reporter=lcov",
"coverage:test": "npm run test:API",
"docs:build": "typedoc --options typedoc.cjs",
"examples": "tsx ../../scripts/examples-runner.ts -- vm",
"examples:build": "npx embedme README.md",
"formatTest": "node ./scripts/formatTest",
"lint": "../../config/cli/lint.sh",
"lint:diff": "../../config/cli/lint-diff.sh",
"lint:fix": "../../config/cli/lint-fix.sh",
"prepublishOnly": "../../config/cli/prepublish.sh && npm run test:buildIntegrity",
"profiling": "0x ./benchmarks/run.js profiling",
"test": "echo \"[INFO] Generic test cmd not used. See package.json for more specific test run cmds.\"",
"test:API": "npx vitest run ./test/api/",
"test:browser": "npx vitest run --config=./vitest.browser.config.mts",
"test:blockchain": "npm run tester -- --blockchain",
"test:blockchain:allForks": "echo 'Chainstart Homestead dao TangerineWhistle SpuriousDragon Byzantium Constantinople Petersburg Istanbul MuirGlacier Berlin London ByzantiumToConstantinopleFixAt5 EIP158ToByzantiumAt5 FrontierToHomesteadAt5 HomesteadToDaoAt5 HomesteadToEIP150At5 BerlinToLondonAt5' | xargs -n1 | xargs -I v1 npm run tester -- --blockchain --fork=v1 --verify-test-amount-alltests",
"test:blockchain:transitionForks": "echo 'ByzantiumToConstantinopleFixAt5 EIP158ToByzantiumAt5 FrontierToHomesteadAt5 HomesteadToDaoAt5 HomesteadToEIP150At5 BerlinToLondonAt5' | xargs -n1 | xargs -I v1 npm run tester -- --blockchain --fork=v1 --verify-test-amount-alltests",
"test:buildIntegrity": "npm run test:state -- --test='stackOverflow'",
"test:state": "npm run tester -- --state",
"test:state:allForks": "echo 'Chainstart Homestead dao TangerineWhistle SpuriousDragon Byzantium Constantinople Petersburg Istanbul MuirGlacier Berlin London ByzantiumToConstantinopleFixAt5 EIP158ToByzantiumAt5 FrontierToHomesteadAt5 HomesteadToDaoAt5 HomesteadToEIP150At5 BerlinToLondonAt5 Cancun' | xargs -n1 | xargs -I v1 npm run test:state -- --fork=v1 --verify-test-amount-alltests",
"test:state:selectedForks": "echo 'Homestead TangerineWhistle SpuriousDragon Petersburg Berlin London Cancun' | xargs -n1 | xargs -I v1 npm run test:state -- --fork=v1 --verify-test-amount-alltests",
"test:state:slow": "npm run test:state -- --runSkipped=slow",
"tester": "tsx ./test/tester --stack-size=1500",
"tsc": "../../config/cli/ts-compile.sh"
},
"dependencies": {
"@ethereumjs/block": "^5.2.0",
"@ethereumjs/blockchain": "^7.2.0",
"@ethereumjs/common": "^4.3.0",
"@ethereumjs/evm": "^3.0.0",
"@ethereumjs/rlp": "^5.0.2",
"@ethereumjs/statemanager": "^2.3.0",
"@ethereumjs/trie": "^6.2.0",
"@ethereumjs/tx": "^5.3.0",
"@ethereumjs/util": "^9.0.3",
"debug": "^4.3.3",
"ethereum-cryptography": "^2.1.3",
"mcl-wasm": "^1.4.0"
},
"devDependencies": {
"@ethersproject/abi": "^5.0.12",
"@types/benchmark": "^1.0.33",
"@types/core-js": "^2.5.0",
"@types/minimist": "^1.2.2",
"@types/node-dir": "^0.0.34",
"benchmark": "^2.1.4",
"minimist": "^1.2.5",
"node-dir": "^0.1.17",
"nyc": "^15.1.0",
"solc": "^0.8.1",
"tape": "^5.3.1"
},
"engines": {
"node": ">=18"
}
}