forked from trufflesuite/ganache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
162 lines (162 loc) · 4.2 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
"name": "ganache-core",
"version": "2.5.7-beta.0",
"main": "./index.js",
"engines": {
"node": ">=8.9.0"
},
"directories": {
"lib": "./lib"
},
"scripts": {
"_mocha": "mocha --check-leaks --recursive --globals _scratch --opts ./test/.mocharc",
"nyc_mocha": "nyc mocha --check-leaks --recursive --globals _scratch --opts ./test/.mocharc",
"_lint": "eslint --ignore-path .gitignore .",
"build": "webpack-cli --config ./webpack/node/core.webpack.config.js",
"build-web": "webpack-cli --config ./webpack/web-experimental/core.webpack.config.js",
"format": "prettier --write \"{lib,perf,test}/**/*.js\" && eslint --fix --ignore-path .gitignore .",
"prepublishOnly": "npm run test && npm run build && npm run test-build && cp npm-shrinkwrap.json npm-shrinkwrap.json.bak && rm -rf node_modules/web3-providers-ws/node_modules/websocket/.git && npm prune --only=prod",
"postpublish": "rm npm-shrinkwrap.json && mv npm-shrinkwrap.json.bak npm-shrinkwrap.json && npm ci",
"test": "npm run _lint && npm run nyc_mocha",
"test-build": "cross-env TEST_BUILD=node npm run _mocha",
"test-web-experimental": "cross-env TEST_BUILD=web-experimental npm run _mocha",
"coverage": "nyc report --reporter=text-lcov | coveralls"
},
"dependencies": {
"abstract-leveldown": "3.0.0",
"async": "2.6.1",
"bip39": "2.5.0",
"bn.js": "4.11.8",
"cachedown": "1.0.0",
"clone": "2.1.2",
"debug": "3.1.0",
"encoding-down": "5.0.4",
"eth-sig-util": "2.1.2",
"ethereumjs-abi": "0.6.5",
"ethereumjs-account": "2.0.5",
"ethereumjs-block": "2.1.0",
"ethereumjs-tx": "1.3.7",
"ethereumjs-util": "5.2.0",
"ethereumjs-vm": "2.6.0",
"heap": "0.2.6",
"level-sublevel": "6.6.4",
"levelup": "3.1.1",
"lodash": "4.17.11",
"merkle-patricia-tree": "2.3.1",
"rlp": "2.1.0",
"seedrandom": "2.4.4",
"source-map-support": "0.5.9",
"tmp": "0.0.33",
"web3-provider-engine": "14.1.0",
"websocket": "1.0.26"
},
"devDependencies": {
"assert-match": "^1.1.1",
"browserfs": "1.4.3",
"coveralls": "^3.0.2",
"cross-env": "5.2.0",
"eslint": "5.7.0",
"eslint-config-standard": "12.0.0",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-node": "7.0.1",
"eslint-plugin-promise": "4.0.1",
"eslint-plugin-standard": "4.0.0",
"ethereumjs-wallet": "0.6.3",
"ethers": "4.0.26",
"husky": "^1.1.3",
"js-scrypt": "0.2.0",
"lint-staged": "^8.0.4",
"memdown": "^1.3.1",
"mocha": "5.2.0",
"mocha-lcov-reporter": "^1.3.0",
"number-to-bn": "1.7.0",
"nyc": "^14.1.1",
"pify": "4.0.0",
"portfinder": "^1.0.18",
"prettier": "^1.14.3",
"request": "^2.88.0",
"semver": "5.6.0",
"solc": "0.4.24",
"temp": "0.8.3",
"web3": "1.0.0-beta.35",
"webpack": "4.17.1",
"webpack-bundle-size-analyzer": "2.7.0",
"webpack-cli": "3.1.0"
},
"optionalDependencies": {
"ethereumjs-wallet": "0.6.3",
"web3": "1.0.0-beta.35"
},
"repository": {
"type": "git",
"url": "https://github.com/trufflesuite/ganache-core"
},
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"prettier --write",
"eslint --fix --ignore-path .gitignore",
"git add"
]
},
"eslintConfig": {
"root": true,
"env": {
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true
}
},
"extends": "standard",
"rules": {
"brace-style": [
"error",
"1tbs",
{
"allowSingleLine": false
}
],
"curly": [
"error",
"all"
],
"max-len": [
"error",
120,
{
"ignoreRegExpLiterals": true
}
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
],
"space-before-function-paren": [
"error",
"never"
],
"wrap-iife": [
"error",
"outside"
]
}
},
"prettier": {
"printWidth": 120,
"arrowParens": "always"
}
}