-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
62 lines (62 loc) · 2.58 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
{
"name": "evm-ts",
"version": "0.0.1",
"main": "dist/FakeBlockchain.js",
"license": "MIT",
"scripts": {
"prepare": "patch-package",
"compile-solidity": "solcjs ./test/contracts/simple/*.sol --bin --abi -o ./test/contracts-compiled/simple --overwrite && solcjs ./test/contracts/calls/*.sol --bin --abi -o ./test/contracts-compiled/calls --overwrite && solcjs ./test/contracts/various-calls/*.sol --bin --abi -o ./test/contracts-compiled/various-calls --overwrite",
"format": "prettier --list-different '**/*.{ts,json,md, gql}'",
"format:fix": "prettier --write '**/*.{ts,json,md,gql}'",
"tslint": "tslint -p ./tsconfig.json -e 'node_modules/**/*' -e '**/node_modules/**/*' '**/*.ts'",
"tslint:fix": "tslint --fix --format stylish -p ./tsconfig.json -e 'node_modules/**/*' -e '**/node_modules/**/*' '**/*.ts'",
"tsc": "tsc --noEmit && tsc --project ./tsconfig.prod.json --noEmit",
"lint": "yarn format && yarn tslint && yarn tsc",
"lint:fix": "yarn format:fix && yarn tslint:fix && yarn tsc",
"test": "yarn lint && yarn test:mocha",
"test:coverage": "yarn lint && yarn test:mocha:coverage",
"test:fix": "yarn lint:fix && yarn test:mocha",
"test:mocha": "NODE_ENV=test mocha -r ts-node/register -r tsconfig-paths/register '**/*.spec.ts'",
"pretest:mocha": "yarn compile-solidity",
"test:mocha:coverage": "NODE_ENV=test nyc mocha -r ts-node/register -r tsconfig-paths/register '**/*.spec.ts'",
"pretest:mocha:coverage": "yarn compile-solidity",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"prebuild": "yarn test",
"build": "rm -rf ./dist && tsc -p ./tsconfig.prod.json"
},
"dependencies": {
"bn.js": "^4.11.8",
"deep-freeze": "^0.0.1",
"invariant": "^2.2.4",
"lodash": "^4.17.11",
"prettier": "^1.14.3",
"ts-essentials": "^1.0.0",
"tslint": "^5.11.0",
"typestrict": "^1.0.0"
},
"devDependencies": {
"@types/chai": "^4.1.5",
"@types/deep-freeze": "^0.1.1",
"@types/invariant": "^2.2.29",
"@types/lodash": "^4.14.116",
"@types/mocha": "^5.2.5",
"@types/node": "^10.10.3",
"chai": "^4.1.2",
"coveralls": "^3.0.2",
"ethereumjs-account": "^2.0.5",
"ethereumjs-tx": "^1.3.7",
"ethereumjs-util": "^5.2.0",
"ethereumjs-vm": "^2.4.0",
"krzkaczor-solc": "^0.4.24",
"merkle-patricia-tree": "^2.3.2",
"mocha": "^5.2.0",
"nyc": "^13.0.1",
"patch-package": "^5.1.1",
"rlp": "^2.1.0",
"strict-event-emitter-types": "^2.0.0",
"ts-node": "^6.0.5",
"tsconfig-paths": "^3.6.0",
"typescript": "^3.0.3",
"web3": "0.20.6"
}
}