-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
226 lines (226 loc) · 7.74 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
{
"name": "react-production",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "concurrently \"pnpm start:dev:server\" \"pnpm start:dev:client\"",
"storybook": "storybook dev -p 6006 -c ./config/storybook --no-open",
"start:dev:vite": "concurrently \"pnpm start:dev:server\" \"pnpm start:dev:vite:client\"",
"start:dev:client": "webpack serve --env port=3000",
"start:dev:vite:client": "vite",
"start:dev:server": "tsx ./server/index.ts",
"deploy": ".deploy/deploy.sh",
"build:prod": "webpack --env mode=production",
"build:prod:analyze": "webpack --env mode=production analyze=true",
"build:dev": "webpack --env mode=development",
"build:storybook": "storybook build -c ./config/storybook",
"prettier": "prettier --write \"**/*.{ts,tsx,json}\"",
"lint:ts": "eslint \"**/*.{ts,tsx}\"",
"lint:ts:fix": "eslint \"**/*.{ts,tsx}\" --fix",
"lint:scss": "npx stylelint \"**/*.scss\"",
"lint:scss:fix": "npx stylelint \"**/*.scss\" --fix",
"test:unit": "jest --config ./config/jest/jest.config.ts",
"test:e2e": "cypress open",
"test:ui": "npx loki test",
"test:ui:ok": "npx loki approve",
"test:ui:ci": "concurrently -s first -k \"STORYBOOK_CI=true pnpm storybook\" \"pnpm test:ui\"",
"test:ui:json": "node scripts/generate-visual-json-report.js",
"test:ui:html": "reg-cli --from .loki/report.json --report .loki/report.html",
"test:ui:report": "pnpm test:ui:json && pnpm test:ui:html",
"test:ui:report:chrome": "pnpm test:ui:report && open -a 'Google Chrome' .loki/report.html",
"test:ui:report:arc": "pnpm test:ui:report && open -a 'Arc' .loki/report.html",
"generate:slice": "tsx ./scripts/createSlice/index.ts",
"rename:slice": "tsx ./scripts/rename/renameSlice.ts",
"rename:folder": "tsx ./scripts/rename/renameFolder.ts",
"remove:feature": "tsx ./scripts/removeFeature/index.ts",
"check:layerDocs": "tsx scripts/checkLayerDocs/index.ts",
"preinstall": "npx only-allow pnpm",
"prepare": "husky install",
"postinstall": "rimraf ./node_modules/.cache && patch-package"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/plugin-transform-runtime": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@loki/create-async-callback": "^0.32.0",
"@loki/is-loki-running": "^0.32.0",
"@loki/target-chrome-core": "^0.32.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
"@storybook/addon-a11y": "^7.2.1",
"@storybook/addon-actions": "^7.2.1",
"@storybook/addon-essentials": "^7.2.1",
"@storybook/addon-interactions": "^7.2.1",
"@storybook/addon-links": "^7.2.1",
"@storybook/react": "^7.2.1",
"@storybook/react-webpack5": "^7.2.1",
"@storybook/testing-library": "^0.2.0",
"@svgr/webpack": "^8.0.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/babel__core": "^7.20.5",
"@types/circular-dependency-plugin": "^5.0.5",
"@types/dompurify": "^3.0.3",
"@types/jest": "^29.5.1",
"@types/json-server": "^0.14.4",
"@types/minimist": "^1.2.2",
"@types/node": "^20.2.1",
"@types/quill": "^2.0.10",
"@types/react": "^18.2.6",
"@types/react-dom": "^18.2.4",
"@types/react-router-dom": "^5.3.3",
"@types/webpack": "^5.28.1",
"@types/webpack-bundle-analyzer": "^4.6.0",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"@vitejs/plugin-react": "^4.0.0",
"babel-loader": "^9.1.2",
"babel-plugin-i18next-extract": "^0.9.0",
"circular-dependency-plugin": "^5.2.2",
"concurrently": "^8.0.1",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.4",
"cypress": "^12.14.0",
"eslint": "^8.41.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-cypress": "^2.13.3",
"eslint-plugin-i18next": "^6.0.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-netliukh-demian-fsd-plugin": "^0.0.25",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.6.13",
"eslint-plugin-unused-imports": "^2.0.0",
"fork-ts-checker-webpack-plugin": "^8.0.0",
"glob": "^10.3.3",
"html-webpack-plugin": "^5.5.1",
"husky": "^8.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-html-reporters": "^3.1.4",
"json-server": "^0.17.0",
"lint-staged": "^13.2.2",
"loki": "^0.31.2",
"mini-css-extract-plugin": "^2.7.6",
"minimist": "^1.2.8",
"msw": "^1.2.1",
"msw-storybook-addon": "^1.8.0",
"patch-package": "^7.0.0",
"react-refresh": "^0.14.0",
"reg-cli": "^0.17.7",
"regenerator-runtime": "^0.13.11",
"remark-parse": "^10.0.2",
"rimraf": "^5.0.1",
"sass": "^1.62.1",
"sass-loader": "^13.2.2",
"storybook": "^7.2.1",
"storybook-addon-react-router-v6": "^2.0.2",
"storybook-addon-themes": "^6.1.0",
"style-loader": "^3.3.3",
"stylelint": "^15.6.2",
"stylelint-config-prettier-scss": "^1.0.0",
"stylelint-config-recess-order": "^4.0.0",
"stylelint-config-standard-scss": "^9.0.0",
"ts-loader": "^9.4.2",
"ts-morph": "^18.0.0",
"ts-node": "^10.9.1",
"tsx": "^3.12.7",
"typescript": "^5.0.4",
"unified": "^10.1.2",
"vite": "^4.3.8",
"vite-plugin-svgr": "^3.2.0",
"vite-tsconfig-paths": "^4.2.0",
"webpack": "5.83.1",
"webpack-bundle-analyzer": "^4.8.0",
"webpack-cli": "^5.1.1",
"webpack-dev-server": "^4.15.0",
"whatwg-fetch": "^3.6.2"
},
"dependencies": {
"@headlessui/react": "^1.7.14",
"@lexical/code": "^0.12.2",
"@lexical/html": "^0.12.2",
"@lexical/link": "^0.12.2",
"@lexical/list": "^0.12.2",
"@lexical/markdown": "^0.12.2",
"@lexical/react": "^0.12.2",
"@lexical/rich-text": "^0.12.2",
"@lexical/selection": "^0.12.2",
"@lexical/utils": "^0.12.2",
"@react-spring/web": "^9.7.2",
"@reduxjs/toolkit": "^1.9.5",
"@use-gesture/react": "^10.2.27",
"axios": "^1.4.0",
"dompurify": "^3.0.6",
"i18next": "^23.2.8",
"i18next-browser-languagedetector": "^7.1.0",
"i18next-http-backend": "^2.2.1",
"lexical": "^0.12.2",
"prettier": "^3.0.3",
"react": "18.2",
"react-dom": "^18.2.0",
"react-i18next": "^13.0.1",
"react-quill": "^2.0.0",
"react-redux": "^8.0.5",
"react-router-dom": "^6.11.2",
"react-virtuoso": "^4.4.0",
"redux": "^4.2.1"
},
"loki": {
"fetchFailIgnore": "https://mockapi.com/*",
"skipStories": "(?<!is )loading",
"diffingEngine": "pixelmatch",
"pixelmatch": {
"threshold": 0.15
},
"configurations": {
"chrome.laptop": {
"target": "chrome.docker",
"width": 1366,
"height": 768,
"deviceScaleFactor": 1,
"mobile": false
},
"chrome.iphone7": {
"target": "chrome.docker",
"preset": "iPhone 7"
}
}
},
"msw": {
"workerDirectory": "public"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.json": [
"prettier --write"
],
"*.scss": [
"stylelint",
"prettier --write"
]
},
"engines": {
"node": ">=20.6.0",
"pnpm": ">=8"
}
}