@merkl/api 0.10.124 → 0.10.126

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,89 @@
1
+ {
2
+ "name": "@merkl/api",
3
+ "type": "module",
4
+ "types": "./dist/src/eden/index.d.ts",
5
+ "main": "./dist/src/eden/index.js",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "scripts": {
10
+ "cmd": "bun run scripts/cmd.ts",
11
+ "container": "chmod +x scripts/run.sh && FORCE_COLOR=true ./scripts/run.sh bun run ./scripts/config.ts",
12
+ "db:generate": "bunx prisma generate --schema database/api/schema.prisma && bunx prisma generate --schema database/engine/schema.prisma",
13
+ "db:migrate:deploy": "bunx prisma migrate deploy --schema database/api/schema.prisma",
14
+ "db:migrate:dev": "bunx prisma migrate dev --schema database/api/schema.prisma",
15
+ "db:migrate:reset": "bunx prisma migrate reset --schema database/api/schema.prisma",
16
+ "db:seed:api": "bun run database/api/seeder/index.ts",
17
+ "db:studio:api": "bunx prisma studio --schema database/api/schema.prisma",
18
+ "db:studio:engine": "bunx prisma studio --schema database/engine/schema.prisma",
19
+ "lint": "biome check --diagnostic-level error --write ./src && biome check --diagnostic-level error --write ./tests",
20
+ "lint:ci": "biome check --diagnostic-level error ./src",
21
+ "lint:test": "biome check --write ./tests",
22
+ "pack": "rm -rf dist temp; bunx tsc --project ./tsconfig.package.json; mkdir -p ./dist/database/api/.generated && cp -r ./database/api/.generated ./dist/database/api/; mkdir -p ./dist/database/engine/.generated && cp -r ./database/engine/.generated ./dist/database/engine/; cp ./package.json ./dist/package.json; tscpaths -p ./tsconfig.package.json -s ./ -o ./dist && mkdir temp && cp dist/src/eden/index.js ./temp && find ./dist/ -type f -name \"*.js\" -exec rm -f {} + && cp ./temp/index.js dist/src/eden/index.js && rm -rf temp",
23
+ "pull-db": "prisma db pull && prisma generate",
24
+ "pull-db:local": "DATABASE_URL=postgresql://postgres:postgres@0.0.0.0:5432/merkl-calc prisma db pull && prisma generate",
25
+ "setup": "code --install-extension .vscode/extensions/merkl:helpers-0.0.1.vsix",
26
+ "sql": "lsof -i :1234 && lsof -i :2345",
27
+ "start:local": "bun scripts/start.ts",
28
+ "sync": "bun install && git submodule update --init --recursive --remote & git submodule foreach 'bun install'",
29
+ "test": "bun test"
30
+ },
31
+ "dependencies": {
32
+ "@bogeychan/elysia-logger": "^0.0.13",
33
+ "@elysiajs/cors": "^0.7.2",
34
+ "@elysiajs/swagger": "^0.7.4",
35
+ "@ethersproject/abi": "^5.7.0",
36
+ "@prisma/client": "6.0.1",
37
+ "@sinclair/typebox": "^0.33.4",
38
+ "@types/crypto-js": "^4.2.1",
39
+ "@types/lodash": "^4.17.12",
40
+ "@types/node": "^22.7.9",
41
+ "axios": "^1.7.3",
42
+ "big.js": "^6.2.1",
43
+ "brotli": "^1.3.3",
44
+ "buffer-reverse": "^1.0.1",
45
+ "commander": "^12.1.0",
46
+ "crypto-js": "^4.2.0",
47
+ "dd-trace": "^5.22.0",
48
+ "elysia": "1.0.9",
49
+ "elysia-autoroutes": "^0.5.0",
50
+ "elysia-rate-limit": "^4.1.0",
51
+ "ethers": "^5.7.2",
52
+ "ethers-types": "3.17.0",
53
+ "graphql-request": "^3.6.1",
54
+ "jsbi": "^4.3.0",
55
+ "json-shrink": "^0.0.124",
56
+ "lodash": "^4.17.21",
57
+ "moment": "^2.29.4",
58
+ "node-cache": "^5.1.2",
59
+ "pino": "^8.17.1",
60
+ "pino-pretty": "^10.3.0",
61
+ "redis": "^4.7.0",
62
+ "treeify": "^1.1.0",
63
+ "tscpaths": "^0.0.9",
64
+ "uuid": "^9.0.1",
65
+ "viem": "^2.21.27",
66
+ "@elysiajs/eden": "1.0.9"
67
+ },
68
+ "devDependencies": {
69
+ "@biomejs/biome": "^1.6.3",
70
+ "@types/big.js": "^6.2.2",
71
+ "@types/bun": "^1.1.14",
72
+ "@types/treeify": "^1.0.3",
73
+ "@types/uuid": "^9.0.7",
74
+ "bun-types": "latest",
75
+ "prisma": "^6.0.1"
76
+ },
77
+ "repository": {
78
+ "type": "git",
79
+ "url": "https://github.com/AngleProtocol/merkl-api"
80
+ },
81
+ "prisma": {
82
+ "seed": "bun run database/api/seeder/index.ts"
83
+ },
84
+ "publishConfig": {
85
+ "access": "public",
86
+ "registry": "https://registry.npmjs.org/"
87
+ },
88
+ "version": "v0.10.126"
89
+ }