forked from trpc/examples-next-prisma-websockets-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
86 lines (86 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
83
84
85
86
{
"name": "@examples/next-websockets-starter",
"version": "10.38.0",
"private": true,
"engines": {
"node": "^18.15.0"
},
"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": "pnpm 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 --ext \".js,.ts,.tsx\" --report-unused-disable-directives --report-unused-disable-directives src",
"lint-fix": "pnpm 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": "^4.14.1",
"@tanstack/react-query": "^4.18.0",
"@trpc/client": "^10.38.0",
"@trpc/next": "^10.38.0",
"@trpc/react-query": "^10.38.0",
"@trpc/server": "^10.38.0",
"clsx": "^2.0.0",
"next": "^13.4.8",
"next-auth": "^4.22.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"superjson": "^1.12.4",
"tsx": "^3.12.7",
"ws": "^8.0.0",
"zod": "^3.0.0"
},
"devDependencies": {
"@playwright/test": "^1.26.1",
"@tanstack/react-query-devtools": "^4.18.0",
"@types/node": "^18.16.16",
"@types/react": "^18.2.8",
"@types/ws": "^8.2.0",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"autoprefixer": "^10.4.7",
"cross-env": "^7.0.3",
"eslint": "^8.40.0",
"eslint-config-next": "^13.4.3",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.14",
"prettier": "^2.8.8",
"prisma": "^4.14.1",
"start-server-and-test": "^1.12.0",
"tailwindcss": "^3.3.0",
"typescript": "^5.1.3"
},
"publishConfig": {
"access": "restricted"
}
}