forked from noahsaso/argus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
147 lines (147 loc) · 6.42 KB
/
package.json
File metadata and controls
147 lines (147 loc) · 6.42 KB
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"name": "argus",
"version": "0.3.27",
"description": "",
"license": "AGPL-3.0-only",
"scripts": {
"postinstall": "patch-package",
"lint": "eslint .",
"format": "eslint . --fix",
"test": "NODE_ENV=test node --nolazy --inspect=0.0.0.0:9227 ./node_modules/vitest/vitest.mjs --no-file-parallelism",
"docker:test": "docker compose -f compose.test.yml up --exit-code-from test",
"docker:test:dump": "docker compose -f compose.dump-test.yml up --exit-code-from test",
"docker:test:computer": "docker compose -f compose.test.yml -f compose.test-computer.yml up --exit-code-from test",
"coverage": "npm run test -- --coverage",
"build": "tsc && tsup",
"build:only": "tsup",
"build:watch": "tsup --watch",
"postbuild": "npm run autodoc",
"db:init": "npm run db:migrate:data; npm run db:setup -- -f",
"db:setup": "node dist/scripts/db/setup.js",
"db:seed": "node dist/scripts/db/seed.js",
"db:seed:dev": "node dist/scripts/db/seedDev.js",
"db:alter": "node dist/scripts/db/alter.js",
"db:migrate:data": "MIGRATING_DB=true sequelize-cli db:migrate --env data",
"db:migrate:accounts": "MIGRATING_DB=true sequelize-cli db:migrate --env accounts",
"infisical:run": "infisical run --token $INFISICAL_TOKEN --projectId $INFISICAL_PROJECT_ID --env $INFISICAL_ENVIRONMENT --",
"infisical:renew": "sh infisical-renew.sh",
"with-infisical": "dotenv -- npm run infisical:run --",
"with-dotenv": "dotenv --",
"clear-cache": "node dist/scripts/clearCache.js",
"tracer": "node dist/scripts/tracer.js",
"listener": "node dist/scripts/listener.js",
"workers": "node dist/scripts/workers.js",
"workers:export": "node dist/scripts/worker-export.js",
"update-tracked-wasm-codes": "node dist/scripts/update-tracked-wasm-codes.js",
"trace:prod": "npm install && npm run build; pm2 delete all; npm run with-infisical -- npm run db:migrate:data && pm2 start ecosystem.config.js --only tracer,workers,workers-bg,renew-infisical-token && pm2 save",
"listen:prod": "npm install && npm run build; pm2 delete all; npm run with-infisical -- npm run db:migrate:data && pm2 start ecosystem.config.js --only listener,workers,workers-bg && pm2 save",
"account-webhooks": "node dist/scripts/accountWebhooks.js",
"transform": "node dist/scripts/transform.js",
"sync-extractors": "node dist/scripts/syncExtractors.js",
"pre-compute": "node dist/scripts/preCompute.js",
"revalidate": "node dist/scripts/revalidate.js",
"flood": "node dist/scripts/flood.js",
"renew-infisical-token": "npx @infisical/cli renew --token $INFISICAL_TOKEN --projectId $INFISICAL_PROJECT_ID --env $INFISICAL_ENVIRONMENT",
"serve": "node dist/server/serve.js",
"serve:dev": "docker compose -f compose.dev.yml up",
"serve:dev:nodocker": "nodemon --watch dist --signal SIGTERM --exec \"node dist/server/serve.js\"",
"serve:dev:nodocker:accounts": "nodemon --watch dist --signal SIGTERM --exec \"node dist/server/serve.js -a\"",
"serve:dev:nodocker:testnet": "nodemon --watch dist --signal SIGTERM --exec \"node dist/server/serve.js -c config.testnet.json\"",
"serve:dev:nodocker:mainnet": "nodemon --watch dist --signal SIGTERM --exec \"node dist/server/serve.js -c config.mainnet.json\"",
"serve:remote": "docker compose -f compose.remote.yml up",
"serve:prod": "npm install && npm run build && pm2 reload ecosystem.config.js --only server && pm2 save",
"serve:prod:accounts": "npm run build && pm2 reload ecosystem.config.js --only server_accounts",
"search:update": "node dist/scripts/searchUpdate.js",
"console": "node dist/scripts/console.js",
"dumpContracts": "node dist/scripts/dumpContracts.js",
"autodoc": "node dist/scripts/autodoc.js",
"docker:build": "docker buildx build --platform linux/amd64 -t argus ."
},
"author": "Noah Saso <noah@intentional.love>",
"devDependencies": {
"@cosmjs/proto-signing": "^0.32.3",
"@infisical/cli": "^0.43.23",
"@swc/core": "^1.6.3",
"@types/cls-hooked": "^4.3.4",
"@types/crypto-js": "^4.1.1",
"@types/jsonwebtoken": "^9.0.1",
"@types/koa": "^2.13.5",
"@types/koa-basic-auth": "^2.0.4",
"@types/koa-mount": "^4.0.3",
"@types/koa-static": "^4.0.4",
"@types/lodash.groupby": "^4.6.7",
"@types/lodash.isequal": "^4.5.6",
"@types/node": "^18.11.10",
"@types/prettier": "^2.7.1",
"@types/redis-info": "^3.0.1",
"@types/semver": "^7.5.8",
"@types/supertest": "^2.0.12",
"@types/validator": "^13.7.10",
"@types/ws": "^8.5.5",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"chalk": "^5.4.1",
"dotenv-cli": "^8.0.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-unused-imports": "^3.0.0",
"mock-socket": "^9.3.1",
"node-mocks-http": "^1.17.0",
"nodemon": "^2.0.20",
"openapi-types": "^12.1.3",
"patch-package": "^8.0.0",
"pm2": "^5.3.0",
"prettier": "^2.8.0",
"sequelize-cli": "^6.6.0",
"ts-node": "^10.9.1",
"tsup": "^8.0.2",
"typescript": "^5.9.2",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.1.2",
"vitest-websocket-mock": "^0.5.0"
},
"dependencies": {
"@bull-board/koa": "^5.8.4",
"@burnt-labs/xion-types": "^21.0.0-alpha.3",
"@cosmjs/amino": "^0.32.3",
"@cosmjs/cosmwasm-stargate": "^0.32.3",
"@cosmjs/crypto": "^0.32.3",
"@cosmjs/encoding": "^0.32.3",
"@cosmjs/stargate": "^0.32.3",
"@cosmjs/tendermint-rpc": "^0.32.3",
"@dao-dao/types": "^2.7.1-rc.5",
"@koa/cors": "^4.0.0",
"@koa/router": "^12.0.0",
"@sentry/node": "^7.31.0",
"@types/koa__cors": "^3.3.0",
"@types/koa__router": "^12.0.0",
"axios": "^1.3.6",
"bullmq": "^4.12.0",
"commander": "^9.4.1",
"crypto-js": "^4.1.1",
"ejs": "^3.1.9",
"jsonwebtoken": "^9.0.0",
"koa": "^2.13.4",
"koa-basic-auth": "^4.0.0",
"koa-body": "^6.0.1",
"koa-mount": "^4.0.0",
"koa-static": "^5.0.0",
"koa2-swagger-ui": "^5.10.0",
"lodash.groupby": "^4.6.0",
"lodash.isequal": "^4.5.0",
"lru-cache": "^10.0.0",
"meilisearch": "^0.30.0",
"pg": "^8.8.0",
"pg-hstore": "^2.3.4",
"pusher": "^5.1.2",
"reflect-metadata": "^0.1.13",
"semver": "^7.6.2",
"sequelize": "^6.26.0",
"sequelize-typescript": "^2.1.5",
"supertest": "^6.3.3",
"wait-port": "^1.0.4",
"ws": "^8.13.0"
}
}