-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 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
{
"name": "fastify-template",
"version": "1.0.0",
"license": "ISC",
"repository": "[email protected]:phucvinh57/fastify-template.git",
"description": "",
"type": "commonjs",
"private": true,
"scripts": {
"prepare": "is-ci || husky install",
"bootstrap": "yarn start:docker && yarn && yarn db:migrate && npx prisma db seed",
"start": "yarn barrels && cross-env NODE_ENV=development tsnd --ignore-watch node_modules --respawn --transpile-only --max-old-space-size=2048 -r tsconfig-paths/register src/index.ts",
"build": "tsc --project tsconfig.compile.json && tsc-alias",
"test": "jest --forceExit --selectProjects",
"release": "semantic-release",
"barrels": "barrelsby --config .barrelsby.json -q",
"db:migrate": "npx prisma migrate dev",
"db:reset": "npx prisma migrate reset --force",
"db:deploy": "npx prisma migrate deploy",
"db:generate": "npx prisma generate",
"db:studio": "npx prisma studio",
"lint": "eslint '**/*.{ts,js}'",
"lint:fix": "eslint '**/*.{ts,js}' --fix",
"format": "prettier '**/*.{ts,js,json}' --write",
"start:docker": "docker-compose -f docker-compose.dev.yml up -d",
"clean:docker": "docker-compose -f docker-compose.dev.yml down --volumes --remove-orphans",
"clean:git": "git branch --merged >/tmp/merged-branches && nano /tmp/merged-branches && xargs git branch -D </tmp/merged-branches && git fetch --prune --all"
},
"dependencies": {
"@fastify/cookie": "^9.2.0",
"@fastify/cors": "^8.5.0",
"@fastify/helmet": "^11.1.1",
"@fastify/sensible": "^5.5.0",
"@fastify/swagger": "^8.13.0",
"@fastify/swagger-ui": "^2.0.1",
"@prisma/client": "^5.7.1",
"@sinclair/typebox": "^0.32.5",
"bcrypt": "^5.1.1",
"discord.js": "^14.14.1",
"dotenv": "^16.3.1",
"envalid": "^8.0.0",
"fastify": "^4.25.2",
"jsonwebtoken": "^9.0.2",
"moment-timezone": "^0.5.44",
"prisma": "^5.7.1"
},
"devDependencies": {
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"@faker-js/faker": "^8.3.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/bcrypt": "^5.0.2",
"@types/jest": "^29.5.11",
"@types/jsonwebtoken": "^9.0.5",
"@types/node": "^20.10.7",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^6.18.0",
"@typescript-eslint/parser": "^6.18.0",
"barrelsby": "^2.8.1",
"cross-env": "^7.0.3",
"dotenv-cli": "^7.3.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"husky": "^8.0.3",
"is-ci": "^3.0.1",
"jest": "^29.7.0",
"lint-staged": "^15.2.0",
"pino-pretty": "^10.3.1",
"prettier": "^3.1.1",
"semantic-release": "^22.0.12",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"ts-node-dev": "^2.0.0",
"tsc-alias": "^1.8.8",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.3.3"
},
"prisma": {
"seed": "ts-node prisma/seed.ts"
}
}