This repository has been archived by the owner on Feb 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
119 lines (119 loc) · 5.43 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
{
"name": "@gnosis.pm/dx-services",
"version": "2.3.10",
"description": "",
"main": "src/runPublicApi.js",
"directories": {
"test": "test"
},
"bin": {
"dutchx-kovan": "./src/cli/cli-kovan.js",
"dutchx-rinkeby": "./src/cli/cli-rinkeby.js",
"dutchx-mainnet": "./src/cli/cli-mainnet.js"
},
"scripts": {
"install": "cd $INIT_CWD && npm explore truffle -- npm install [email protected]",
"start": "npm run api",
"api": "node src/runPublicApi.js",
"dev": "DEBUG=*-dx-service:*,*AuctionRepoImpl nodemon src/runPublicApi.js",
"trace": "DEBUG=* nodemon src/runPublicApi.js",
"api-rinkeby": "ENV_PATH=env/rinkeby nodemon src/runPublicApi.js",
"api-kovan": "ENV_PATH=env/kovan nodemon src/runPublicApi.js",
"api-mainnet": "ENV_PATH=env/mainnet nodemon src/runPublicApi.js",
"bots-script": "./src/run-bots.sh",
"bots": "node src/runBots.js",
"bots-dev": "DEBUG=ERROR-*,WARN-*,INFO-*,DEBUG-* nodemon src/runBots.js",
"bots-trace": "DEBUG=* node src/runBots.js",
"bots-rinkeby": "ENV_PATH=env/rinkeby-bots node src/runBots.js",
"bots-rinkeby-dev": "DEBUG=ERROR-*,WARN-*,INFO-*,DEBUG-* ENV_PATH=env/rinkeby-bots node src/runBots.js",
"bots-kovan": "ENV_PATH=env/kovan-bots node src/runBots.js",
"bots-mainnet": "ENV_PATH=env/mainnet-bots node src/runBots.js",
"test": "NODE_ENV=test jest",
"test:safe": "NODE_ENV=test jest tests/safe-module --testPathIgnorePatterns=\"node_modules\"",
"test-coverage": "NODE_ENV=test jest --coverage && cat ./coverage/lcov.info | coveralls",
"tdd": "NODE_ENV=test jest --watch",
"test-debug": "NODE_ENV=test DEBUG=* jest",
"arb-init": "yarn cli deposit 10 WETH && yarn cli deposit 10 UNI && yarn cli add-token-pair --file /tests/data/tokenPairs/local/UNI-WETH.js && yarn cli2 -t 14 && yarn cli state UNI-WETH",
"arb-ganache": "DEBUG=ERROR-*,WARN-*,INFO-*,DEBUG-* MARKETS=UNI-WETH node src/cli/arb-cli.js",
"cli": "node src/cli/cli.js",
"cli-rinkeby": "ENV_PATH=env/rinkeby node src/cli/cli.js",
"cli-rinkeby-dev": "DEBUG=ERROR-*,WARN-*,INFO-*,DEBUG-* ENV_PATH=env/rinkeby node src/cli/cli.js",
"cli-kovan": "ENV_PATH=env/kovan src/cli/cli.js",
"cli-mainnet": "ENV_PATH=env/mainnet node src/cli/cli.js",
"cli2": "node tests/playground/cli/bot-cli.js",
"arb": "node src/cli/arb-cli.js",
"arb-rinkeby": "ENV_PATH=env/rinkeby node src/cli/arb-cli.js",
"arb-kovan": "ENV_PATH=env/kovan node src/cli/arb-cli.js",
"arb-mainnet": "ENV_PATH=env/mainnet node src/cli/arb-cli.js",
"time": "watch -n 5 'npm run cli2 -- --time 0.1'",
"time-slow": "watch -n 10 'npm run cli2 -- --time 0.1'",
"time-fast": "watch -n 1 'npm run cli2 -- --time 0.2'",
"cli2-rinkeby": "ENV_PATH=env/rinkeby node tests/playground/cli/bot-cli.js",
"cli2-kovan": "ENV_PATH=env/kovan node tests/playground/cli/bot-cli.js",
"cli2-debug": "DEBUG=* node tests/playground/cli/bot-cli.js",
"data": "CACHE_ENABLED=false node tests/playground/cli/bot-cli.js --setup",
"rpc": "ganache-cli -d --mnemonic 'candy maple cake sugar pudding cream honey rich smooth crumble sweet treat' --defaultBalanceEther '500000000000'",
"truffle": "npx truffle",
"migrate": "npx truffle migrate",
"networks": "cd node_modules/@gnosis.pm/dx-contracts && npx truffle network",
"networks-clean": "cd node_modules/@gnosis.pm/dx-contracts && npx truffle network --clean",
"contracts-inject-network": "cd node_modules/@gnosis.pm/dx-contracts/ && node scripts/inject_network_info.js",
"setup": "npm run migrate && npm run data",
"tasks-claimFunds": "node src/tasks/claimFunds.js",
"tasks-generateWeeklyReport": "node src/tasks/generateWeeklyReport.js",
"tasks-generateDailyReport": "node src/tasks/generateDailyReport.js",
"doc": "esdoc",
"lint": "eslint .",
"swagger": "yaml2json src/web/publicApi/static/docs/dx-public-api.yml > src/web/publicApi/static/docs/dx-public-api.json ; yaml2json src/web/bots/static/docs/api/dx-bots-api.yml > src/web/bots/static/docs/api/dx-bots-api.json",
"format": "prettier-standard 'src/**/*.js'"
},
"repository": {
"type": "git",
"url": "[email protected]:gnosis/dx-services.git"
},
"license": "MIT",
"dependencies": {
"@gnosis.pm/dx-contracts": "2.0.0",
"@gnosis.pm/dx-price-oracle": "0.2.1",
"@gnosis.pm/dx-uniswap-arbitrage": "0.1.5",
"@gnosis.pm/owl-token": "2.0.0",
"@gnosis.pm/safe-modules": "^0.1.0",
"@gnosis.pm/util-contracts": "2.0.0",
"@slack/client": "^4.11.0",
"cors": "^2.8.5",
"coveralls": "^3.0.4",
"debug": "^4.1.1",
"dotenv": "^8.0.0",
"express": "^4.16.4",
"git-rev-sync": "^1.12.0",
"got": "^9.6.0",
"jest": "^24.8.0",
"lodash.clonedeep": "^4.5.0",
"moment": "^2.24.0",
"node-cache": "^4.2.0",
"node-schedule": "^1.3.2",
"qs": "^6.6.0",
"raven": "^2.6.4",
"truffle": "^4.1.15",
"truffle-contract": "^3.0.6",
"truffle-hdwallet-provider": "^1.0.5",
"web3-provider-engine": "^14.1.0",
"yargs": "^13.2.4"
},
"devDependencies": {
"commander": "^2.20.0",
"esdoc": "^1.1.0",
"esdoc-standard-plugin": "^1.0.0",
"eslint": "^5.16.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-jest": "^22.6.4",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-standard": "^4.0.0",
"ganache-cli": "^6.4.3",
"nodemon": "^1.19.1",
"prettier-standard": "^9.1.1",
"yamljs": "^0.3.0"
}
}