|
6 | 6 | "build": "tsc -b", |
7 | 7 | "migrate": "node dist/scripts/run-migrations.js -m ./migrations -d POSTGRES_URL --no-check-order", |
8 | 8 | "start": "yarn migrate up 2>/dev/null && node ./dist/index.js", |
9 | | - "test": "yarn build && yarn migrate up && jest" |
| 9 | + "test": "yarn build && yarn migrate up && jest", |
| 10 | + "lint": "eslint --max-warnings 0 .", |
| 11 | + "lint:fix": "eslint --max-warnings 0 --fix .", |
| 12 | + "prepare": "husky" |
10 | 13 | }, |
11 | 14 | "resolutions": { |
12 | 15 | "strip-ansi": "5.x" |
13 | 16 | }, |
| 17 | + "lint-staged": { |
| 18 | + "package.json": [ |
| 19 | + "eslint --max-warnings 0" |
| 20 | + ], |
| 21 | + "tsconfig*.json": [ |
| 22 | + "eslint --max-warnings 0 --fix" |
| 23 | + ], |
| 24 | + "*.{js,ts}": [ |
| 25 | + "eslint --max-warnings 0 --fix" |
| 26 | + ] |
| 27 | + }, |
14 | 28 | "dependencies": { |
15 | | - "@aws-sdk/client-kms": "^3.891.0", |
16 | | - "@aws-sdk/credential-providers": "^3.864.0", |
17 | | - "@aws-sdk/rds-signer": "^3.864.0", |
18 | | - "@fastify/swagger": "^9.5.1", |
19 | | - "@fastify/swagger-ui": "^5.2.3", |
20 | | - "@fastify/type-provider-typebox": "^5.1.0", |
21 | | - "@near-js/providers": "^2.3.1", |
22 | | - "@reservoir0x/relay-protocol-sdk": "^0.0.60", |
23 | | - "@sinclair/typebox": "^0.34.14", |
24 | | - "@solana/web3.js": "^1.98.2", |
25 | | - "asn1.js": "^5.4.1", |
26 | | - "axios": "^1.8.3", |
27 | | - "bech32": "^2.0.0", |
28 | | - "bitcoinjs-lib": "^6.1.7", |
29 | | - "bn.js": "^5.2.2", |
30 | | - "bs58": "^6.0.0", |
31 | | - "ecpair": "^3.0.0", |
32 | | - "fastify": "^5.2.1", |
33 | | - "json-stable-stringify": "^1.3.0", |
34 | | - "node-cron": "^3.0.3", |
35 | | - "node-pg-migrate": "^7.9.0", |
36 | | - "pg": "^8.13.1", |
37 | | - "pg-promise": "^11.10.2", |
38 | | - "pg-query-stream": "^4.7.1", |
39 | | - "tiny-secp256k1": "^2.2.4", |
40 | | - "tronweb": "^6.0.4", |
41 | | - "tweetnacl": "^1.0.3", |
42 | | - "viem": "^2.22.8", |
43 | | - "winston": "^3.17.0", |
44 | | - "ws": "^8.18.1" |
| 29 | + "@aws-sdk/client-kms": "3.916.0", |
| 30 | + "@aws-sdk/credential-providers": "3.916.0", |
| 31 | + "@aws-sdk/rds-signer": "3.916.0", |
| 32 | + "@fastify/swagger": "9.5.2", |
| 33 | + "@fastify/swagger-ui": "5.2.3", |
| 34 | + "@fastify/type-provider-typebox": "5.2.0", |
| 35 | + "@near-js/providers": "2.3.4", |
| 36 | + "@reservoir0x/relay-protocol-sdk": "0.0.63", |
| 37 | + "@sinclair/typebox": "0.34.41", |
| 38 | + "@solana/web3.js": "1.98.4", |
| 39 | + "asn1.js": "5.4.1", |
| 40 | + "axios": "1.12.2", |
| 41 | + "bech32": "2.0.0", |
| 42 | + "bitcoinjs-lib": "6.1.7", |
| 43 | + "bn.js": "5.2.2", |
| 44 | + "bs58": "6.0.0", |
| 45 | + "ecpair": "3.0.0", |
| 46 | + "fastify": "5.6.1", |
| 47 | + "json-stable-stringify": "1.3.0", |
| 48 | + "node-cron": "3.0.3", |
| 49 | + "node-pg-migrate": "7.9.1", |
| 50 | + "pg": "8.16.3", |
| 51 | + "pg-promise": "11.15.0", |
| 52 | + "pg-query-stream": "4.10.3", |
| 53 | + "tiny-secp256k1": "2.2.4", |
| 54 | + "tronweb": "6.0.4", |
| 55 | + "tweetnacl": "1.0.3", |
| 56 | + "viem": "2.38.4", |
| 57 | + "winston": "3.18.3", |
| 58 | + "ws": "8.18.3" |
45 | 59 | }, |
46 | 60 | "devDependencies": { |
47 | | - "@jest/globals": "^29.7.0", |
48 | | - "@types/bn.js": "^5.2.0", |
49 | | - "@types/node": "^22.10.6", |
50 | | - "@types/node-cron": "^3.0.11", |
51 | | - "@types/ws": "^8.18.0", |
52 | | - "dotenv": "^16.4.7", |
53 | | - "jest": "^29.7.0", |
54 | | - "ts-jest": "^29.2.5", |
55 | | - "ts-node": "^10.9.2", |
56 | | - "typescript": "^5.7.3" |
| 61 | + "@jest/globals": "29.7.0", |
| 62 | + "@types/bn.js": "5.2.0", |
| 63 | + "@types/node": "22.18.12", |
| 64 | + "@types/node-cron": "3.0.11", |
| 65 | + "@types/ws": "8.18.1", |
| 66 | + "@typescript-eslint/eslint-plugin": "8.50.0", |
| 67 | + "@typescript-eslint/parser": "8.50.0", |
| 68 | + "dotenv": "16.6.1", |
| 69 | + "eslint": "9.39.2", |
| 70 | + "eslint-plugin-jsonc": "2.21.0", |
| 71 | + "eslint-plugin-package-json-dependencies": "1.0.20", |
| 72 | + "husky": "9.1.7", |
| 73 | + "jest": "29.7.0", |
| 74 | + "jsonc-eslint-parser": "2.4.2", |
| 75 | + "lint-staged": "16.2.7", |
| 76 | + "ts-jest": "29.4.5", |
| 77 | + "ts-node": "10.9.2", |
| 78 | + "typescript": "5.9.3" |
57 | 79 | } |
58 | 80 | } |
0 commit comments