-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
148 lines (148 loc) · 3.25 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
{
"name": "wafr",
"version": "0.3.9",
"description": "A super simple test harness for Solidity smart-contracts.",
"scripts": {
"start": "npm test",
"npmcheckversion": "node ./internals/scripts/npmcheckversion.js",
"nodejscheckversion": "node ./internals/scripts/nodejscheckversion.js",
"test": "mocha src/tests/**/*.js -R spec --timeout 2000000",
"test:util": "mocha src/utils/tests/**/*.js -R spec --timeout 2000000",
"example": "node ./bin/wafr.js ./example/ --optimize 0",
"release": "npmpub",
"pretest": "npm run lint",
"lint": "npm run lint:js",
"lint:eslint": "eslint --ignore-path .gitignore",
"lint:js": "npm run lint:eslint -- . ",
"lint:staged": "lint-staged",
"coveralls": "cat ./coverage/lcov/lcov.info | coveralls"
},
"bin": {
"wafr": "./bin/wafr.js"
},
"authors": [
"Nick Dodson <nick.dodson@consensys.net>"
],
"engines": {
"npm": ">=3",
"node": ">=6.5.0"
},
"repository": {
"type": "git",
"url": "https://github.com/SilentCicero/wafr.git"
},
"main": "src/index.js",
"files": [
"scripts",
"bin",
"assets",
"src",
"docs",
"!**/src/tests"
],
"keywords": [
"ethereum",
"solidity",
"test",
"unit",
"smart-contract",
"wafr"
],
"license": "MIT",
"peerDependencies": {
"solc": "*"
},
"dependencies": {
"bn.js": "4.11.6",
"bufferutil": "1.2.1",
"chalk": "1.1.3",
"ethereumjs-abi": "0.6.4",
"ethereumjs-testrpc": "3.0.2",
"ethereumjs-util": "5.0.1",
"ethers-wallet": "1.0.8",
"execall": "^1.0.0",
"glob-to-regexp": "0.3.0",
"meow": "3.7.0",
"node-dir": "0.1.16",
"path": "0.12.7",
"solc": "^0.4.15",
"strip-comment": "^1.1.3",
"utf-8-validate": "1.2.1",
"web3": "0.16.0",
"ws": "1.1.1"
},
"devDependencies": {
"babel-eslint": "7.1.0",
"chai": "3.5.0",
"child_process": "1.0.2",
"coveralls": "2.11.9",
"cross-env": "1.0.7",
"eslint": "2.10.1",
"eslint-config-airbnb": "9.0.1",
"eslint-import-resolver-webpack": "0.2.4",
"eslint-plugin-import": "1.8.0",
"eslint-plugin-jsx-a11y": "1.2.0",
"eslint-plugin-react": "5.1.1",
"eventsource-polyfill": "0.9.6",
"lint-staged": "1.0.1",
"mocha": "2.4.5",
"pre-commit": "1.1.3",
"rimraf": "2.5.2",
"sinon": "2.0.0-pre"
},
"babel": {
"presets": [
"es2015"
],
"plugins": [
[
"module-resolver",
{
"root": [
"./src"
]
}
]
]
},
"lint-staged": {
"lint:eslint": "*.js"
},
"eslintConfig": {
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"node": true,
"mocha": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"import/no-unresolved": 2,
"comma-dangle": [
2,
"always-multiline"
],
"indent": [
2,
2,
{
"SwitchCase": 1
}
],
"no-console": 1,
"max-len": 0,
"prefer-template": 2,
"no-use-before-define": 0,
"newline-per-chained-call": 0,
"arrow-body-style": [
2,
"as-needed"
]
}
},
"pre-commit": "lint:staged"
}