/
package.json
114 lines (114 loc) · 4.04 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
{
"name": "react-next-base",
"version": "0.1.0",
"private": true,
"scripts": {
"build": "tsc --project server/tsconfig.json && next build",
"server": "NODE_PATH=./ ts-node --project server/tsconfig.json server/server.ts",
"start": "NODE_ENV=production NODE_PATH=\".dist/\" node .dist/server/server.js -p $PORT",
"test": "jest --watch",
"lint": "yarn lint:js --fix && yarn lint:css:in:js && yarn lint:css:in:ts && yarn lint:types",
"lint:js": "eslint --ext .js,.jsx,.ts,.tsx ./",
"lint:css:in:js": "stylelint './**/*.js'",
"lint:css:in:ts": "stylelint './**/*.tsx'",
"lint:css": "yarn lint:css:in:js && yarn lint:css:in:ts",
"lint:types:ss": "tsc --project server/tsconfig.json --noEmit --pretty",
"lint:types:cs": "tsc --project tsconfig.json --noEmit --pretty",
"lint:types": "yarn run lint:types:ss && yarn run lint:types:cs",
"e2e": "cypress run",
"e2e:chrome": "cypress run --browser chrome",
"ci:jest": "jest",
"ci:e2e": "yarn build && start-server-and-test 'yarn start' ${PORT:-3000} 'yarn e2e'",
"cy:install": "cypress install",
"cy:open": "cypress open",
"print-env": "print-env",
"heroku-prebuild": "yarn install --production",
"prepare": "husky install"
},
"engines": {
"node": ">=14.18.1 <=16.11"
},
"dependencies": {
"@apollo/client": "3.3.*",
"@babel/types": "^7.8.7",
"body-parser": "^1.19.0",
"core-js": "3",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-force-https": "^1.0.0",
"formik": "^2.1.4",
"graphql": "^15.3.0",
"graphql-tag": "^2.10.3",
"http-proxy-middleware": "^2.0.1",
"https-proxy-agent": "^5.0.0",
"isomorphic-unfetch": "^3.0.0",
"jest-extended": "^0.11.5",
"lodash": "^4.17.15",
"next": "10.2.3",
"next-compose-plugins": "^2.2.0",
"next-fonts": "^1.1.0",
"next-images": "^1.4.0",
"next-svgr": "^0.0.2",
"next-with-apollo": "^5.0.0",
"polished": "^3.4.4",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-toastify": "^6.0.8",
"styled-components": "^5.0.1",
"typescript": "^4.4.4",
"universal-cookie": "^4.0.3",
"yup": "^0.29.2"
},
"devDependencies": {
"@bahmutov/print-env": "^2.1.2",
"@sheerun/mutationobserver-shim": "^0.3.3",
"@testing-library/jest-dom": "^5.1.1",
"@testing-library/react": "^11.0.4",
"@testing-library/react-hooks": "^7.0.0",
"@types/cypress-dotenv": "^1.2.0",
"@types/express": "^4.17.13",
"@types/jest": "^26.0.7",
"@types/lodash": "^4.14.158",
"@types/node": "^14.11.2",
"@types/react": "^16.9.49",
"@types/react-dom": "^16.9.5",
"@types/styled-components": "^5.0.1",
"@types/yup": "^0.29.3",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"babel-eslint": "^10.1.0",
"babel-plugin-inline-react-svg": "^1.1.1",
"babel-plugin-module-resolver": "^4.0.0",
"babel-plugin-styled-components": "^1.10.7",
"cypress": "^6.3.0",
"cypress-dotenv": "^1.2.2",
"cypress-file-upload": "^5.0.2",
"eslint": "^8.1.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-import": "^0.13.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-cypress": "^2.11.2",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jest-dom": "^3.2.3",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-react-hooks": "^4.2.1-alpha-6bce0355c-20211031",
"eslint-plugin-testing-library": "^5.0.0",
"eslint-plugin-typescript": "^0.14.0",
"husky": "^7.0.0",
"jest": "^26.6.3",
"jest-styled-components": "^7.0.0",
"jest-transform-graphql": "^2.1.0",
"prettier": "^2.2.1",
"pretty-quick": "^2.0.1",
"start-server-and-test": "^1.11.7",
"stylelint": "^13.2.0",
"stylelint-config-recommended": "^3.0.0",
"stylelint-config-standard": "^20.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.10.0",
"ts-jest": "^26.5.4",
"ts-node": "^10.3.0"
}
}