forked from dharma-eng/dai-backstop-syndicate
-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
75 lines (75 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
{
"name": "dai-backstop-syndicate",
"version": "0.1.0",
"description": "A pooled liquidity contract for participating in the upcoming MKR auction at a \"backstop\" price of 1 MKR per 100 Dai.",
"repository": {
"type": "git",
"url": "https://github.com/dharma-eng/dai-backstop-syndicate"
},
"dependencies": {
"@openzeppelin/contracts": "2.3.0",
"ethereumjs-util": "6.1.0",
"ethlint": "1.2.5",
"js-sha256": "0.9.0",
"solhint": "2.3.0",
"solidity-coverage": "0.7.1",
"truffle": "5.1.5",
"typescript": "^3.8.3",
"web3": "1.2.1"
},
"devDependencies": {
"@types/chai-as-promised": "^7.1.0",
"@types/chai-string": "^1.4.1",
"@types/mocha": "^5.2.7",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chai-bignumber": "^3.0.0",
"chai-string": "^1.5.0",
"ethers": "^4.0.44",
"ganache-cli": "6.4.4",
"ganache-core": "2.5.6",
"husky": "^4.2.1",
"lint-staged": "^9.2.1",
"prettier": "1.16.4",
"pretty-quick": "^2.0.1",
"solc": "0.5.16",
"truffle-contract": "^4.0.22",
"tslint": "^5.18.0",
"typechain": "^1.0.3",
"typechain-target-ethers": "^1.0.3"
},
"scripts": {
"build": "rm -rf build && truffle compile --all && yarn gen:contract-typings && tsc -b",
"lint": "./node_modules/.bin/solhint 'contracts/**/*.sol' && ./node_modules/.bin/solium -d ./contracts --no-soliumignore",
"clean": "rm -rf build && rm -rf typings/contracts",
"ganache": "ganache-cli --networkId ${npm_package_config_ganacheNetworkID} --port ${npm_package_config_ganachePort} --gasLimit ${npm_package_config_ganacheGasLimit} --gasPrice ${npm_package_config_ganacheGasPrice} --defaultBalanceEther ${npm_package_config_etherBalance} --deterministic --mnemonic \"${npm_package_config_mnemonic}\" ${npm_package_config_extra} > ganache-output.log &",
"ganache:verbose": "ganache-cli --networkId ${npm_package_config_ganacheNetworkID} --port ${npm_package_config_ganachePort} --gasLimit ${npm_package_config_ganacheGasLimit} --gasPrice ${npm_package_config_ganacheGasPrice} --defaultBalanceEther ${npm_package_config_etherBalance} --deterministic --mnemonic \"${npm_package_config_mnemonic}\" ${npm_package_config_extra}",
"gen:contract-typings": "rm -f typings/contracts/* && typechain --target ethers --outDir typings/contracts './build/contracts/*.json'",
"start": "./node_modules/.bin/ganache-cli --gasLimit 10000000 -e 10000 2>&1 > ganache-output.log & echo 'local chain started.'",
"test": "tsc -b && truffle test --network ganache build/*.spec.js",
"coverage": "truffle run coverage --temp build --file='./build/*.spec.js'",
"stop": "kill -9 \"$(ps -ax | grep -m1 '[n]ode ./node_modules/.bin/ganache-cli' | awk '{print $1;}')\" && echo 'local chain stopped.'",
"prettier": "prettier --write"
},
"config": {
"mnemonic": "throw square aware vote shop rude paper question convince fiber turtle culture",
"ganacheNetworkID": 127001,
"ganachePort": 8545,
"ganacheGasLimit": "0xfffffffffff",
"ganacheGasPrice": "2",
"etherBalance": "100000",
"extra": ""
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,css,json,md}": [
"prettier --debug-check",
"prettier --write",
"git add"
]
}
}