-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
35 lines (35 loc) · 1.11 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
{
"name": "fastpi",
"description": "A quick way to get started with Fastify using TypeScript",
"version": "0.0.0",
"repository": "[email protected]:luastoned/fastpi.git",
"author": "Gregor Steiner <[email protected]>",
"license": "MIT",
"type": "module",
"private": true,
"scripts": {
"build": "yarn build:esbuild",
"build:esbuild": "esbuild src/app.ts --bundle --format=esm --platform=node --target=node20 --packages=external --outdir=dist",
"build:typescript": "tsc --noEmit",
"serve": "yarn serve:node",
"serve:node": "node dist/app.js",
"serve:tsx": "tsx src/app.ts",
"docker": "yarn docker:build && yarn docker:run",
"docker:build": "docker build -t fastpi .",
"docker:run": "docker run --rm --name fastpi -p 42000:42000 -it fastpi",
"start": "tsx src/app.ts",
"dev": "tsx watch src/app.ts"
},
"dependencies": {
"fastify": "^5.1.0",
"fastify-plugin": "^5.0.1",
"std-kit": "^2.2.0"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/node": "^22.10.1",
"esbuild": "^0.24.0",
"tsx": "^4.19.2",
"typescript": "^5.7.2"
}
}