57 lines
2.5 KiB
JSON
57 lines
2.5 KiB
JSON
{
|
|
"name": "oracle",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"lint": "eslint . --ignore-path ../.eslintignore",
|
|
"watcher:signature-request": "./scripts/start-worker.sh watcher signature-request-watcher",
|
|
"watcher:collected-signatures": "./scripts/start-worker.sh watcher collected-signatures-watcher",
|
|
"watcher:affirmation-request": "./scripts/start-worker.sh watcher affirmation-request-watcher",
|
|
"watcher:transfer": "./scripts/start-worker.sh watcher transfer-watcher",
|
|
"watcher:half-duplex-transfer": "./scripts/start-worker.sh watcher half-duplex-transfer-watcher",
|
|
"worker:swap-tokens": "./scripts/start-worker.sh worker swap-tokens-worker",
|
|
"worker:convert-to-chai": "./scripts/start-worker.sh worker convert-to-chai-worker",
|
|
"sender:home": "./scripts/start-worker.sh sender home-sender",
|
|
"sender:foreign": "./scripts/start-worker.sh sender foreign-sender",
|
|
"confirm:transfer": "./scripts/start-worker.sh confirmRelay transfer-watcher",
|
|
"dev": "concurrently -n 'watcher:signature-request,watcher:collected-signatures,watcher:affirmation-request,watcher:transfer,watcher:half-duplex-transfer, worker:swap-tokens, sender:home,sender:foreign' -c 'red,green,yellow,blue,white,gray,magenta,cyan' 'yarn watcher:signature-request' 'yarn watcher:collected-signatures' 'yarn watcher:affirmation-request' 'yarn watcher:transfer' 'yarn watcher:half-duplex-transfer' 'yarn worker:swap-tokens' 'yarn sender:home' 'yarn sender:foreign'",
|
|
"test": "NODE_ENV=test mocha",
|
|
"test:watch": "NODE_ENV=test mocha --watch --reporter=min",
|
|
"coverage": "NODE_ENV=test nyc --reporter=text --reporter=html mocha",
|
|
"postinstall": "mkdir -p logs"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"amqp-connection-manager": "^2.0.0",
|
|
"amqplib": "^0.5.2",
|
|
"bignumber.js": "^7.2.1",
|
|
"dotenv": "^5.0.1",
|
|
"http-list-provider": "0.0.5",
|
|
"ioredis": "^3.2.2",
|
|
"lodash": "^4.17.10",
|
|
"node-fetch": "^2.1.2",
|
|
"pino": "^4.17.3",
|
|
"pino-pretty": "^2.0.1",
|
|
"promise-limit": "^2.7.0",
|
|
"promise-retry": "^1.1.1",
|
|
"web3": "1.0.0-beta.34",
|
|
"web3-utils": "1.0.0-beta.34"
|
|
},
|
|
"devDependencies": {
|
|
"bn-chai": "^1.0.1",
|
|
"chai": "^4.1.2",
|
|
"chai-as-promised": "^7.1.1",
|
|
"concurrently": "^3.6.0",
|
|
"ndjson": "^1.5.0",
|
|
"nyc": "^12.0.2",
|
|
"proxyquire": "^2.0.1",
|
|
"simple-statistics": "^6.1.0",
|
|
"sinon": "^6.1.0"
|
|
},
|
|
"engines": {
|
|
"node": ">= 8.9"
|
|
}
|
|
}
|