-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
361 lines (361 loc) · 14.5 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
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
{
"name": "mzawadie-dashboard",
"version": "1.1.0-a.4",
"license": "BSD-3-Clause",
"private": true,
"description": "An open customizable e-commerce solution to help you create secure, fast and reliable online stores, marketplaces and B2B applications with Mzawadie Commerce",
"keywords": [
"mzawadie",
"ecommerce",
"react",
"headless react",
"online shop",
"marketplace"
],
"author": "Adullam Software",
"contributors": [
{
"name": "Emmanuel Michael Maro",
"url": "https://github.com/Emmanuelmichaelmaro/",
"email": "emmanuelmaro733@gmail.com"
},
{
"name": "Edwin Bakalemwa",
"url": "https://github.com/baxito/",
"email": "edwinpaul502@gmail.com"
}
],
"main": "public/index.html",
"repository": {
"type": "git",
"url": "git://github.com/Emmanuelmichaelmaro/mzawadie-dashboard.git"
},
"bugs": {
"url": "https://github.com/Emmanuelmichaelmaro/mzawadie-dashboard/issues",
"email": "emmanuelmaro733@gmail.com"
},
"homepage": "https://mzawadie.co.tz/dashboard/",
"engines": {
"node": ">=14 <15",
"npm": ">=6.11.0 <7"
},
"dependencies": {
"@editorjs/checklist": "^1.3.0",
"@editorjs/code": "^2.7.0",
"@editorjs/editorjs": "^2.22.2",
"@editorjs/embed": "^2.4.6",
"@editorjs/header": "^2.6.1",
"@editorjs/image": "^2.6.1",
"@editorjs/link": "^2.3.1",
"@editorjs/list": "^1.6.2",
"@editorjs/paragraph": "^2.8.0",
"@editorjs/quote": "^2.4.0",
"@editorjs/raw": "^2.3.0",
"@editorjs/simple-image": "^1.4.1",
"@editorjs/warning": "^1.2.0",
"@glideapps/glide-data-grid": "^5.0.0",
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "^4.0.0-alpha.60",
"@material-ui/styles": "^4.11.4",
"@reach/auto-id": "^0.16.0",
"@saleor/macaw-ui": "^0.6.3",
"@saleor/sdk": "^0.4.2",
"@sentry/react": "^6.13.3",
"@uiw/react-color-hue": "^1.1.1",
"@uiw/react-color-material": "^1.1.1",
"@uiw/react-color-saturation": "^1.1.1",
"apollo-upload-client": "^16.0.0",
"babel-loader": "^8.2.2",
"classnames": "^2.3.1",
"color-convert": "^2.0.1",
"crc-32": "^1.2.0",
"cross-env": "^7.0.3",
"css-loader": "^5.2.7",
"currency-codes": "^2.1.0",
"downshift": "^6.1.7",
"editorjs-alert": "^1.0.3",
"editorjs-drag-drop": "^1.1.2",
"editorjs-inline": "^4.1.3",
"editorjs-inline-tool": "^0.4.0",
"editorjs-undo": "^0.1.4",
"esbuild-loader": "^2.18.0",
"faker": "^6.6.6",
"fast-array-diff": "^1.0.1",
"file-loader": "^6.2.0",
"fuzzaldrin": "^2.1.0",
"graphql": "^15.5.0",
"hotkeys-js": "^3.8.7",
"is-url": "^1.2.4",
"isomorphic-unfetch": "^3.1.0",
"jss": "^10.9.0",
"keycode": "^2.2.0",
"lodash": "^4.17.21",
"marked": "^4.3.0",
"moment": "^2.29.1",
"moment-timezone": "^0.5.33",
"nprogress": "^0.2.0",
"qs": "^6.10.1",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-dropzone": "^11.4.2",
"react-editor-js": "^2.1.0",
"react-error-boundary": "^3.1.4",
"react-gtm-module": "^2.0.11",
"react-helmet": "^6.1.0",
"react-inlinesvg": "^2.3.0",
"react-intl": "^5.20.12",
"react-jss": "^10.0.0",
"react-markdown": "^8.0.3",
"react-moment": "^1.1.1",
"react-responsive-carousel": "^3.2.23",
"react-router": "^5.0.1",
"react-router-dom": "^5.0.1",
"react-sortable-hoc": "^2.0.0",
"react-sortable-tree": "^2.8.0",
"sass": "^1.43.2",
"sass-loader": "^13.0.2",
"semver-compare": "^1.0.0",
"slugify": "^1.6.1",
"style-loader": "^2.0.0",
"url-join": "^5.0.0",
"url-loader": "^4.1.1",
"use-react-router": "^1.0.7"
},
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.8",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-decorators": "^7.15.8",
"@babel/plugin-proposal-do-expressions": "^7.14.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
"@babel/plugin-proposal-numeric-separator": "^7.14.5",
"@babel/plugin-proposal-object-rest-spread": "^7.15.6",
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
"@babel/plugin-transform-runtime": "^7.15.8",
"@babel/plugin-transform-typescript": "^7.15.8",
"@babel/preset-env": "^7.5.4",
"@babel/preset-react": "^7.7.4",
"@babel/preset-typescript": "^7.13.0",
"@babel/runtime": "^7.15.4",
"@formatjs/cli": "^6.0.1",
"@formatjs/icu-messageformat-parser": "^2.0.12",
"@formatjs/intl": "^2.3.1",
"@formatjs/intl-datetimeformat": "^6.0.3",
"@formatjs/intl-displaynames": "^6.0.3",
"@formatjs/intl-getcanonicallocales": "^2.0.2",
"@formatjs/intl-listformat": "^7.0.3",
"@formatjs/intl-locale": "^3.0.3",
"@formatjs/intl-numberformat": "^8.0.3",
"@formatjs/intl-pluralrules": "^5.0.3",
"@formatjs/intl-relativetimeformat": "^11.0.3",
"@formatjs/ts-transformer": "^3.5.0",
"@graphql-codegen/add": "^3.1.0",
"@graphql-codegen/cli": "^2.2.1",
"@graphql-codegen/fragment-matcher": "^3.1.0",
"@graphql-codegen/import-types-preset": "^2.1.6",
"@graphql-codegen/introspection": "^2.1.1",
"@graphql-codegen/named-operations-object": "^2.1.0",
"@graphql-codegen/schema-ast": "^2.2.0",
"@graphql-codegen/time": "^3.1.0",
"@graphql-codegen/typescript": "^2.2.4",
"@graphql-codegen/typescript-apollo-client-helpers": "^2.2.6",
"@graphql-codegen/typescript-operations": "^2.1.8",
"@graphql-codegen/typescript-react-apollo": "^3.1.6",
"@release-it/bumper": "^2.0.0",
"@saleor/app-bridge": "^0.1.5",
"@saleor/app-sdk": "^0.37.2",
"@sentry/webpack-plugin": "^1.18.4",
"@storybook/addons": "^6.5.16",
"@storybook/addon-actions": "^6.4.18",
"@storybook/addon-essentials": "^6.4.18",
"@storybook/addon-links": "^6.4.18",
"@storybook/react": "^6.4.18",
"@storybook/theming": "^6.5.16",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^10.4.9",
"@trivago/prettier-plugin-sort-imports": "^3.2.0",
"@types/apollo-upload-client": "^17.0.1",
"@types/babel-plugin-macros": "^2.8.5",
"@types/classnames": "^2.3.1",
"@types/color-convert": "^2.0.0",
"@types/enzyme": "^3.10.9",
"@types/faker": "^6.6.9",
"@types/fuzzaldrin": "^2.1.4",
"@types/is-url": "^1.2.30",
"@types/jest": "^24.9.1",
"@types/node": "^16.10.9",
"@types/nprogress": "^0.2.0",
"@types/qs": "^6.9.7",
"@types/react": "^16.9.0",
"@types/react-dom": "^16.9.0",
"@types/react-helmet": "^6.1.5",
"@types/react-infinite-scroller": "^1.2.1",
"@types/react-router-dom": "^4.3.4",
"@types/react-sortable-tree": "^0.3.14",
"@types/react-test-renderer": "^17.0.1",
"@types/semver-compare": "^1.0.1",
"@types/url-join": "^4.0.1",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.3",
"apollo": "^2.29.0-alpha.0",
"autoprefixer": "^10.3.7",
"babel-jest": "^23.6.0",
"babel-plugin-formatjs": "^10.3.9",
"babel-plugin-macros": "^3.1.0",
"babel-plugin-react-intl": "^5.1.11",
"babel-plugin-react-intl-auto": "^3.3.0",
"codecov": "^3.8.3",
"cypress": "^10.0.2",
"cypress-file-upload": "^5.0.8",
"cypress-mailhog": "^1.3.0",
"cypress-mochawesome-reporter": "^2.3.0",
"cypress-multi-reporters": "^1.5.0",
"cypress-timings": "^1.0.0",
"dotenv-cli": "^7.0.0",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.2",
"eslint": "^7.2.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-formatjs": "^2.17.8",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.0.1",
"eslint-plugin-react-intl": "^1.1.2",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-testing-library": "^5.5.1",
"fork-ts-checker-webpack-plugin": "^3.1.1",
"html-webpack-plugin": "^3.2.0",
"husky": "^8.0.1",
"identity-obj-proxy": "^3.0.0",
"intl-messageformat": "^9.9.2",
"jest": "^27.2.5",
"jest-environment-jsdom": "^29.5.0",
"jest-file": "^1.0.0",
"jest-localstorage-mock": "^2.4.3",
"jest-watch-typeahead": "^1.0.0",
"lint-staged": "^13.0.3",
"patch-package": "^6.4.7",
"postcss": "^8.3.9",
"prettier": "^2.4.1",
"react-dev-utils": "^12.0.1",
"react-infinite-scroll-component": "^6.1.0",
"react-intl-translations-manager": "^5.0.3",
"react-test-renderer": "^17.0.2",
"register-service-worker": "^1.7.2",
"release-it": "^14.5.0",
"rimraf": "^3.0.2",
"speed-measure-webpack-plugin": "^1.5.0",
"start-server-and-test": "^1.14.0",
"tailwindcss": "^3.1.5",
"ts-jest": "^24.0.3",
"ts-loader": "^8.2.0",
"tsconfig-paths-webpack-plugin": "^3.5.2",
"typescript": "^4.4.4",
"webpack": "^4.46.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.3",
"webpack-manifest-plugin": "^2.2.0",
"workbox-cacheable-response": "^6.4.2",
"workbox-core": "^6.4.2",
"workbox-expiration": "^6.4.2",
"workbox-precaching": "^6.4.2",
"workbox-routing": "^6.4.2",
"workbox-strategies": "^6.4.2",
"workbox-webpack-plugin": "^6.4.2"
},
"resolutions": {
"graphql": "^15.5.0",
"graphql-language-service-interface": "2.8.4",
"**/apollo-language-server/graphql": "^15.0.0",
"**/@types/graphql-upload/graphql": "^15.0.0",
"@types/react": "^16.9.0"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"npm run lint"
],
"**/*.{json,html}": [
"npm run format"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run check-types"
}
},
"jest": {
"resetMocks": false,
"setupFiles": [
"jest-localstorage-mock"
],
"transform": {
"^.+\\.(jsx?|tsx?)$": "babel-jest",
"^.+\\.(png|svg|jpe?g)$": "jest-file"
},
"testRegex": ".*\\.test\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"moduleNameMapper": {
"@assets(.*)$": "<rootDir>/assets/$1",
"@locale(.*)$": "<rootDir>/locale/$1",
"@saleor(?!.*macaw)(?!.*sdk)(.*)$": "<rootDir>/src/$1",
"@test/(.*)$": "<rootDir>/testUtils/$1",
"^lodash-es(.*)$": "lodash/$1",
"^@material-ui/core$": "<rootDir>/node_modules/@material-ui/core",
"^@material-ui/icons$": "<rootDir>/node_modules/@material-ui/icons",
"^@material-ui/styles$": "<rootDir>/node_modules/@material-ui/styles",
"^react$": "<rootDir>/node_modules/react",
"^react-dom$": "<rootDir>/node_modules/react-dom"
}
},
"scripts": {
"graphql-fetch-schema": "graphql-codegen --config fetch-schema.yml && node scripts/build-schema.js",
"graphql-codegen-generate": "graphql-codegen --config codegen.yml",
"start": "webpack-dev-server -d",
"build": "webpack -p",
"postbuild": "rimraf ./build/**/*.js.map",
"prebuild": "rimraf ./build && npm run graphql-codegen-generate && npm run make-both-messages",
"prepare": "husky install",
"preinstall": "npx npm-force-resolutions",
"lint": "npm run eslint && npm run format",
"eslint": "eslint \"src/**/*.@(tsx|ts|jsx|js)\" -c ./.eslintrc --quiet --fix",
"format": "prettier --write \"**/*.+(ts|tsx|js|jsx|json|yml|yaml|css|scss)\"",
"check-strict-null-errors": "tsc --noEmit --strictNullChecks | node scripts/count-strict-null-check-errors.js",
"check-types": "tsc --noEmit",
"storybook": "start-storybook -p 6009 -c src/stories/",
"build-storybook": "build-storybook -c src/stories/ -o build/stories",
"extract": "formatjs extract",
"extract-messages": "npm run extract -- \"src/**/!(*.{d,test}).ts*\" --out-file locale/extracted/defaultMessages.json --id-interpolation-pattern '[sha512:contenthash:base64:6]'",
"compile": "formatjs compile",
"compile-messages": "npm run compile -- locale/extracted/defaultMessages.json --ast --out-file locale/compiled/defaultMessages.json",
"formatjs-extract-compile-messages": "npm run extract-messages && npm run compile-messages",
"extract-json-messages": "rimraf build/locale && cross-env NODE_ENV=extract babel src 'src/**/*.{ts,tsx}' -o build/dashboard/dashboard.bundle.js",
"transpile-messages": "node scripts/transpile-tx.js",
"react-intl-extract-transpile-messages": "npm run extract-json-messages && npm run transpile-messages",
"make-both-messages": "npm run react-intl-extract-transpile-messages && npm run formatjs-extract-compile-messages",
"test": "TZ=UTC jest src/",
"test:watch": "jest --watchAll --verbose",
"test:coverage": "jest --coverage",
"cypress": "cypress open",
"cypress:run": "cypress run",
"cypress:record": "npm run cypress:run -- --record",
"e2e": "start-server-and-test dev http://localhost:9000 cypress",
"e2e:run": "start-server-and-test dev http://localhost:9000 cypress:run",
"e2e:record": "start-server-and-test dev http://localhost:9000 cypress:record",
"release": "dotenv release-it --"
}
}