-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 2.31 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
{
"name": "bun-express-prisma-template",
"version": "2.0.0",
"description": "A basic starter for an express.js API with Typescript (Bun)",
"main": "src/index.ts",
"scripts": {
"dev": "bun --watch ./src/index.ts",
"start": "bun ./src/index.ts",
"lint": "eslint --fix src test",
"test": "jest",
"type-check": "tsc --pretty --noEmit",
"prepare": "husky",
"clean": "rm -rf ./node_modules",
"init:all": ". ~/.nvm/nvm.sh && bun install && bunx prisma migrate dev --name init && bun run dev",
"clean:run": ". ~/.nvm/nvm.sh && bun run clean && bun install && bunx prisma migrate dev --name init && bun run dev",
"prisma:init": "bunx prisma migrate dev --name init",
"prisma:generate": "prisma generate",
"prisma:migrate": "prisma migrate dev"
},
"keywords": [],
"author": "Bassam Husain",
"license": "MIT",
"module": "index.ts",
"type": "module",
"dependencies": {
"@prisma/client": "^5.21.1",
"bcryptjs": "^2.4.3",
"compression": "^1.7.4",
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.18.3",
"helmet": "^8.0.0",
"http-errors": "^2.0.0",
"http-errors-enhanced": "^3.0.0",
"jsonwebtoken": "^9.0.2",
"lodash": "^4.17.21",
"morgan": "^1.10.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/bcryptjs": "^2.4.6",
"@types/bun": "^1.1.12",
"@types/compression": "^1.7.5",
"@types/cookie-parser": "^1.4.7",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.18",
"@types/http-errors": "^2.0.4",
"@types/jest": "^29.5.14",
"@types/jsonwebtoken": "^9.0.7",
"@types/lodash": "^4.17.12",
"@types/morgan": "^1.9.9",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@typescript-eslint/parser": "^8.11.0",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-typescript-sort-keys": "^3.3.0",
"husky": "^9.1.6",
"jest": "^29.7.0",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"prisma": "^5.21.1",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
}
}