-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
114 lines (114 loc) · 4.78 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
{
"name": "@gooddollar/goodcontracts",
"version": "2.6.6",
"description": "GoodDollar Contracts",
"scripts": {
"prepack": "npm run minimize && cd stakingModel && npm run minimize && cd ../upgradables && npm run minimize && cd ..",
"build": "scripts/build.sh deploy",
"build:prod": "scripts/build.sh prod",
"build:all": "scripts/build.sh all",
"start": "run-p ganache deploy",
"start:lite": "run-p ganache deploy:lite",
"coverage": "export NODE_OPTIONS=--max_old_space_size=4096 && export ADMIN_MNEMONIC='myth like bonus scare over problem client lizard pioneer submit female collect' && export MNEMONIC='glad notable bullet donkey fall dolphin simple size stone evil slogan dinner' && run-s test:generate-typings && run-s test:tsc && truffle run coverage --network test",
"coverage:report": "cat coverage/lcov.info stakingModel/coverage/lcov.info upgradables/coverage/lcov.info | coveralls",
"testscript": "scripts/test.sh",
"ganache": "ganache-cli -m \"$MNEMONIC\" -b 1 -g 1000000 -l 9000000 --port 9545 --networkId 4447 -q",
"ganache:test": "ganache-cli -m \"$MNEMONIC\" -g 1000000 -l 9000000 --port 9545 --networkId 4447 -q --defaultBalanceEther 1000000",
"wait": "wait-on tcp:9545",
"minimize": "scripts/minimize.sh 'build/contracts'",
"deploy": "run-s migrate_reset:full minimize",
"deploy:lite": "run-s migrate_reset:lite minimize",
"deploy:otp": "run-s migrate_reset:otp minimize",
"deploy:ubi": "run-s migrate_reset:ubi minimize",
"deploy:signup": "run-s migrate_reset:signup minimize",
"test": "export ADMIN_MNEMONIC='myth like bonus scare over problem client lizard pioneer submit female collect' && export MNEMONIC='glad notable bullet donkey fall dolphin simple size stone evil slogan dinner' && run-s test:generate-typings && run-s test:tsc && run-s test:wait",
"test:wait": "run-p ganache:test test:ganache",
"test:generate-typings": "(rm ./build/contracts/*.min.json || true) && truffle compile && typechain --target truffle './build/**/*.json'",
"test:tsc": "tsc --noEmit",
"lint": "solhint --formatter codeframe develop/**/*.sol",
"test:ganache": "wait-on tcp:9545 && truffle test && pkill -SIGTERM -f ganache",
"migrate:ganache": "truffle migrate --to 2 --network ${NETWORK-develop}",
"migrate:full": "truffle migrate --network ${NETWORK-develop}",
"migrate_reset:full": "truffle migrate --network ${NETWORK-develop} --reset",
"migrate_reset:ubi": "truffle migrate -f 3 --to 3 --network ${NETWORK-develop} --reset",
"migrate_reset:signup": "truffle migrate -f 4 --to 4 --network ${NETWORK-develop} --reset",
"migrate_reset:otp": "truffle migrate -f 5 --to 5 --network ${NETWORK-develop} --reset",
"migrate_reset:lite": "truffle migrate -f 1 --to 2 --network ${NETWORK-develop} --reset"
},
"files": [
"build",
"contracts",
"migrations",
"releases",
"scripts",
"types",
"truffle-config.js",
"package-lock.json",
"stakingModel",
"stakingModel/build",
"upgradables/build",
"upgradables"
],
"repository": {
"type": "git",
"url": "https://github.com/GoodDollar/GoodContracts.git"
},
"keywords": [
"UBI",
"basic",
"income",
"gooddollar",
"ethereum",
"smart",
"contracts"
],
"author": "GoodDollar Community <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/GoodDollar/GoodContracts/issues"
},
"homepage": "https://gooddollar.org",
"dependencies": {
"truffle-flattener": "^1.4.4",
"truffle-safe-hdwallet-provider": "0.0.7"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/polyfill": "^7.2.5",
"@babel/preset-env": "^7.3.1",
"@babel/register": "^7.0.0",
"@daostack/arc": "0.0.1-rc.18",
"@types/chai": "^4.1.7",
"@types/jest": "^24.0.15",
"@types/mocha": "^5.2.6",
"@types/node": "^12.0.2",
"bignumber.js": "^8.1.1",
"bindings": "^1.4.0",
"coveralls": "^3.1.0",
"dotenv": "^6.2.0",
"eth-gas-reporter": "^0.2.4",
"fkill-cli": "^5.2.0",
"fs-extra": "^7.0.1",
"ganache-cli": "^6.12.2",
"ganache-cli-coverage": "https://github.com/frangio/ganache-cli/releases/download/v6.4.1-coverage/ganache-cli-coverage-6.4.1.tgz",
"jest": "^24.8.0",
"mocha-lcov-reporter": "^1.3.0",
"node-jq": "^1.6.0",
"npm-run-all": "^4.1.5",
"openzeppelin-solidity": "^2.1.2",
"solhint": "^2.0.0",
"solidity-coverage": "^0.7.11",
"truffle": "^5.1.36",
"truffle-hdwallet-provider": "^1.0.17",
"truffle-hdwallet-provider-privkey": "^0.3.0",
"truffle-plugin-verify": "^0.5.28",
"truffle-typings": "^1.0.6",
"ts-generator": "0.0.8",
"ts-jest": "^24.0.2",
"ts-node": "^8.1.0",
"typechain": "^0.3.14",
"typescript": "^3.4.5",
"update": "^0.7.4",
"wait-on": "^3.2.0"
}
}