Add concurrently for correct local deployment & bump tsyringe for types

This commit is contained in:
Theo 2023-07-09 19:48:46 -07:00
parent 0c33fcd54d
commit 0fe61d572f

@ -3,10 +3,11 @@
"version": "5.0.0",
"description": "Relayer for Tornado.cash privacy solution. https://tornado.cash",
"scripts": {
"start": "yarn build; docker-compose up -d redis; yarn server & yarn txWorker & yarn healthWorker",
"start": "yarn build && docker-compose up -d redis && concurrently \"yarn server\" \"yarn txWorker\" \"yarn healthWorker\"",
"server": "node build/src/app/index.js",
"txWorker": "node build/src/txWorker.js",
"healthWorker": "node build/src/healthWorker.js",
"dev": "docker-compose up -d redis && concurrently \"yarn dev:server\" \"yarn dev:txWorker\" \"yarn dev:healthWorker\"",
"dev:server": "nodemon --watch './src/**/*.ts' --exec ts-node src/app/index.ts",
"dev:healthWorker": "nodemon --watch './src/**/*.ts' --exec ts-node src/healthWorker.ts",
"dev:txWorker": "nodemon --watch './src/**/*.ts' --exec ts-node src/txWorker.ts",
@ -26,6 +27,7 @@
"ajv": "^8.11.0",
"bullmq": "^1.80.6",
"compare-versions": "^4.1.3",
"concurrently": "^8.2.0",
"dotenv": "^8.2.0",
"ethers": "^5.6.4",
"fastify": "^4.2.0",
@ -36,14 +38,14 @@
"reflect-metadata": "^0.1.13",
"telegraf": "^4.8.2",
"torn-token": "^1.0.8",
"tsyringe": "^4.7.0",
"tsyringe": "^4.8.0",
"tx-manager": "^0.4.9",
"uuid": "^8.3.0"
},
"devDependencies": {
"@typechain/ethers-v5": "^10.0.0",
"@types/ioredis": "^4.28.10",
"@types/node": "^18.0.1",
"@types/node": "^20.4.1",
"@types/tap": "^15.0.7",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.20.0",