-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 2.31 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 2.31 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
{
"name": "@stx-labs/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.3",
"engines": {
"node": ">=24"
},
"type": "module",
"main": "./dist/src/index.js",
"author": "Stacks Labs",
"license": "GPL-3.0",
"scripts": {
"build": "rimraf ./dist && tsc --project tsconfig.build.json",
"start": "node ./dist/src/index.js",
"start-ts": "tsx ./src/index.ts",
"test:unit": "NODE_ENV=test node --import tsx --test --test-concurrency=1 ./tests/unit/**/*.test.ts",
"test:db": "NODE_ENV=test node --import tsx --test --test-global-setup=./tests/db/setup.ts --test-concurrency=1 ./tests/db/**/*.test.ts",
"migrate": "tsx ./node_modules/node-pg-migrate/bin/node-pg-migrate -j ts",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"vendor-secp256k1": "mkdir -p src/vendored/@noble/secp256k1 && cp node_modules/@noble/secp256k1/index.ts src/vendored/@noble/secp256k1/index.ts",
"generate:openapi": "rimraf ./openapi.yaml && NODE_ENV=development node --import tsx ./util/openapi-generator.ts",
"generate:git-info": "rimraf .git-info && node_modules/.bin/api-toolkit-git-info"
},
"prettier": "@stacks/prettier-config",
"devDependencies": {
"@stacks/api-test-toolkit": "^1.13.0",
"@stacks/eslint-config": "3.0.0-develop.2",
"@stacks/prettier-config": "^0.0.10",
"@types/supertest": "^6.0.2",
"eslint": "10.1.0",
"eslint-plugin-prettier": "5.5.5",
"eslint-plugin-tsdoc": "0.5.2",
"prettier": "3.3.3",
"rimraf": "^6.0.1",
"socket.io-client": "^4.8.1",
"supertest": "^7.0.0",
"tsx": "^4.19.3",
"typescript": "^5.6.3",
"typescript-eslint": "^8.13.0"
},
"dependencies": {
"@fastify/cors": "^11.2.0",
"@fastify/swagger": "^9.7.0",
"@fastify/type-provider-typebox": "^6.1.0",
"@noble/secp256k1": "^3.0.0",
"@sinclair/typebox": "^0.34.48",
"@stacks/api-toolkit": "^1.13.0",
"@stacks/node-publisher-client": "^2.0.6",
"@stacks/transactions": "^7.4.0",
"@types/node": "^24.0.0",
"bignumber.js": "^10.0.2",
"date-fns": "^4.1.0",
"env-schema": "^7.0.0",
"fastify": "^5.8.2",
"fastify-metrics": "^12.1.0",
"node-pg-migrate": "^7.9.1",
"p-queue": "^9.1.2",
"socket.io": "^4.8.3"
}
}