/ packages / relayer / package.json
package.json
 1  {
 2    "name": "relayer",
 3    "version": "1.0.0",
 4    "description": "This project was bootstrapped with Fastify-CLI.",
 5    "main": "app.ts",
 6    "directories": {
 7      "test": "test"
 8    },
 9    "scripts": {
10      "test": "npm run build:ts && tsc -p test/tsconfig.json && tap --ts \"test/**/*.test.ts\"",
11      "start": "fastify start -l info dist/app.js",
12      "start:build": "npm run build && pnpm run start",
13      "build": "pnpm run typechain && pnpm run build:ts",
14      "build:ts": "tsc && pnpm run copy-assets",
15      "watch:ts": "tsc -w && pnpm run copy-assets",
16      "dev": "npm run build && concurrently -k -p \"[{name}]\" -n \"TypeScript,App\" -c \"yellow.bold,cyan.bold\" \"npm:watch:ts\" \"npm:dev:start\"",
17      "dev:start": "fastify start --ignore-watch=.ts$ -w -l info -P dist/app.js",
18      "typechain": "typechain ../contracts/build/contracts/contracts/GlobalAnonymousFeed.sol/GlobalAnonymousFeed.json --target ethers-v5 --out-dir src/abi --show-stack-traces",
19      "copy-assets": "cp -r ./src/assets ./dist/"
20    },
21    "keywords": [],
22    "author": "",
23    "license": "ISC",
24    "dependencies": {
25      "@ethersproject/bignumber": "^5.7.0",
26      "@ethersproject/providers": "^5.7.2",
27      "@ethersproject/wallet": "^5.7.0",
28      "@fastify/autoload": "^5.0.0",
29      "@fastify/sensible": "^5.0.0",
30      "fastify": "^4.0.0",
31      "fastify-cli": "^5.7.1",
32      "fastify-plugin": "^4.0.0",
33      "rlnjs": "^2.0.6",
34      "zkitter-js": "^1.1.11"
35    },
36    "devDependencies": {
37      "@ethersproject/abi": "^5.7.0",
38      "@ethersproject/abstract-provider": "^5.7.0",
39      "@fastify/cors": "^8.2.1",
40      "@fastify/static": "^6.10.0",
41      "@fastify/type-provider-json-schema-to-ts": "^2.2.2",
42      "@types/node": "^18.0.0",
43      "@types/tap": "^15.0.5",
44      "@unirep/contracts": "^2.0.0-beta-1",
45      "@unirep/circuits": "^2.0.0-beta-1",
46      "@unirep/utils": "^2.0.0-beta-1",
47      "concurrently": "^7.0.0",
48      "ethers": "^5.7.2",
49      "fastify-tsconfig": "^1.0.1",
50      "prettier": "^2.8.4",
51      "tap": "^16.1.0",
52      "ts-node": "^10.4.0",
53      "typechain": "^8.1.1",
54      "typescript": "^4.5.4"
55    }
56  }