This repository has been archived by the owner on Jul 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 672
/
package.json
220 lines (220 loc) · 7.81 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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
{
"name": "saleor-site",
"version": "3.0.0-a.0",
"private": true,
"author": "Mirumee",
"homepage": "https://getsaleor.com/",
"main": "dist/index.js",
"browserslist": "last 2 versions",
"dependencies": {
"@lhci/cli": "^0.7.0",
"@saleor/sdk": "^0.3.0-10",
"@sentry/apm": "^5.15.5",
"@sentry/browser": "^5.15.5",
"@stripe/react-stripe-js": "^1.1.2",
"@stripe/stripe-js": "^1.3.2",
"@testing-library/cypress": "^5.3.0",
"@types/yup": "^0.26.27",
"apollo": "^2.32.1",
"apollo-cache-inmemory": "^1.6.6",
"apollo-cache-persist": "^0.1.1",
"apollo-client": "^2.6.10",
"apollo-link": "^1.2.14",
"apollo-link-batch-http": "^1.2.14",
"apollo-link-context": "^1.0.20",
"apollo-link-error": "^1.1.13",
"apollo-link-http": "^1.5.17",
"apollo-link-retry": "^2.2.16",
"autoprefixer": "^9.8.6",
"braintree-web": "^3.38.1",
"classnames": "^2.2.6",
"core-js": "^2.6.12",
"cross-env": "^5.2.0",
"dompurify": "^2.0.17",
"dotenv": "^8.2.0",
"editorjs-html": "^3.2.1",
"formik": "^1.5.7",
"fs-extra": "^9.0.1",
"graphql": "^14.5.8",
"graphql-tag": "^2.11.0",
"history": "^4.7.2",
"isomorphic-fetch": "^2.2.1",
"js-base64": "^2.4.8",
"lodash": "^4.17.21",
"next": "^10.2.3",
"next-compose-plugins": "^2.2.1",
"next-images": "^1.7.0",
"next-optimized-images": "^2.6.2",
"nuka-carousel": "^4.6.0",
"query-string": "^6.12.1",
"react": "^16.9.9",
"react-addons-css-transition-group": "^15.6.2",
"react-alert": "^5.5.0",
"react-apollo": "^3.1.5",
"react-dom": "^16.9.0",
"react-gtm-module": "^2.0.8",
"react-helmet": "^5.2.0",
"react-hot-loader": "^4.9.0",
"react-intersection-observer": "^8.25.2",
"react-intl": "^4.6.9",
"react-media": "^1.8.0",
"react-number-format": "^3.6.2",
"react-responsive": "^7.0.0",
"react-router": "^5.2.0",
"react-select": "^2.4.4",
"react-svg": "^5.0.6",
"react-transition-group": "^4.4.1",
"register-service-worker": "^1.7.2",
"reset-css": "^4.0.1",
"styled-components": "^4.3.0",
"typeface-montserrat": "0.0.54",
"url-join": "^4.0.0",
"use-query-params": "^0.4.1",
"workbox-core": "^6.0.2",
"workbox-expiration": "^6.0.2",
"workbox-precaching": "^6.0.2",
"workbox-routing": "^6.0.2",
"workbox-strategies": "^6.0.2",
"yup": "^0.28.0"
},
"devDependencies": {
"@hot-loader/react-dom": "^16.9.0",
"@storybook/addon-actions": "^6.1.21",
"@storybook/addon-essentials": "^6.1.20",
"@storybook/addon-storyshots": "^6.1.20",
"@storybook/cli": "^6.0.28",
"@storybook/react": "^6.1.20",
"@storybook/theming": "^6.0.28",
"@types/braintree-web": "^3.47.0",
"@types/classnames": "^2.2.6",
"@types/dompurify": "0.0.33",
"@types/dotenv": "^8.2.0",
"@types/enzyme": "^3.9.3",
"@types/faker": "^4.1.5",
"@types/graphql": "^14.2.2",
"@types/history": "^4.7.2",
"@types/jest": "^24.0.14",
"@types/lodash": "^4.14.168",
"@types/lodash.isequal": "^4.5.5",
"@types/node": "^11.10.4",
"@types/nuka-carousel": "^4.4.0",
"@types/react": "^16.9.0",
"@types/react-addons-css-transition-group": "^15.0.5",
"@types/react-alert": "^5.2.0",
"@types/react-dom": "^16.9.0",
"@types/react-helmet": "^5.0.8",
"@types/react-responsive": "^3.0.3",
"@types/react-router": "^5.1.12",
"@types/react-select": "^2.0.19",
"@types/react-svg": "^5.0.0",
"@types/react-test-renderer": "^17.0.1",
"@types/react-transition-group": "^4.4.0",
"@types/styled-components": "^4.1.16",
"@types/url-join": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"apollo-storybook-react": "^0.2.4",
"babel-jest": "^24.8.0",
"babel-loader": "^8.0.6",
"babel-plugin-react-intl": "^7.5.20",
"babel-plugin-react-intl-auto": "^3.3.0",
"babel-plugin-require-context-hook": "^1.0.0",
"css-loader": "^1.0.0",
"cypress": "^4.12.1",
"duplicate-package-checker-webpack-plugin": "^3.0.0",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^7.0.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-airbnb-typescript": "^7.2.1",
"eslint-config-prettier": "^6.11.0",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-cypress": "^2.11.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^4.0.2",
"eslint-plugin-simple-import-sort": "^7.0.0",
"faker": "^4.1.0",
"file-loader": "^4.0.0",
"fork-ts-checker-webpack-plugin": "^6.0.1",
"husky": "^4.2.5",
"image-webpack-loader": "^7.0.1",
"jest": "^24.8.0",
"jest-styled-components": "^6.3.1",
"jest-svg-transformer": "^1.0.0",
"lint-staged": "^10.2.9",
"mini-css-extract-plugin": "^0.4.1",
"next-transpile-modules": "^6.0.0",
"node-fetch": "^2.6.1",
"node-sass": "^4.14.1",
"plop": "^2.7.1",
"postcss": "^8.3.4",
"postcss-loader": "^2.1.6",
"postcss-preset-env": "^5.3.0",
"prettier": "^2.0.5",
"react-docgen-typescript-loader": "^3.6.0",
"react-intl-translations-manager": "^5.0.3",
"react-is": "^16.12.0",
"react-test-renderer": "^16.14.0",
"rimraf": "^3.0.2",
"sass-loader": "^7.1.0",
"sitemap": "^2.2.0",
"start-server-and-test": "^1.10.8",
"storybook-addon-next-router": "^2.0.3",
"style-loader": "^0.21.0",
"test-data-bot": "^0.8.0",
"ts-loader": "^4.4.2",
"tsconfig-paths-webpack-plugin": "^3.2.0",
"typescript": "^3.8.2",
"webpack": "^4.46.0",
"webpack-bundle-analyzer": "^4.4.0",
"workbox-webpack-plugin": "^6.0.2"
},
"engines": {
"node": ">=12 <15"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run build"
}
},
"lint-staged": {
"*.{jsx?,tsx?}": [
"eslint --fix",
"prettier --write"
]
},
"scripts": {
"test": "cross-env LANGUAGE_LOCALE=en-US jest --runInBand --config .jest/config.json",
"start": "next dev -p 3000",
"start:optimize": "cross-env OPTIMIZE=true next dev -p 3000",
"start:heroku": "next start -p $PORT",
"start:worker": "cross-env SERVICE_WORKER=true npm run start",
"build": "next build",
"build:start": "npm run build && next start",
"build:export": "cross-env NEXT_EXPORT=true npm run build && cross-env NEXT_EXPORT=true next export -o dist",
"storybook": "start-storybook -p 9002",
"build-storybook": "build-storybook -o ./dist/storybook",
"codegen": "apollo codegen:generate --target=typescript gqlTypes",
"codegen-sdk": "apollo codegen:generate --target=typescript gqlTypes --config src/@sdk/apollo.config.js --globalTypesFile src/@sdk/gqlTypes/globalTypes.ts",
"codegen-watch": "npm run codegen -- --watch",
"lint": "npx eslint \"src/**/*.@(tsx|ts|jsx|js)\" --fix ; npx prettier --check \"src/**/*.@(tsx|ts|jsx|js)\" --write",
"tsc": "npx tsc --noEmit & npx tsc --noEmit -p src/@next",
"heroku-postbuild": "npm run build",
"heroku-prebuild": "npm install --dev",
"sitemap": "ts-node ./src/sitemap-builder.ts",
"generate": "plop",
"cy:run": "cypress run",
"cy:run:record": "npm run cy:run -- --record",
"cy:open": "cypress open",
"test:e2e:run": "start-server-and-test start http://localhost:3000 cy:run",
"test:e2e:run:record": "start-server-and-test start http://localhost:3000 cy:run:record",
"test:e2e:dev": "start-server-and-test start http://localhost:3000 cy:open",
"extract-json-messages": "rimraf dist/locale && cross-env NODE_ENV=extract babel src 'src/**/*.{ts,tsx}' -o /dev/null",
"transpile-messages": "node scripts/transpile-tx.js",
"extract-messages": "npm run extract-json-messages && npm run transpile-messages"
}
}