1 | {
|
2 | "name": "ganache-core",
|
3 | "version": "2.13.2",
|
4 | "main": "./index.js",
|
5 | "types": "./typings/index.d.ts",
|
6 | "engines": {
|
7 | "node": ">=8.9.0"
|
8 | },
|
9 | "directories": {
|
10 | "lib": "./lib"
|
11 | },
|
12 | "scripts": {
|
13 | "_mocha": "mocha --check-leaks --recursive",
|
14 | "nyc_mocha": "nyc npm run _mocha",
|
15 | "_lint": "eslint --ignore-path .gitignore .",
|
16 | "build": "webpack-cli --config ./webpack/node/core.webpack.config.js",
|
17 | "build-web": "webpack-cli --config ./webpack/web-experimental/core.webpack.config.js",
|
18 | "format": "prettier --write \"{lib,perf,test}/**/*.js\" && eslint --fix --ignore-path .gitignore .",
|
19 | "prepare": "patch-package --exclude 'nothing'",
|
20 | "prepublishOnly": "npm run test && npm run build && npm run test-build && npm prune --production && mv npm-shrinkwrap.json npm-shrinkwrap.json.bak && npm shrinkwrap",
|
21 | "postpublish": "rm npm-shrinkwrap.json && mv npm-shrinkwrap.json.bak npm-shrinkwrap.json && npm ci",
|
22 | "test": "npm run _lint && npm run nyc_mocha ./test/local",
|
23 | "test-smoke": "npm run _mocha ./test/smoke",
|
24 | "test-build": "cross-env TEST_BUILD=node npm run _mocha",
|
25 | "test-web-experimental": "cross-env TEST_BUILD=web-experimental npm run _mocha",
|
26 | "coverage": "nyc report --reporter=text-lcov | coveralls"
|
27 | },
|
28 | "bundleDependencies": [
|
29 | "keccak"
|
30 | ],
|
31 | "dependencies": {
|
32 | "abstract-leveldown": "3.0.0",
|
33 | "async": "2.6.2",
|
34 | "bip39": "2.5.0",
|
35 | "cachedown": "1.0.0",
|
36 | "clone": "2.1.2",
|
37 | "debug": "3.2.6",
|
38 | "encoding-down": "5.0.4",
|
39 | "eth-sig-util": "3.0.0",
|
40 | "ethereumjs-abi": "0.6.8",
|
41 | "ethereumjs-account": "3.0.0",
|
42 | "ethereumjs-block": "2.2.2",
|
43 | "ethereumjs-common": "1.5.0",
|
44 | "ethereumjs-tx": "2.1.2",
|
45 | "ethereumjs-util": "6.2.1",
|
46 | "ethereumjs-vm": "4.2.0",
|
47 | "ethereumjs-wallet": "0.6.5",
|
48 | "heap": "0.2.6",
|
49 | "keccak": "3.0.1",
|
50 | "level-sublevel": "6.6.4",
|
51 | "levelup": "3.1.1",
|
52 | "lodash": "4.17.20",
|
53 | "lru-cache": "5.1.1",
|
54 | "merkle-patricia-tree": "3.0.0",
|
55 | "patch-package": "6.2.2",
|
56 | "seedrandom": "3.0.1",
|
57 | "source-map-support": "0.5.12",
|
58 | "tmp": "0.1.0",
|
59 | "web3": "1.2.11",
|
60 | "web3-provider-engine": "14.2.1",
|
61 | "websocket": "1.0.32"
|
62 | },
|
63 | "devDependencies": {
|
64 | "@types/web3": "^1.0.19",
|
65 | "assert-match": "^1.1.1",
|
66 | "browserfs": "1.4.3",
|
67 | "coveralls": "^3.0.9",
|
68 | "cross-env": "6.0.3",
|
69 | "eslint": "6.8.0",
|
70 | "eslint-config-standard": "14.1.0",
|
71 | "eslint-plugin-import": "2.20.0",
|
72 | "eslint-plugin-node": "11.0.0",
|
73 | "eslint-plugin-promise": "4.2.1",
|
74 | "eslint-plugin-standard": "4.0.1",
|
75 | "ethereumjs-wallet": "0.6.5",
|
76 | "ethers": "4.0.48",
|
77 | "husky": "4.0.10",
|
78 | "js-scrypt": "0.2.0",
|
79 | "lint-staged": "10.0.0",
|
80 | "memdown": "5.1.0",
|
81 | "mocha": "7.2.0",
|
82 | "mocha-lcov-reporter": "^1.3.0",
|
83 | "number-to-bn": "1.7.0",
|
84 | "nyc": "^15.1.0",
|
85 | "pify": "4.0.1",
|
86 | "portfinder": "^1.0.25",
|
87 | "prettier": "^1.19.1",
|
88 | "request": "^2.88.0",
|
89 | "semver": "7.1.1",
|
90 | "solc": "0.6.1",
|
91 | "temp": "0.9.1",
|
92 | "terser-webpack-plugin": "2.3.8",
|
93 | "web3": "1.2.11",
|
94 | "webpack": "4.41.5",
|
95 | "webpack-bundle-size-analyzer": "3.1.0",
|
96 | "webpack-cli": "3.3.10"
|
97 | },
|
98 | "optionalDependencies": {
|
99 | "ethereumjs-wallet": "0.6.5",
|
100 | "web3": "1.2.11"
|
101 | },
|
102 | "repository": {
|
103 | "type": "git",
|
104 | "url": "https://github.com/trufflesuite/ganache-core"
|
105 | },
|
106 | "license": "MIT",
|
107 | "husky": {
|
108 | "hooks": {
|
109 | "pre-commit": "lint-staged"
|
110 | }
|
111 | },
|
112 | "lint-staged": {
|
113 | "*.js": [
|
114 | "prettier --write",
|
115 | "eslint --fix --ignore-path .gitignore",
|
116 | "git add"
|
117 | ]
|
118 | },
|
119 | "eslintConfig": {
|
120 | "root": true,
|
121 | "env": {
|
122 | "node": true,
|
123 | "es6": true
|
124 | },
|
125 | "parserOptions": {
|
126 | "ecmaVersion": 8,
|
127 | "sourceType": "module",
|
128 | "ecmaFeatures": {
|
129 | "impliedStrict": true
|
130 | }
|
131 | },
|
132 | "extends": "standard",
|
133 | "rules": {
|
134 | "brace-style": [
|
135 | "error",
|
136 | "1tbs",
|
137 | {
|
138 | "allowSingleLine": false
|
139 | }
|
140 | ],
|
141 | "curly": [
|
142 | "error",
|
143 | "all"
|
144 | ],
|
145 | "max-len": [
|
146 | "error",
|
147 | 120,
|
148 | {
|
149 | "ignoreRegExpLiterals": true
|
150 | }
|
151 | ],
|
152 | "quotes": [
|
153 | "error",
|
154 | "double"
|
155 | ],
|
156 | "semi": [
|
157 | "error",
|
158 | "always"
|
159 | ],
|
160 | "space-before-function-paren": [
|
161 | "error",
|
162 | "never"
|
163 | ],
|
164 | "wrap-iife": [
|
165 | "error",
|
166 | "outside"
|
167 | ]
|
168 | }
|
169 | },
|
170 | "prettier": {
|
171 | "printWidth": 120,
|
172 | "arrowParens": "always"
|
173 | }
|
174 | }
|