generated from infinitydotxyz/typescript-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 5.08 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
{
"name": "matching-engine",
"version": "1.0.0",
"engines": {
"node": "16"
},
"scripts": {
"build": "npm run clean && tsc",
"clean": "rimraf ./dist",
"lint": "eslint . --ext .ts,.js",
"format": "prettier -w ./src",
"start": "node --max-old-space-size=4096 -r dotenv/config ./dist/bootstrap.js",
"start:goerli": "npm run build && npx cross-env CHAIN_ID=5 node --max-old-space-size=4096 -r dotenv/config -r module-alias/register ./dist/bootstrap.js",
"start:api:dev": "npm run build && npx cross-env ENABLE_FORKING=1 node --max-old-space-size=4096 -r dotenv/config -r module-alias/register ./dist/bootstrap.js",
"start:forked": "npx cross-env ENABLE_FORKING=1 node -r dotenv/config -r module-alias/register ./dist/index.js",
"start:dev": "npx cross-env ENABLE_FORKING=1 ts-node -r dotenv/config ./src/index.ts",
"start:dev:fb": "ts-node -r dotenv/config ./src/index.ts",
"start:prod": "npm run build && npm run start",
"start:fork": "./startFork.sh",
"setup:fork": "./setup.sh",
"start:fork:hh": "hardhat node --config ./hardhat.config.ts --network hardhat",
"setup:fork:hh": "hardhat run ./src/configure-fork.ts --network localhost --config ./hardhat.config.ts",
"start:prod:goerli:me": "npm run build && npx cross-env CHAIN_ID=5 INFINITY_NODE_ENV=prod IS_DEPLOYED=1 node -r dotenv/config -r module-alias/register ./dist/cli/start-matching-engine.js",
"start:prod:mainnet:me": "npm run build && npx cross-env CHAIN_ID=1 INFINITY_NODE_ENV=prod IS_DEPLOYED=1 node -r dotenv/config -r module-alias/register ./dist/cli/start-matching-engine.js",
"start:prod:goerli:ee": "npm run build && npx cross-env CHAIN_ID=5 INFINITY_NODE_ENV=prod IS_DEPLOYED=1 node -r dotenv/config -r module-alias/register ./dist/cli/start-execution-engine.js",
"start:prod:mainnet:ee": "npm run build && npx cross-env CHAIN_ID=1 INFINITY_NODE_ENV=prod IS_DEPLOYED=1 node -r dotenv/config -r module-alias/register ./dist/cli/start-execution-engine.js",
"reset-stats:prod:mainnet": "npm run build && npx cross-env CHAIN_ID=1 INFINITY_NODE_ENV=prod IS_DEPLOYED=1 node -r dotenv/config -r module-alias/register ./dist/cli/reset-stats.js",
"update:lib": "npm install @infinityxyz/lib@latest",
"pre:push": "npm run format && npm run lint && npm run build",
"test": "jest",
"build:contracts": "forge build",
"create-match": "npx cross-env ENABLE_FORKING=1 ts-node -r dotenv/config ./src/create-match.ts",
"deploy:prod:goerli:me": "npm run build && gcloud app deploy -q --appyaml=app.matching-engine.goerli.yaml --project=nftc-infinity --no-promote",
"deploy:prod:goerli:ee": "npm run build && gcloud app deploy -q --appyaml=app.execution-engine.goerli.yaml --project=nftc-infinity --no-promote",
"deploy:prod:goerli:api": "npm run build && gcloud app deploy -q --appyaml=app.api.goerli.yaml --project=nftc-infinity",
"deploy:prod:goerli:redis": "npx cross-env CHAIN_ID=5 cross-env PROJECT_ID=nftc-infinity ts-node -r dotenv/config ./src/deploy/index.ts",
"deploy:prod:mainnet:redis": "npx cross-env CHAIN_ID=1 cross-env PROJECT_ID=nftc-infinity ts-node -r dotenv/config ./src/deploy/index.ts",
"deploy:prod:mainnet:me": "npm run build && gcloud app deploy -q --appyaml=app.matching-engine.mainnet.yaml --project=nftc-infinity --no-promote",
"deploy:prod:mainnet:ee": "npm run build && gcloud app deploy -q --appyaml=app.execution-engine.mainnet.yaml --project=nftc-infinity --no-promote",
"deploy:prod:mainnet:api": "npm run build && gcloud app deploy -q --appyaml=app.api.mainnet.yaml --project=nftc-infinity"
},
"dependencies": {
"@fastify/cors": "^8.2.1",
"@flashbots/ethers-provider-bundle": "^0.6.1",
"@georgeroman/evm-tx-simulator": "^0.0.12",
"@infinityxyz/lib": "^1.344.1",
"@reservoir0x/sdk": "0.0.332",
"async-mutex": "^0.4.0",
"bullmq": "^3.4.1",
"dotenv": "^16.0.1",
"ethers": "^5.7.2",
"fastify": "^4.13.0",
"firebase-admin": "^11.4.0",
"ioredis": "^5.2.4",
"module-alias": "^2.2.2",
"nanoid": "^3.3.4",
"p-queue": "^6.6.2",
"phin": "^3.7.0",
"quick-lru": "5.1.1",
"redlock": "^5.0.0-beta.2",
"winston": "^3.8.2"
},
"devDependencies": {
"@google-cloud/redis": "^3.2.1",
"@nomiclabs/hardhat-ethers": "^2.2.1",
"@openzeppelin/contracts": "^4.8.0",
"@trivago/prettier-plugin-sort-imports": "^4.0.0",
"@types/ioredis-mock": "^8.2.1",
"@types/jest": "^27.5.0",
"@types/node": "^18.11.14",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"eslint": "^8.15.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.26.0",
"hardhat": "^2.12.5",
"ioredis-mock": "^8.2.2",
"jest": "^28.1.0",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"ts-jest": "^28.0.2",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.1",
"typescript": "^4.9.4"
},
"_moduleAliases": {
"@/config": "dist/config/index.js",
"@/common": "dist/common",
"@/lib": "dist/lib",
"@/scripts": "dist/scripts"
}
}