generated from hirosystems/.github
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 2.94 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
{
"name": "@hirosystems/signer-metrics-api",
"description": "A microservice that indexes signer data from the Stacks blockchain and exposes it via JSON REST API endpoints",
"version": "1.0.0",
"main": "index.js",
"author": "Hiro Systems PBC <[email protected]> (https://hiro.so)",
"license": "GPL-3.0",
"scripts": {
"build": "rimraf ./dist && tsc --project tsconfig.build.json",
"build:tests": "tsc -p tsconfig.json --noEmit",
"start": "node ./dist/src/index.js",
"start-ts": "ts-node ./src/index.ts",
"test": "jest",
"test:unit": "jest --selectProjects unit-tests",
"test:db": "jest --selectProjects db-tests",
"test:api": "npm run test -- ./tests/api/",
"test:chainhook": "npm run test -- ./tests/chainhook/",
"testenv:run": "docker compose -f docker/docker-compose.dev.postgres.yml up",
"testenv:stop": "docker compose -f docker/docker-compose.dev.postgres.yml down -v -t 0",
"testenv:logs": "docker compose -f docker/docker-compose.dev.postgres.yml logs -t -f",
"migrate": "ts-node node_modules/.bin/node-pg-migrate -j ts",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"generate:openapi": "rimraf ./tmp && node -r ts-node/register ./util/openapi-generator.ts",
"generate:docs": "redocly build-docs ./tmp/openapi.yaml --output ./tmp/index.html",
"generate:git-info": "rimraf .git-info && node_modules/.bin/api-toolkit-git-info",
"generate:vercel": "npm run generate:git-info && npm run generate:openapi && npm run generate:docs",
"generate:client:typescript": "swagger-codegen generate -i ./tmp/openapi.yaml -l typescript-fetch -o ./client/typescript -c ./client/typescript.json"
},
"devDependencies": {
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@eslint/js": "^9.14.0",
"@redocly/cli": "^1.25.11",
"@types/dockerode": "^3.3.31",
"@types/eslint__js": "^8.42.3",
"@types/jest": "^29.5.11",
"@types/supertest": "^6.0.2",
"dockerode": "^4.0.2",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"husky": "^8.0.3",
"jest": "^29.7.0",
"prettier": "3.3.3",
"rimraf": "^6.0.1",
"socket.io-client": "^4.8.1",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.6.3",
"typescript-eslint": "^8.13.0"
},
"dependencies": {
"@fastify/cors": "^9.0.1",
"@fastify/swagger": "^8.15.0",
"@fastify/type-provider-typebox": "^4.1.0",
"@hirosystems/api-toolkit": "^1.7.1",
"@hirosystems/chainhook-client": "^2.3.0",
"@sinclair/typebox": "^0.28.17",
"@stacks/transactions": "^6.1.0",
"@types/node": "^20.16.1",
"bignumber.js": "^9.1.2",
"date-fns": "^4.1.0",
"env-schema": "^6.0.0",
"fastify": "^4.28.1",
"fastify-metrics": "^11.0.0",
"node-pg-migrate": "^6.2.2",
"p-queue": "^6.6.2",
"pino": "^9.5.0",
"postgres": "^3.4.5",
"socket.io": "^4.8.1"
}
}