-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathpackage.json.ejs
141 lines (141 loc) · 4.77 KB
/
package.json.ejs
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "<%= name %>",
"version": "0.1.0",
"private": true,
<% if (host.name === 'heroku') { -%>
"cacheDirectories": [".next/cache"],
<% } -%>
"scripts": {
"build": "yarn ts-node-wrap ./scripts/buildProd",
"build:prisma": "prisma generate",
"build:next": "next build",
"db:migrate": "yarn withEnv:dev prisma migrate dev",
"db:migrate:prod": "prisma migrate deploy",
"db:deploy": "prisma migrate deploy",
"db:reset": "yarn withEnv:dev prisma migrate reset",
"db:reset:test": "yarn withEnv:test prisma migrate reset",
"db:seed": "yarn withEnv:dev prisma db seed",
"db:seed:prod": "cross-env NODE_ENV=production prisma db seed",
"db:setup": "yarn db:reset",
"dev": "next dev",
"dev:typecheck": "tsc --noEmit",
"docker:up": "docker-compose up -d",
"docker:down": "docker-compose down",
"g:cell": "hygen cell new --name",
"g:component": "hygen component new --name",
"g:trpc": "hygen trpc new --name",
"g:page": "hygen page new --name",
"g:test:component": "hygen test component --name",
"g:test:factory": "hygen test factory --name",
"g:test:request": "hygen test request --name",
"g:test:util": "hygen test util --name",
"g:e2e": "playwright codegen",
"lint": "eslint . --ext .ts,.tsx --ignore-pattern tmp",
"lint:fix": "yarn lint --fix",
"run:script": "yarn ts-node-wrap prisma/scripts/run.ts -f",
"setup": "yarn setup:dev && yarn setup:test",
"setup:dev": "yarn withEnv:dev yarn build:prisma && yarn withEnv:dev yarn db:deploy && yarn withEnv:dev yarn db:seed",
"setup:test": "yarn withEnv:test -- yarn db:deploy",
"start": "next start -p $PORT",
"test": "yarn withEnv:test jest --runInBand --watch",
"test:ci": "yarn withEnv:test jest --runInBand",
"test:db:migrate": "yarn withEnv:test prisma migrate dev",
"test:db:reset": "yarn withEnv:test prisma migrate reset --force",
"test:e2e": "yarn withEnv:test playwright test --workers 1",
"test:e2e:debug": "PWDEBUG=1 yarn test:e2e",
"ts-node-wrap": "ts-node --project tsconfig.cjs.json -r tsconfig-paths/register",
"withEnv:dev": "dotenv -c development --",
"withEnv:test": "dotenv -c test --",
"watch:ts": "yarn dev:typecheck --watch"
},
"dependencies": {
"@next-auth/prisma-adapter": "^1.0.7",
"@prisma/client": "^5.1.1",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-navigation-menu": "^1.1.3",
"@radix-ui/react-toast": "^1.1.4",
"@tanstack/react-query": "^4.32.6",
"@tanstack/react-query-devtools": "^4.32.6",
"@trpc/client": "^10.37.1",
"@trpc/next": "^10.37.1",
"@trpc/react-query": "^10.37.1",
"@trpc/server": "^10.37.1",
"bcryptjs": "^2.4.3",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"cross-fetch": "4.0.0",
"i18next": "^22.4.14",
"i18next-http-backend": "^2.2.0",
"lucide-react": "^0.130.1",
"next": "13.4.18",
"next-auth": "^4.23.1",
"next-i18next": "^13.2.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.45.4",
"react-i18next": "^12.0.0",
"react-error-boundary": "^4.0.3",
"superjson": "^1.13.1",
"tailwind-merge": "^1.14.0",
"tailwindcss-animate": "^1.0.6",
"universal-cookie": "^5.0.0",
"zod": "^3.22.1"
},
"devDependencies": {
"@playwright/test": "^1.37.1",
"@swc/jest": "^0.2.29",
"@testing-library/dom": "^9.3.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/bcryptjs": "^2.4.2",
"@types/chance": "^1.1.3",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.11",
"@types/pg": "^8.6.6",
"@types/react": "^18.0.33",
"@vercel/node": "^2.10.2",
"autoprefixer": "^10.4.15",
"chance": "^1.1.11",
"commander": "^10.0.0",
"cross-env": "^7.0.3",
"dotenv-cli": "^7.3.0",
"eslint": "^8.37.0",
"eslint-config-next": "^13.3.0",
"eslint-plugin-echobind": "^0.3.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-playwright": "^0.12.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"hygen": "^6.2.11",
"jest": "^29.5.0",
"jest-environment-node": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"lint-staged": "^13.2.1",
"nanoid": "^3.3.6",
"pg": "^8.10.0",
"postcss": "^8.4.28",
"prettier": "^2.8.7",
"prisma": "^5.1.1",
"start-server-and-test": "^2.0.0",
"tailwindcss": "^3.3.3",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.6"
},
"bison": {
"version": "<%= bisonVersion %>"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": "yarn lint"
},
"prisma": {
"seed": "yarn ts-node-wrap prisma/seed.ts"
}
}