-
Notifications
You must be signed in to change notification settings - Fork 765
/
package.json
91 lines (91 loc) · 4.52 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
{
"name": "@ethereumjs/vm",
"version": "9.0.0-alpha.1",
"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": "module",
"sideEffects": false,
"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": "eslint --config .eslintrc.cjs . --ext .js,.ts",
"lint:fix": "eslint --fix --config .eslintrc.cjs . --ext .js,.ts",
"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.config.browser.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": "^6.0.0-alpha.1",
"@ethereumjs/common": "^5.0.0-alpha.1",
"@ethereumjs/evm": "^4.0.0-alpha.1",
"@ethereumjs/mpt": "^7.0.0-alpha.1",
"@ethereumjs/rlp": "^6.0.0-alpha.1",
"@ethereumjs/statemanager": "^3.0.0-alpha.1",
"@ethereumjs/tx": "^6.0.0-alpha.1",
"@ethereumjs/util": "^10.0.0-alpha.1",
"debug": "^4.3.3",
"ethereum-cryptography": "^3.0.0",
"eventemitter3": "^5.0.1"
},
"devDependencies": {
"@ethereumjs/blockchain": "^8.0.0-alpha.1",
"@ethereumjs/ethash": "^4.0.0-alpha.1",
"@paulmillr/trusted-setups": "^0.1.2",
"@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",
"ethers": "^6.13.2",
"mcl-wasm": "^1.5.0",
"micro-eth-signer": "^0.12.1",
"minimist": "^1.2.5",
"node-dir": "^0.1.17",
"nyc": "^15.1.0",
"solc": "^0.8.1",
"tape": "^5.3.1"
},
"engines": {
"node": ">=18"
}
}