-
-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy pathpackage.json
83 lines (83 loc) · 2.6 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
83
{
"name": "examples-next-prisma-websockets-starter",
"private": true,
"engines": {
"node": ">=18.15.0"
},
"packageManager": "[email protected]",
"scripts": {
"prebuild": "prisma generate && prisma migrate deploy",
"build:1-next": "cross-env NODE_ENV=production next build",
"build:2-server": "tsc --project tsconfig.server.json",
"build": "run-s build:*",
"dev:wss": "cross-env PORT=3001 tsx watch src/server/wssDevServer.ts --tsconfig tsconfig.server.json ",
"dev:next": "next dev",
"dev": "run-s migrate-dev && run-p dev:*",
"db-up": "docker-compose up -d",
"db-seed": "prisma db seed",
"db-migrate-dev": "prisma migrate dev",
"db-nuke": "docker-compose down --volumes --remove-orphans",
"dx": "run-s db-up db-migrate-dev db-seed dev",
"dev-nuke": "rm -rf prisma/*.db**",
"generate": "prisma generate",
"migrate-dev": "prisma migrate dev",
"migrate": "prisma migrate deploy",
"start": "cross-env NODE_ENV=production node dist/server/prodServer.js",
"studio": "prisma studio",
"lint": "eslint --cache src",
"lint-fix": "lint --fix",
"test-dev": "cross-env APP_ENV=test start-server-and-test dev 3000 test",
"test-start": "cross-env APP_ENV=test WS_URL=ws://localhost:3000 start-server-and-test start 3000 test",
"test": "playwright test",
"postinstall": "prisma generate"
},
"prisma": {
"seed": "tsx prisma/seed.ts"
},
"prettier": {
"printWidth": 80,
"trailingComma": "all",
"singleQuote": true
},
"dependencies": {
"@prisma/client": "^5.12.1",
"@tanstack/react-query": "^5.62.8",
"@trpc/client": "next",
"@trpc/next": "next",
"@trpc/react-query": "next",
"@trpc/server": "next",
"clsx": "^2.0.0",
"next": "^15.1.3",
"next-auth": "npm:next-auth@^4.24.11",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"superjson": "^1.12.4",
"tsx": "^4.0.0",
"ws": "^8.0.0",
"zod": "^3.0.0"
},
"devDependencies": {
"@playwright/test": "^1.26.1",
"@tanstack/react-query-devtools": "^5.59.15",
"@types/node": "^22.9.0",
"@types/react": "^19.0.0",
"@types/ws": "^8.2.0",
"autoprefixer": "^10.4.7",
"cross-env": "^7.0.3",
"eslint": "^9.13.0",
"eslint-config-next": "^15.0.2",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.1.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.39",
"prettier": "^3.3.3",
"prisma": "^5.12.1",
"start-server-and-test": "^1.12.0",
"tailwindcss": "^3.4.6",
"typescript": "^5.7.2",
"typescript-eslint": "^8.12.2"
},
"publishConfig": {
"access": "restricted"
}
}