generated from phucvinh57/fastify-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 2.82 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": "tick3d-be",
"version": "1.17.6",
"license": "ISC",
"description": "3D Printing Service",
"type": "commonjs",
"scripts": {
"build": "tsc --project tsconfig.compile.json && tsc-alias",
"barrels": "barrelsby --config .barrelsby.json -q",
"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",
"test": "cross-env NODE_ENV=test jest --passWithNoTests",
"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",
"prepare": "is-ci || husky install",
"bootstrap": "yarn start:docker && yarn && yarn db:migrate && npx prisma db seed",
"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",
"commit": "cz"
},
"dependencies": {
"@faker-js/faker": "^8.3.1",
"@fastify/cookie": "^9.0.4",
"@fastify/cors": "^8.3.0",
"@fastify/helmet": "^11.0.0",
"@fastify/sensible": "^5.2.0",
"@fastify/swagger": "^8.8.0",
"@fastify/swagger-ui": "^1.9.3",
"@prisma/client": "^5.1.1",
"@sinclair/typebox": "^0.31.1",
"axios": "^1.6.2",
"bcrypt": "^5.1.0",
"dotenv": "^16.3.1",
"envalid": "^7.3.1",
"fastify": "^4.21.0",
"jsonwebtoken": "^9.0.1",
"nodemailer": "^6.9.7",
"otp-generator": "^4.0.1",
"prisma": "^5.1.1"
},
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/jest": "^29.5.3",
"@types/jsonwebtoken": "^9.0.2",
"@types/node": "^20.4.8",
"@types/nodemailer": "^6.4.13",
"@types/otp-generator": "^4.0.2",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"barrelsby": "^2.8.0",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"dotenv-cli": "^7.2.1",
"eslint": "^8.46.0",
"eslint-config-prettier": "^9.0.0",
"husky": "^8.0.3",
"is-ci": "^3.0.1",
"jest": "^29.6.2",
"lint-staged": "^13.2.3",
"pino-pretty": "^10.2.0",
"prettier": "^3.0.1",
"ts-jest": "^29.1.1",
"ts-node-dev": "^2.0.0",
"tsc-alias": "^1.8.7",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.6"
},
"prisma": {
"seed": "ts-node prisma/seed.ts"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}