-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
146 lines (146 loc) · 4.69 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
{
"name": "@prisma-cms/nextjs",
"author": "@Fi1osof",
"license": "MIT",
"version": "1.6.0",
"scripts": {
"dev": "nodemon",
"ts-dev": "cross-env NODE_ENV=development TS_NODE_PROJECT=tsconfig.server.json ts-node-dev --ignore-watch .next --rs --no-notify --respawn --transpile-only server",
"clean": "rimraf ./dist && rimraf ./.next",
"build": "next build && yarn build:server",
"build:server": "tsc --project tsconfig.server.json",
"build:analyze": "cross-env ANALYZE=true yarn build",
"start": "cross-env NODE_ENV=production node dist/index.js",
"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",
"format": "prettier --write .",
"lint": "eslint . --ext ts --ext tsx --ext js",
"storybook": "start-storybook -p 6006",
"build:storybook": "build-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": "yarn run types && yarn test -u"
}
},
"lint-staged": {
"*.@(ts|tsx)": [
"yarn lint",
"yarn format"
]
},
"dependencies": {
"@apollo/client": "^3.2.2",
"@storybook/react": "^6.3.8",
"apollo-upload-client": "^14.1.3",
"cross-env": "^7.0.2",
"cross-fetch": "^3.1.4",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"graphql": "^15.8.0",
"http-proxy-middleware": "^1.2.0",
"immer": "^9.0.6",
"moment": "^2.29.1",
"next": "^12.1.4",
"next-pwa": "^5.2.15",
"next-seo": "^4.24.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"styled-components": "^5.2.3",
"subscriptions-transport-ws": "^0.9.18"
},
"devDependencies": {
"@graphql-codegen/add": "^2.0.1",
"@graphql-codegen/cli": "^1.21.4",
"@graphql-codegen/introspection": "^1.18.2",
"@graphql-codegen/near-operation-file-preset": "^1.18.0",
"@graphql-codegen/typescript": "^1.22.0",
"@graphql-codegen/typescript-apollo-client-helpers": "^1.1.5",
"@graphql-codegen/typescript-operations": "^1.17.16",
"@graphql-codegen/typescript-react-apollo": "~2.2.4",
"@next/bundle-analyzer": "^10.1.3",
"@storybook/addon-actions": "^6.3.8",
"@storybook/addon-docs": "^6.3.8",
"@storybook/addon-links": "^6.3.8",
"@testing-library/react": "^11.2.6",
"@testing-library/react-hooks": "^5.1.2",
"@types/apollo-upload-client": "^14.1.0",
"@types/chai": "^4.3.0",
"@types/css": "^0.0.31",
"@types/express": "^4.17.8",
"@types/glob": "^7.1.3",
"@types/jest": "^26.0.22",
"@types/lodash": "^4.14.161",
"@types/moment": "^2.13.0",
"@types/node": "^14.14.41",
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.11",
"@types/styled-components": "^5.1.9",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"babel-jest": "^26.6.3",
"chai": "^4.3.6",
"cypress": "^9.5.3",
"cypress-graphql-mock-network": "^0.2.2",
"eslint": "^7.24.0",
"eslint-config-prettier": "^8.2.0",
"eslint-plugin-cypress": "^2.11.2",
"eslint-plugin-deprecate": "^0.7.0",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^4.2.0",
"glob": "^7.1.6",
"husky": "~4.3.8",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.6.3",
"jest-styled-components": "^7.0.4",
"jest-watch-typeahead": "^0.6.3",
"lint-staged": "^10.0.10",
"lodash": "^4.17.20",
"moment-locales-webpack-plugin": "^1.2.0",
"nodemon": "^2.0.7",
"prettier": "^2.0.2",
"react-test-renderer": "^17.0.2",
"rimraf": "^3.0.2",
"sass": "^1.32.11",
"sass-loader": "^11.0.1",
"ts-jest": "^26.5.5",
"ts-node": "^9.0.0",
"ts-node-dev": "^1.1.1",
"typescript": "^4.2.4",
"typescript-styled-plugin": "^0.15.0",
"webpack": "^5.0.0"
},
"resolutions": {
"@babel/types": "7.17.12",
"@apollo/client": "^3.2.2",
"@graphql-codegen/visitor-plugin-common": "~1.20.0",
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.11",
"graphql": "^15.8.0",
"immer": "^9.0.6"
},
"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"
},
"homepage": "https://github.com/prisma-cms/nextjs#readme"
}