-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
81 lines (81 loc) · 2.78 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
{
"name": "web-service-template",
"version": "1.0.0",
"description": "The template for developing web service",
"author": "Ru <[email protected]>",
"license": "ISC",
"scripts": {
"install:ci": "pnpm install --frozen-lockfile",
"install:dev": "pnpm install --no-frozen-lockfile",
"update:dependencies": "pnpm update --latest",
"build": "tsc -p tsconfig.json && pnpm run prisma:generate",
"build:watch": "tsc -p tsconfig.json --watch",
"run:watch": "cross-env NODE_PATH=./build nodemon -r source-map-support/register --watch ./build build/index.js",
"start": "concurrently -n \"TS,Server\" -c \"yellow.bold,green.bold\" \"pnpm run build:watch\" \"pnpm run run:watch\"",
"prettier:check": "prettier --check \"**/*.{ts,js}\"",
"prettier:fix": "prettier --write \"**/*.{ts,js}\"",
"type:check": "tsc --noEmit",
"lint:code": "eslint \"./**/*.{js,ts}\" --quiet",
"lint": "pnpm run type:check && pnpm run prettier:check && pnpm run lint:code",
"lint:fix": "pnpm run prettier:fix && pnpm run lint:code --fix",
"lint:fix:trace": "cross-env NODE_OPTIONS=--trace-warnings pnpm run lint:fix",
"unittest": "jest",
"unittest:coverage": "jest --coverage",
"prisma:generate": "prisma generate",
"prisma:migrate": "prisma migrate dev",
"prisma:deploy": "prisma migrate deploy",
"prisma:reset": "prisma migrate reset"
},
"prisma": {
"seed": "ts-node prisma/seed.ts"
},
"dependencies": {
"@fastify/awilix": "^7.0.0",
"@fastify/env": "^5.0.2",
"@fastify/helmet": "^13.0.1",
"@fastify/request-context": "^6.1.0",
"@fastify/swagger": "^9.5.0",
"@fastify/swagger-ui": "^5.2.2",
"@fastify/type-provider-typebox": "^5.1.0",
"@prisma/client": "^6.6.0",
"@sinclair/typebox": "^0.34.33",
"awilix": "^12.0.5",
"close-with-grace": "^2.2.0",
"dotenv": "^16.5.0",
"fastify": "^5.3.0",
"http-status-codes": "^2.3.0",
"openapi-types": "^12.1.3",
"pino": "^9.6.0",
"pino-pretty": "^13.0.0",
"reflect-metadata": "^0.2.2",
"zod": "^3.24.2"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^22.14.1",
"@typescript-eslint/eslint-plugin": "^8.29.1",
"@typescript-eslint/parser": "^8.29.1",
"concurrently": "^9.1.2",
"cross-env": "^7.0.3",
"eslint": "^9.24.0",
"eslint-import-resolver-typescript": "^4.3.2",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-unicorn": "^58.0.0",
"jest": "^29.7.0",
"nodemon": "^3.1.9",
"prettier": "^3.5.3",
"prisma": "^6.6.0",
"source-map-support": "^0.5.21",
"ts-jest": "^29.3.2",
"ts-node": "^10.9.2",
"typescript": "5.8.3"
},
"pnpm": {
"onlyBuiltDependencies": [
"@prisma/client",
"@prisma/engines",
"esbuild",
"prisma"
]
}
}