-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
60 lines (60 loc) · 1.85 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
{
"name": "beefy-db",
"version": "2.0.0",
"license": "gpl-3.0",
"private": true,
"type": "module",
"engines": {
"node": "^18.16.0"
},
"dependencies": {
"@fastify/cors": "^8.3.0",
"@fastify/etag": "^4.2.0",
"@fastify/helmet": "^10.1.1",
"@fastify/rate-limit": "^8.0.1",
"@fastify/under-pressure": "^8.2.0",
"@types/lodash-es": "^4.17.7",
"date-fns": "^2.30.0",
"fastify": "^4.18.0",
"fluent-json-schema": "^4.1.0",
"knex": "^2.4.2",
"lodash-es": "^4.17.21",
"node-fetch": "^3.3.1",
"pg": "^8.11.0",
"pino": "^9.3.2",
"postgrator": "^7.1.1"
},
"scripts": {
"postinstall": "husky install",
"build": "tsc",
"api": "node build/api/index.js",
"snapshot": "node build/snapshot/index.js",
"migrate": "node build/migrate/index.js",
"dev:api": "ts-node -r dotenv/config src/api/index.ts",
"dev:snapshot": "ts-node -r dotenv/config src/snapshot/index.ts",
"dev:migrate": "ts-node -r dotenv/config src/migrate/index.ts",
"dev:migrate:undo": "ts-node -r dotenv/config src/migrate/undo.ts",
"dev:infra:start": "docker compose -f docker-compose.dev.yaml up -d",
"dev:infra:stop": "docker compose -f docker-compose.dev.yaml down",
"dev:pg:console": "docker exec -it beefy-db-dev-db-dev-1 psql -U beefy-db-dev",
"prettier:check": "prettier --check ./src/**/*.ts",
"prettier:fix": "prettier --write ./src/**/*.ts",
"package:check": "ncu",
"package:fix": "ncu -u && yarn"
},
"lint-staged": {
"src/**/*.{ts,tsx,json}": "prettier --write"
},
"devDependencies": {
"@types/node": "^18.15.3",
"@types/pg": "^8.10.2",
"dotenv": "^16.2.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"npm-check-updates": "^16.10.12",
"pino-pretty": "^11.2.2",
"prettier": "^2.8.8",
"ts-node": "^10.9.1",
"typescript": "^5.1.3"
}
}