-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
100 lines (100 loc) · 3.09 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
95
96
97
98
99
100
{
"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": "nodemon --config nodemon.json src/index.ts",
"build": "rimraf ./dist && tsc",
"start": "ts-node src/index.ts",
"prod": "node dist/index.js",
"migrate": "npx knex migrate:unlock --knexfile ./src/database/knexfile.ts && npx knex migrate:latest --knexfile ./src/database/knexfile.ts",
"migrate:down": "npx knex migrate:down --knexfile ./src/database/knexfile.ts",
"lint:ts": "eslint --fix 'src/**/*.ts'",
"prepare": "husky",
"test": "cross-env NODE_ENV=development METADATA_ENV=development LOG_DEBUG=yes mocha",
"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.26.0",
"@sentry/node": "^8.37.1",
"@sesamecare-oss/redlock": "^1.3.1",
"@socket.io/redis-adapter": "^8.3.0",
"@toruslabs/eccrypto": "^5.0.4",
"@toruslabs/loglevel-sentry": "^7.0.1",
"celebrate": "^15.0.3",
"cids": "^1.1.9",
"compression": "^1.7.5",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"elliptic": "^6.6.0",
"express": "^4.21.1",
"helmet": "^7.1.0",
"ioredis": "^5.4.1",
"js-sha3": "^0.9.3",
"json-stable-stringify": "^1.1.1",
"knex": "^3.1.0",
"knex-on-duplicate-update": "^2.3.3",
"loglevel": "^1.9.2",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"multihashing-async": "^2.1.4",
"mysql2": "3.11.4",
"redis": "^4.7.0",
"socket.io": "^4.8.1"
},
"devDependencies": {
"@tkey/storage-layer-torus": "^15.1.0",
"@toruslabs/config": "^2.2.0",
"@toruslabs/eslint-config-node": "^3.3.4",
"@toruslabs/http-helpers": "^7.0.0",
"@types/compression": "^1.7.5",
"@types/elliptic": "^6.4.18",
"@types/express": "^4.17.21",
"@types/json-stable-stringify": "^1.1.0",
"@types/mocha": "^10.0.9",
"@types/morgan": "^1.9.9",
"@types/multer": "^1.4.12",
"@types/node": "^22.9.0",
"atob": "^2.1.2",
"btoa": "^1.2.1",
"chai": "^4.4.1",
"chai-http": "^4.4.0",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"husky": "^9.1.6",
"mocha": "^10.8.2",
"nodemon": "^3.1.7",
"prettier": "^3.3.3",
"ts-node": "^10.9.2",
"typescript": "^5.6.3",
"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": ">=16.18.1",
"npm": ">=8.x"
}
}