-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 3.09 KB
/
package.json
File metadata and controls
99 lines (99 loc) · 3.09 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
{
"name": "torus-metadata",
"version": "1.0.0",
"description": "Torus metadata server",
"main": "index.js",
"scripts": {
"dev": "docker compose -f docker-compose.dev.yml up --build",
"down": "docker compose -f docker-compose.dev.yml down",
"serve": "tsx watch --env-file=.env.development src/index.ts",
"build": "rimraf ./dist && tsc",
"start": "tsx src/index.ts",
"prod": "node dist/index.js",
"migrate": "npm run migrate:down && npm run migrate:latest",
"migrate:latest": "NODE_OPTIONS='--import tsx' npx knex migrate:latest --knexfile ./src/database/knexfile.ts",
"migrate:down": "NODE_OPTIONS='--import tsx' npx knex migrate:down --knexfile ./src/database/knexfile.ts",
"lint": "eslint --fix 'src/**/*.ts' 'test/**/*.ts'",
"prepare": "husky",
"test": "vitest run --config=test/node.config.mts",
"test:ci": "docker compose -f docker-compose-ci.yml up --build --abort-on-container-exit --exit-code-from torus-metadata",
"down:ci": "docker compose -f docker-compose-ci.yml down"
},
"keywords": [],
"author": "Chaitanya Potti",
"license": "ISC",
"dependencies": {
"@babel/runtime": "^7.28.6",
"@sentry/node": "^10.42.0",
"@sesamecare-oss/redlock": "^1.4.0",
"@socket.io/redis-adapter": "^8.3.0",
"@toruslabs/eccrypto": "^7.0.0",
"@toruslabs/loglevel-sentry": "^9.0.0",
"@toruslabs/metadata-helpers": "^8.2.0",
"celebrate": "^15.0.3",
"cids": "^1.1.9",
"compression": "^1.8.1",
"cors": "^2.8.6",
"dotenv": "^17.3.1",
"express": "^5.2.1",
"helmet": "^8.1.0",
"ioredis": "^5.10.0",
"json-stable-stringify": "^1.3.0",
"knex": "^3.1.0",
"knex-on-duplicate-update": "^2.3.3",
"loglevel": "^1.9.2",
"morgan": "^1.10.1",
"multer": "^2.1.1",
"multihashing-async": "^2.1.4",
"mysql2": "3.19.0",
"redis": "^5.11.0",
"socket.io": "^4.8.3"
},
"devDependencies": {
"@tkey/storage-layer-torus": "^17.1.0",
"@toruslabs/config": "^4.0.0",
"@toruslabs/eslint-config-node": "^5.0.1",
"@toruslabs/http-helpers": "^9.0.0",
"@types/compression": "^1.8.1",
"@types/elliptic": "^6.4.18",
"@types/express": "^5.0.6",
"@types/json-stable-stringify": "^1.2.0",
"@types/morgan": "^1.9.10",
"@types/multer": "^2.0.0",
"@types/node": "^25.3.3",
"atob": "^2.1.2",
"btoa": "^1.2.1",
"cross-env": "^10.1.0",
"elliptic": "^6.6.1",
"eslint": "^9.24.0",
"husky": "^9.1.7",
"js-sha3": "^0.9.3",
"prettier": "^3.8.1",
"rimraf": "^6.1.3",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"vitest": "^4.0.18",
"wait-port": "^1.1.0"
},
"lint-staged": {
"*.{ts,js}": [
"eslint --cache --fix",
"prettier --write"
],
"*.{json,yaml,yml}": [
"prettier --write"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/torusresearch/torus-metadata.git"
},
"bugs": {
"url": "https://github.com/torusresearch/torus-metadata/issues"
},
"homepage": "https://github.com/torusresearch/torus-metadata#readme",
"engines": {
"node": ">=22.x",
"npm": ">=10.x"
}
}