-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
153 lines (153 loc) · 6.23 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
{
"name": "expert_react",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "webpack serve --env port=3000",
"start:vite": "vite --host 192.168.200.18",
"start:dev:vite": "concurrently \"npm run start:vite\" \"npm run start:dev:server\"",
"start:dev": "concurrently \"npm start\" \"npm run start:dev:server\"",
"start:dev:server": "node ./json-server/index.js",
"build:prod": "webpack --env mode=production apiUrl=https://expert-react-prod-server.vercel.app/",
"build:prod:analyze": "webpack --env mode=production --env analyze=1 apiUrl=https://expert-react-prod-server.vercel.app/",
"build:dev": "webpack --env mode=development",
"lint:ts": "eslint src/**/*.{ts,tsx}",
"lint:ts:fix": "eslint src/**/*.{ts,tsx} --fix",
"format": "prettier --write 'src/**/*.{js,jsx,ts,tsx,css,md,json}' --config ./.prettierrc",
"lint:scss": "npx stylelint '**/*.scss'",
"lint:scss:fix": "npx stylelint '**/*.scss' --fix",
"test:unit": "jest --config ./config/jest/jest.config.ts",
"test:ui": "npx loki test",
"test:ui:ok": "npx loki approve",
"test:ui:update": "npx loki update",
"test:ui:ci": "npx loki --requireReference --reactUri file:./storybook-static",
"test:ui:json": "node scripts/generate-visual-json-report.js",
"test:ui:html": "npx reg-cli --from .loki/report.json --report .loki/report.html",
"test:ui:report": "npm run test:ui:json && npm run test:ui:html",
"analyze:dev": "webpack --env mode=development --env analyze=1",
"analyze:prod": "webpack --env mode=production --env analyze=1",
"storybook": "start-storybook -p 6006 -c ./config/storybook",
"storybook:build": "build-storybook -c ./config/storybook",
"prepare": "husky install",
"generate:slice": "node ./scripts/createSlice/index.js",
"postinstall": "node ./scripts/clear-cache.js"
},
"lint-staged": {
"src/**/*.{ts,tsx}": "eslint"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.17.5",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/plugin-transform-typescript": "^7.20.2",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@storybook/addon-actions": "^6.5.15",
"@storybook/addon-essentials": "^6.5.15",
"@storybook/addon-interactions": "^6.5.15",
"@storybook/addon-links": "^6.5.15",
"@storybook/builder-webpack5": "^6.5.15",
"@storybook/manager-webpack5": "^6.5.15",
"@storybook/react": "^6.5.15",
"@storybook/testing-library": "^0.0.13",
"@svgr/webpack": "^6.2.1",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/circular-dependency-plugin": "^5.0.5",
"@types/jest": "^27.5.2",
"@types/node": "^17.0.21",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9",
"@types/react-router-dom": "^5.3.3",
"@types/webpack": "^5.28.0",
"@types/webpack-bundle-analyzer": "^4.6.0",
"@types/webpack-dev-server": "^4.7.2",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"@vitejs/plugin-react": "^2.2.0",
"babel-loader": "^8.2.3",
"babel-plugin-i18next-extract": "^0.8.3",
"circular-dependency-plugin": "^5.2.2",
"concurrently": "^7.5.0",
"copy-webpack-plugin": "^10.2.4",
"css-loader": "^6.6.0",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-i18next": "^5.2.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.29.2",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-storybook": "^0.6.8",
"eslint-plugin-test-fsd": "^0.0.8",
"eslint-plugin-unused-imports": "^2.0.0",
"file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^7.2.13",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.5.1",
"jest-html-reporters": "^3.0.11",
"json-server": "^0.17.1",
"lint-staged": "^13.1.0",
"loki": "^0.30.3",
"mini-css-extract-plugin": "^2.5.3",
"prettier": "^2.7.1",
"react-refresh": "^0.12.0",
"reg-cli": "^0.17.7",
"regenerator-runtime": "^0.13.10",
"sass": "^1.49.9",
"sass-loader": "^12.6.0",
"storybook-addon-mock": "^3.2.0",
"storybook-addon-themes": "^6.1.0",
"style-loader": "^3.3.1",
"stylelint": "^14.14.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard-scss": "^3.0.0",
"ts-loader": "^9.2.6",
"ts-morph": "^16.0.0",
"ts-node": "^10.5.0",
"typescript": "4.5.5",
"vite": "^3.2.5",
"vite-plugin-svgr": "^2.2.2",
"webpack": "^5.69.1",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.7.4",
"whatwg-fetch": "^3.6.2"
},
"dependencies": {
"@headlessui/react": "^1.7.4",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
"@react-spring/web": "^9.5.5",
"@reduxjs/toolkit": "^1.9.1",
"@use-gesture/react": "^10.2.22",
"axios": "^0.26.1",
"i18next": "^21.10.0",
"i18next-browser-languagedetector": "^6.1.3",
"i18next-http-backend": "^1.3.2",
"react": "^18.2.0",
"react-device-detect": "^2.2.2",
"react-dom": "^18.2.0",
"react-i18next": "^11.18.6",
"react-redux": "^8.0.5",
"react-router-dom": "^6.2.1"
},
"loki": {
"configurations": {
"chrome.laptop": {
"target": "chrome.docker",
"width": 1366,
"height": 768,
"deviceScaleFactor": 1,
"mobile": false
}
}
}
}