|
8 | 8 | ],
|
9 | 9 | "scripts": {
|
10 | 10 | "coverage": "nyc npm run coverageTests && nyc report --reporter=text-lcov > .nyc_output/lcov.info",
|
11 |
| - "coverageTests": "tape './tests/api/**/*.js' ./tests/tester.js -s", |
| 11 | + "coverageTests": "npm run build:dist && tape './tests/api/**/*.js' ./tests/tester.js -s --dist", |
12 | 12 | "coveralls": "npm run coverage && if [ -n \"$COVERALLS_REPO_TOKEN\" ]; then coveralls <.nyc_output/lcov.info; fi",
|
13 | 13 | "testVM": "node ./tests/tester -v",
|
14 | 14 | "testStateByzantium": "npm run build:dist && node ./tests/tester -s --fork='Byzantium' --dist",
|
|
17 | 17 | "testBuildIntegrity": "npm run build:dist && node ./tests/tester -s --dist --test='stackOverflow'",
|
18 | 18 | "testBlockchain": "npm run build:dist && node --stack-size=1500 ./tests/tester -b --fork='Petersburg' --dist --excludeDir='GeneralStateTests'",
|
19 | 19 | "testBlockchainGeneralStateTests": "npm run build:dist && node --stack-size=1500 ./tests/tester -b --dist --dir='GeneralStateTests'",
|
20 |
| - "testAPI": "tape './tests/api/**/*.js'", |
21 |
| - "testAPI:browser": "karma start karma.conf.js", |
| 20 | + "testAPI": "npm run build:dist && tape './tests/api/**/*.js'", |
| 21 | + "testAPI:browser": "npm run build:dist && karma start karma.conf.js", |
22 | 22 | "test": "echo \"[INFO] Generic test cmd not used. See package.json for more specific test run cmds.\"",
|
23 | 23 | "lint": "standard",
|
| 24 | + "format": "ethereumjs-config-format", |
| 25 | + "format-fix": "ethereumjs-config-format-fix", |
24 | 26 | "prepublishOnly": "npm run lint && npm run build:dist && npm run testBuildIntegrity",
|
25 |
| - "build:dist": "babel lib/ -d dist/", |
| 27 | + "build:dist": "tsc", |
26 | 28 | "build:docs": "documentation build ./lib/index.js ./lib/runBlockchain.js ./lib/runBlock.js ./lib/runTx.js ./lib/runCode.js ./lib/runCall.js --format md --shallow > ./docs/index.md",
|
27 | 29 | "formatTest": "node ./scripts/formatTest"
|
28 | 30 | },
|
|
35 | 37 | "VM"
|
36 | 38 | ],
|
37 | 39 | "dependencies": {
|
38 |
| - "@babel/runtime": "^7.4.0", |
39 | 40 | "async": "^2.1.2",
|
40 | 41 | "async-eventemitter": "^0.2.2",
|
| 42 | + "core-js-pure": "^3.0.1", |
41 | 43 | "ethereumjs-account": "^2.0.3",
|
42 | 44 | "ethereumjs-block": "~2.2.0",
|
43 | 45 | "ethereumjs-blockchain": "^3.4.0",
|
44 | 46 | "ethereumjs-common": "^1.1.0",
|
45 |
| - "ethereumjs-util": "^6.0.0", |
| 47 | + "ethereumjs-util": "^6.1.0", |
46 | 48 | "fake-merkle-patricia-tree": "^1.0.1",
|
47 | 49 | "functional-red-black-tree": "^1.0.1",
|
48 | 50 | "merkle-patricia-tree": "^2.3.2",
|
|
51 | 53 | "util.promisify": "^1.0.0"
|
52 | 54 | },
|
53 | 55 | "devDependencies": {
|
54 |
| - "@babel/cli": "^7.2.3", |
55 |
| - "@babel/core": "^7.4.0", |
56 |
| - "@babel/plugin-transform-runtime": "^7.4.0", |
57 |
| - "@babel/preset-env": "^7.4.1", |
| 56 | + "@ethereumjs/config-prettier": "^1.1.1", |
| 57 | + "@types/bn.js": "^4.11.5", |
| 58 | + "@types/node": "^11.13.4", |
58 | 59 | "browserify": "^16.2.3",
|
59 | 60 | "coveralls": "^3.0.0",
|
60 | 61 | "documentation": "^8.1.2",
|
|
70 | 71 | "level-mem": "^3.0.1",
|
71 | 72 | "minimist": "^1.1.1",
|
72 | 73 | "nyc": "^12.0.2",
|
| 74 | + "prettier": "^1.16.4", |
| 75 | + "rlp": "^2.2.3", |
73 | 76 | "standard": "^10.0.0",
|
74 | 77 | "tap-spec": "^5.0.0",
|
75 |
| - "tape": "4.6.3" |
| 78 | + "tape": "4.6.3", |
| 79 | + "typescript": "^3.4.3" |
76 | 80 | },
|
77 | 81 | "author": "mjbecze <mjbecze@gmail.com>",
|
78 | 82 | "contributors": [
|
|
0 commit comments