-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·127 lines (127 loc) · 3.03 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
{
"name": "sick-fits-frontend",
"version": "1.0.0",
"description": "Sick Fits! An example React, GraphQL, Next and Apollo",
"main": "index.js",
"scripts": {
"dev": "next -p 7777",
"build": "next build",
"start": "next start -p 7777",
"test": "NODE_ENV=test jest --watch"
},
"author": "niiischall",
"license": "ISC",
"dependencies": {
"@apollo/client": "3.4.0",
"@apollo/link-error": "^2.0.0-beta.3",
"@apollo/react-ssr": "^4.0.0",
"@stripe/react-stripe-js": "^1.1.2",
"@stripe/stripe-js": "^1.11.0",
"apollo-upload-client": "^14.1.3",
"babel-core": "^7.0.0-bridge.0",
"babel-plugin-styled-components": "^1.12.0",
"date-fns": "^2.16.1",
"downshift": "^6.0.6",
"graphql": "16.0.1",
"graphql-tag": "^2.11.0",
"graphql-upload": "^11.0.0",
"lodash.debounce": "^4.0.8",
"next": "^10.0.3",
"next-with-apollo": "^5.1.1",
"nprogress": "^0.2.0",
"prop-types": "^15.7.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-transition-group": "^4.4.1",
"styled-components": "^5.2.1",
"waait": "^1.0.5"
},
"devDependencies": {
"@apollo/react-testing": "^4.0.0",
"@babel/core": "^7.12.9",
"@babel/preset-env": "^7.12.7",
"@testing-library/jest-dom": "^5.11.6",
"@testing-library/react": "^11.2.2",
"@testing-library/user-event": "^12.3.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"casual": "^1.6.2",
"eslint": "^7.14.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^6.15.0",
"eslint-config-wesbos": "^1.0.1",
"eslint-plugin-html": "^6.1.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"react-test-renderer": "^17.0.1"
},
"eslintConfig": {
"extends": [
"wesbos"
]
},
"jest": {
"setupFilesAfterEnv": [
"./jest.setup.js"
]
},
"//": "This is our babel config, I prefer this over a .babelrc file",
"babel": {
"env": {
"development": {
"presets": [
"next/babel"
],
"plugins": [
[
"styled-components",
{
"ssr": true,
"displayName": true
}
]
]
},
"production": {
"presets": [
"next/babel"
],
"plugins": [
[
"styled-components",
{
"ssr": true,
"displayName": true
}
]
]
},
"test": {
"presets": [
[
"next/babel",
{
"preset-env": {
"modules": "commonjs"
}
}
]
],
"plugins": [
[
"styled-components",
{
"ssr": true,
"displayName": true
}
]
]
}
}
}
}