-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
89 lines (89 loc) · 3.05 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
{
"name": "Battleship-state-channels",
"version": "0.0.1",
"description": "Battleship game using generalized state channels.",
"scripts": {
"build": "tsc --project tsconfig.json",
"clean": "shx rm -rf lib",
"ganache": "ganache-cli --gasLimit 0xfffffffffff --port 9545 --account=\"${npm_package_config_unlockedAccount}\" -m \"${npm_package_config_mnemonic}\"",
"lint:fix": "yarn lint:ts:fix && yarn lint:sol:fix",
"lint": "yarn lint:ts && yarn lint:sol",
"lint:sol:fix": "solium -d contracts/ --fix",
"lint:sol": "solium -d .",
"lint:ts": "tsc --noEmit --project tsconfig.json && tslint -c tslint.json test/**/*.ts",
"lint:ts:fix": "tsc --noEmit --project tsconfig.json && tslint -c tslint.json test/**/*.ts --fix",
"precommit": "lint-staged",
"test": "yarn build && yarn truffle:test",
"testfiles": "yarn build && yarn truffle:testfiles",
"test:circleci": "yarn test",
"test:coverage": "solidity-coverage",
"truffle:compile": "truffle compile --all",
"truffle:console": "truffle console",
"truffle:migrate": "truffle migrate",
"truffle:test": "run-with-ganache $npm_package_config_testFiles",
"truffle:testfiles": "run-with-ganache"
},
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"contracts"
],
"lint-staged": {
"**/*.ts": [
"yarn lint:fix",
"git add"
],
"contracts/**/*.sol": [
"yarn lint:sol:fix",
"git add"
]
},
"config": {
"testFiles": "lib/**/**/*.spec.js",
"unlockedAccount": "0xf2f48ee19680706196e2e339e5da3491186e0c4c5030670656b0e0164837257d,1000000000000000000000000",
"mnemonic": "concert load couple harbor equip island argue ramp clarify fence smart topic"
},
"keywords": [
"ethereum",
"counterfactual",
"state channels",
"solidity"
],
"author": "Pawan Dhananjay",
"license": "MIT",
"devDependencies": {
"@counterfactual/configs": "https://github.com/counterfactual/configs.git#3f4cdd1cc203ad5cc7a11ab2e87fba9a77eaa482",
"@counterfactual/run-with-ganache": "https://github.com/counterfactual/run-with-ganache.git",
"@counterfactual/typescript-typings": "https://github.com/counterfactual/typescript-typings.git",
"@types/bignumber.js": "4.0.2",
"@types/mocha": "5.2.0",
"@types/node": "10.1.3",
"babel-eslint": "8.2.5",
"bn.js": "^4.11.8",
"decimal.js": "10.0.1",
"eth-gas-reporter": "0.1.9",
"ganache-cli": "6.1.3",
"husky": "0.14.3",
"lint-staged": "7.1.2",
"mocha": "5.2.0",
"shx": "0.3.2",
"solidity-coverage": "0.5.4",
"solium": "1.1.7",
"truffle": "4.1.12",
"truffle-migrate-off-chain": "0.1.4",
"ts-node": "7.0.0",
"tslint": "5.10.0",
"typescript": "2.9.2"
},
"dependencies": {
"@counterfactual/test-utils": "https://github.com/counterfactual/test-utils.git",
"chai": "4.1.2",
"chai-as-promised": "^7.1.1",
"chai-bignumber": "^2.0.2",
"chai-string": "^1.4.0",
"ethereumjs-util": "^5.2.0",
"ethers": "4.0.0-beta.12",
"openzeppelin-solidity": "^1.10.0",
"solc": "0.4.24"
}
}