-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
202 lines (202 loc) · 7.05 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
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
{
"name": "@prisma-cms/nextjs",
"author": "@Fi1osof",
"license": "MIT",
"version": "2.0.0",
"scripts": {
"dev": "cross-env NODE_ENV=development TS_NODE_PROJECT=tsconfig.server.json ts-node-dev --trace-deprecation --ignore-watch=/.next/ --rs --no-notify --respawn --transpile-only server",
"build": "next build && yarn build:server",
"build:server": "tsc --project tsconfig.server.json",
"build:analyze": "cross-env ANALYZE=true yarn build",
"generate:types": "cross-env NODE_PATH=. ts-node -P tsconfig.server.json src/modules/gql/cli/generateTypes/run",
"types": "tsc --pretty --noEmit",
"types:server": "yarn types -P tsconfig.server.json",
"lint": "eslint . --ext ts --ext tsx --ext js",
"format": "prettier --write .",
"prisma:format": "yarn prisma format",
"prisma:db:push": "cross-env TS_NODE_PROJECT=tsconfig.server.json yarn prisma db push --preview-feature",
"prisma:migrate:status": "cross-env TS_NODE_PROJECT=tsconfig.server.json yarn prisma migrate status --preview-feature",
"prisma:migrate:create": "cross-env TS_NODE_PROJECT=tsconfig.server.json yarn prisma migrate dev --preview-feature",
"prisma:deploy": "yarn prisma migrate deploy --preview-feature",
"prisma:seed": "cross-env TS_NODE_PROJECT=tsconfig.server.json yarn prisma db seed --preview-feature",
"generate:prisma": "prisma generate",
"generate:nexus": "cross-env NODE_ENV=development TS_NODE_PROJECT=tsconfig.server.json ts-node --transpile-only server/nexus",
"generate": "npm -s run generate:prisma && npm -s run generate:nexus && npm -s run generate:types",
"clean": "rimraf ./dist && rimraf ./.next",
"start": "cross-env NODE_ENV=production node dist/index.js",
"storybook": "storybook dev -p 6006 -c storybook",
"build-storybook": "storybook build -c storybook",
"cy:open": "cypress open",
"cy:run": "cypress run",
"test": "jest",
"test:api": "cross-env TEST_REAL_API=true jest",
"test:all": "yarn lint && yarn types && yarn cy:run && yarn test"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run types"
}
},
"lint-staged": {
"*.@(ts|tsx)": [
"npm run lint",
"npm run format"
]
},
"dependencies": {
"@apollo/client": "^3.9.6",
"@hookform/resolvers": "^2.4.0",
"@prisma-cms/ui": "^2.2.2",
"@prisma-cms/uploader": "^2.0.1",
"@prisma/client": "^3.15.2",
"apollo-server-express": "^2.26.2",
"apollo-upload-client": "^17.0.0",
"bcryptjs": "^2.4.3",
"cross-env": "^7.0.3",
"cross-fetch": "^3.1.4",
"debug": "^4.3.2",
"dkim-signer": "^0.2.2",
"dotenv": "^16.0.1",
"express": "^4.17.1",
"generate-password": "^1.6.1",
"glob": "^8.1.0",
"graphql": "^15.8.0",
"graphql-iso-date": "^3.6.1",
"graphql-middleware": "^6.1.35",
"graphql-shield": "~7.5.0",
"graphql-upload": "^12.0.0",
"http-proxy-middleware": "^1.2.0",
"identity-obj-proxy": "^3.0.0",
"immer": "^9.0.6",
"jest": "^29.7.0",
"jest-styled-components": "^7.2.0",
"jest-watch-typeahead": "~0.6.3",
"jsonwebtoken": "^8.5.0",
"knex": "^3.1.0",
"leaflet": "^1.9.4",
"lint-staged": "^10.5.4",
"lodash": "^4.17.20",
"mailcomposer": "^4.0.2",
"mime-types": "^2.1.32",
"mkdirp": "^1.0.4",
"moment": "^2.29.1",
"moment-locales-webpack-plugin": "^1.2.0",
"next": "^14.1.0",
"next-seo": "^6.5.0",
"nexus": "^1.3.0",
"nexus-plugin-prisma": "^0.35.0",
"prisma": "^4.16.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.4.0",
"sharp": "^0.28.3",
"styled-components": "^6.0.0-rc.6",
"subscriptions-transport-ws": "^0.9.18",
"ts-node": "^10.9.2",
"yup": "^0.32.9"
},
"devDependencies": {
"@graphql-codegen/add": "^2.0.1",
"@graphql-codegen/cli": "^2.16.5",
"@graphql-codegen/introspection": "^2.2.3",
"@graphql-codegen/near-operation-file-preset": "^2.5.0",
"@graphql-codegen/plugin-helpers": "^2.7.2",
"@graphql-codegen/typescript": "^2.8.8",
"@graphql-codegen/typescript-apollo-client-helpers": "^2.2.6",
"@graphql-codegen/typescript-operations": "^2.5.13",
"@graphql-codegen/typescript-react-apollo": "~2.2.4",
"@graphql-codegen/visitor-plugin-common": "~1.20.0",
"@next/bundle-analyzer": "^10.1.3",
"@storybook/addon-actions": "^8.0.4",
"@storybook/addon-docs": "^8.2.2",
"@storybook/addon-essentials": "^8.0.4",
"@storybook/addon-interactions": "^8.0.4",
"@storybook/addon-links": "^8.0.4",
"@storybook/addon-onboarding": "^8.0.4",
"@storybook/nextjs": "^8.0.4",
"@storybook/react": "^8.0.4",
"@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.cd77847.0",
"@testing-library/react": "^15.0.6",
"@testing-library/react-hooks": "^8.0.1",
"@types/apollo-upload-client": "^17.0.5",
"@types/bcryptjs": "^2.4.2",
"@types/chai": "^4.3.0",
"@types/css": "^0.0.31",
"@types/debug": "^4.1.7",
"@types/dkim-signer": "^0.2.2",
"@types/express": "^4.17.8",
"@types/glob": "^8.1.0",
"@types/graphql-iso-date": "^3.4.0",
"@types/graphql-upload": "^8.0.5",
"@types/jest": "~26.0.22",
"@types/jsonwebtoken": "^8.5.0",
"@types/lodash": "^4.14.161",
"@types/mime-types": "^2.1.0",
"@types/mkdirp": "^1.0.1",
"@types/moment": "^2.13.0",
"@types/node": "^18.19.0",
"@types/react": "18.2.0",
"@types/react-dom": "18.2.0",
"@types/sharp": "^0.28.5",
"@types/styled-components": "^5.1.34",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"babel-jest": "^29.0.0",
"chai": "^4.3.6",
"cypress": "^9.5.3",
"cypress-graphql-mock-network": "^0.2.2",
"eslint": "^8.56.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-cypress": "^2.11.2",
"eslint-plugin-deprecate": "^0.7.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "~4.3.8",
"jest": "^29.7.0",
"jest-styled-components": "^7.2.0",
"jest-watch-typeahead": "~0.6.3",
"lint-staged": "^10.5.4",
"next-pwa": "^5.2.15",
"nodemon": "^2.0.7",
"prettier": "^2.8.8",
"react-test-renderer": "^17.0.2",
"rimraf": "^3.0.2",
"sass": "^1.54.0",
"sass-loader": "^13.0.2",
"ts-jest": "^29.1.2",
"ts-node-dev": "^2.0.0",
"typescript": "5.3.2",
"typescript-styled-plugin": "^0.15.0",
"webpack": "^5.74.0"
},
"overrides": {
"@types/react": "18.2.0",
"@types/react-dom": "18.2.0",
"@prisma/client": "^3.15.2",
"graphql": "^15.8.0",
"jest": "^29.7.0",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"description": "Bootstrap a developer-friendly NextJS app",
"repository": {
"type": "git",
"url": "git+https://github.com/prisma-cms/nextjs.git"
},
"keywords": [
"prisma-cms",
"next-js",
"typescript",
"ts-node",
"graphql",
"headless-cms"
],
"bugs": {
"url": "https://github.com/prisma-cms/nextjs/issues"
},
"prisma": {
"seed": "ts-node prisma/seed.ts"
},
"homepage": "https://github.com/prisma-cms/nextjs#readme"
}