-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
88 lines (88 loc) · 2.93 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "@swan-io/url-shortener",
"description": "Swan URL shortener server",
"version": "0.3.1",
"license": "MIT",
"packageManager": "pnpm@9.13.0",
"engines": {
"node": ">=20.9.0",
"pnpm": "^9.13.0"
},
"repository": {
"type": "git",
"url": "https://github.com/swan-io/url-shortener"
},
"scripts": {
"docker:up": "docker compose up -d && pnpm migrate",
"docker:down": "docker compose down -v",
"docker:build": "pnpm build && docker build -t url-shortener:latest .",
"build": "pnpm clean && prettier '**/*' -u -c && pnpm lint && pnpm codegen && tsc -p tsconfig.build.json",
"clean": "rm -rf dist src/database/generated",
"deploy-ci": "tsx scripts/deploy/deploy.ts",
"release": "tsx scripts/release/createPullRequest.ts",
"codegen": "prisma generate",
"dev": "pnpm codegen && tsx watch --clear-screen=false src",
"dump-schema": "prisma migrate diff --from-empty --to-schema-datasource prisma/schema.prisma --script > tests/schema.sql",
"format": "prettier '**/*' -u -w && prisma format",
"lint": "biome check . --files-ignore-unknown=true --no-errors-on-unmatched",
"migrate": "prisma migrate dev",
"start": "prisma migrate deploy && node dist",
"test": "vitest run",
"typecheck": "tsc --noEmit"
},
"prettier": {
"plugins": [
"prettier-plugin-organize-imports"
]
},
"dependencies": {
"@fastify/schedule": "5.0.2",
"@fastify/sensible": "6.0.1",
"@fastify/type-provider-typebox": "5.0.0",
"@opentelemetry/api": "1.9.0",
"@opentelemetry/core": "1.27.0",
"@opentelemetry/exporter-trace-otlp-http": "0.54.0",
"@opentelemetry/instrumentation": "0.54.0",
"@opentelemetry/instrumentation-fastify": "0.41.0",
"@opentelemetry/instrumentation-http": "0.54.0",
"@opentelemetry/instrumentation-pino": "0.43.0",
"@opentelemetry/propagator-jaeger": "1.27.0",
"@opentelemetry/resources": "1.27.0",
"@opentelemetry/sdk-trace-base": "1.27.0",
"@opentelemetry/sdk-trace-node": "1.27.0",
"@opentelemetry/semantic-conventions": "1.27.0",
"@sinclair/typebox": "0.33.17",
"@swan-io/boxed": "3.1.1",
"close-with-grace": "2.1.0",
"dayjs": "1.11.13",
"dotenv": "16.4.5",
"fastify": "5.0.0",
"fastify-healthcheck": "5.0.0",
"fastify-metrics": "12.1.0",
"fastify-plugin": "5.0.1",
"kysely": "0.27.4",
"pg": "8.13.1",
"picocolors": "1.1.1",
"pino-pretty": "11.3.0",
"prisma": "5.21.1",
"prisma-kysely": "1.8.0",
"toad-scheduler": "3.0.1",
"valienv": "0.7.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@types/node": "20.17.1",
"@types/pg": "8.11.10",
"@types/prompts": "2.4.9",
"@types/semver": "7.5.8",
"pgmock": "1.0.3",
"prettier": "3.3.3",
"prettier-plugin-organize-imports": "4.1.0",
"prompts": "2.4.2",
"semver": "7.6.3",
"tsx": "4.16.5",
"type-fest": "4.26.1",
"typescript": "5.6.3",
"vitest": "2.1.4"
}
}