forked from trpc/examples-next-prisma-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 2.54 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
{
"name": "@examples/trpc-next-prisma-starter",
"version": "10.0.0",
"private": true,
"scripts": {
"migrate-sqlite": "prisma migrate dev --name init --schema=./prisma/_sqlite/schema.prisma",
"migrate-postgres": "prisma migrate dev",
"generate-sqlite": "prisma generate --schema=./prisma/_sqlite/schema.prisma",
"generate-postgres": "prisma generate",
"prisma-studio-sqlite": "prisma studio --schema=./prisma/_sqlite/schema.prisma",
"prisma-studio-postgres": "prisma studio",
"db-seed": "prisma db seed",
"db-reset": "prisma migrate reset",
"dx:next": "run-s migrate-sqlite generate-sqlite db-seed && next dev",
"dx:prisma-studio": "pnpm prisma-studio-sqlite",
"dx": "run-p dx:* --print-label",
"dev": "pnpm dx:next",
"build-sqlite": "run-s generate-sqlite migrate-sqlite && next build",
"build-postgres": "run-s generate-postgres migrate && next build",
"build": "pnpm build-postgres",
"start": "next start",
"lint": "eslint src",
"lint-fix": "pnpm lint --fix",
"migrate-dev": "prisma migrate dev",
"migrate": "prisma migrate deploy",
"test": "run-s test:*",
"test:unit": "vitest run",
"test:e2e": "playwright test",
"test-dev": "start-server-and-test 'next dev' 3000 test",
"test-start": "start-server-and-test start 3000 test",
"postinstall": "prisma generate"
},
"prisma": {
"seed": "tsx prisma/seed.ts"
},
"prettier": {
"printWidth": 80,
"trailingComma": "all",
"singleQuote": true
},
"dependencies": {
"@prisma/client": "^4.3.1",
"@tanstack/react-query": "^4.3.8",
"@trpc/client": "^10.0.0",
"@trpc/next": "^10.0.0",
"@trpc/react-query": "^10.0.0",
"@trpc/server": "^10.0.0",
"clsx": "^1.1.1",
"next": "^13.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"superjson": "^1.7.4",
"zod": "^3.0.0"
},
"devDependencies": {
"@playwright/test": "^1.26.1",
"@types/node": "^18.7.20",
"@types/react": "^18.0.9",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"eslint": "^7.32.0",
"eslint-config-next": "^13.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.25.1",
"eslint-plugin-react-hooks": "^4.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"prisma": "^4.3.1",
"start-server-and-test": "^1.12.0",
"tsx": "^3.9.0",
"typescript": "^4.8.3",
"vite": "^3.1.3",
"vitest": "^0.23.4"
},
"publishConfig": {
"access": "restricted"
}
}