-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
127 lines (127 loc) · 6.21 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": "product",
"private": true,
"version": "0.0.0",
"scripts": {
"dev": "vite -c .vite/vite.config.ts --mode development",
"dev:prod": "vite -c .vite/vite.config.ts --mode production",
"dev:host": "vite --host -c .vite/vite.config.ts --mode development",
"build": "tsc && vite build -c .vite/vite.config.ts --mode development",
"build:start": "npm run build & npm run preview",
"build:view": "npx vite-bundle-visualizer -c .vite/vite.config.ts --mode production",
"build:view2": "npx vite-bundle-analyzer -c .vite/vite.config.ts --mode production",
"preview": "vite preview -c .vite/vite.config.ts",
"preview:host": "vite preview --host -c .vite/vite.config.ts",
"production": "tsc && vite build -c .vite/vite.config.ts --mode production",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 -c .eslintrc.cjs",
"lint:fix": "eslint . --fix --ext ts,tsx --report-unused-disable-directives --max-warnings 0 -c .eslintrc.cjs",
"slint": "stylelint ./src/**/*.scss -c .stylelintrc.json",
"slint:fix": "stylelint --fix ./src/**/*.scss -c .stylelintrc.json",
"test:jest": "jest --config jest.config.ts",
"pw:install": "npx playwright install --with-deps",
"test:cy": "start-server-and-test build:start http://localhost:4173 test:cy:run",
"test:cy:open": "start-server-and-test build:start http://localhost:4173 test:cy:run:open",
"test:cy:run": "cypress run --config-file .cypress/cypress.config.ts --browser chrome",
"test:cy:run:open": "cypress open --config-file .cypress/cypress.config.ts",
"test:cy:diff": "cypress-image-diff-html-report start --rd ./.cypress/cypress-image-diff-html-report",
"test:cy:diff2": "reg-cli ./.cypress/cypress-image-diff-screenshots/baseline ./.cypress/cypress-image-diff-screenshots/comparison ./.cypress/cypress-image-diff-screenshots/diff -R ./report.html",
"test:cy:update": "cypress-image-diff -u",
"test:pw": "playwright test -c .playwright/playwright-ct.config.ts",
"test:pw:ui": "playwright test --ui -c .playwright/playwright-ct.config.ts",
"test:pw-copy": "docker cp 1b1:/usr/src/app/__snapshots__ .",
"test:pw-update": "playwright test -c .playwright/playwright-ct.config.ts --update-snapshots",
"test:pw-linux": "playwright test -c .playwright/playwright-ct-linux.config.ts",
"test:pw-update-linux": "playwright test -c .playwright/playwright-ct-linux.config.ts --update-snapshots",
"test:pw-docker": "docker run --rm -v snapshots:/playwright/screenshots -e CI=true playwright-test:latest npm run test:pw-linux",
"test:pw-docker:build": "docker build -t playwright-test:latest .",
"test:pw-docker:update": "docker run -e CI=true playwright-test:latest npm run test:pw-update-linux",
"story": "storybook dev -p 6006",
"story:build": "storybook build",
"server:json": "nodemon .dev/json-server/index.cjs",
"prepare": "husky install"
},
"dependencies": {
"@radix-ui/react-icons": "^1.3.0",
"@vanyamate/fetch-with-interceptors": "^0.0.1",
"@vanyamate/helpers": "^0.0.5",
"@vanyamate/react-infinity-virtual": "^0.1.3",
"@vanyamate/sec": "^0.1.1",
"@vanyamate/sec-react": "^0.0.4",
"ci": "^2.3.0",
"class-variance-authority": "^0.7.0",
"classnames": "^2.5.1",
"clsx": "^2.1.0",
"dayjs": "^1.11.11",
"product-types": "^0.3.104",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.53.0",
"react-icons": "^5.0.1",
"react-redux": "^9.1.0",
"react-router-dom": "^6.22.3"
},
"devDependencies": {
"@babel/preset-env": "^7.24.3",
"@babel/preset-react": "^7.24.1",
"@babel/preset-typescript": "^7.24.1",
"@chromatic-com/storybook": "^1.2.25",
"@playwright/experimental-ct-react": "^1.42.1",
"@storybook/addon-controls": "^8.0.5",
"@storybook/addon-essentials": "^8.0.5",
"@storybook/addon-interactions": "^8.0.5",
"@storybook/addon-links": "^8.0.5",
"@storybook/addon-onboarding": "^8.0.5",
"@storybook/blocks": "^8.0.5",
"@storybook/builder-vite": "^8.0.8",
"@storybook/react": "^8.0.5",
"@storybook/react-vite": "^8.0.5",
"@storybook/test": "^8.0.5",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.2",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"@types/json-server": "^0.14.7",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@vitejs/plugin-react-swc": "^3.5.0",
"autoprefixer": "^10.4.19",
"babel-jest": "^29.7.0",
"cypress": "^13.7.3",
"cypress-image-diff-html-report": "^2.0.3",
"cypress-image-diff-js": "^2.1.4",
"cypress-visual-regression": "^5.0.0",
"cypress-vite": "^1.5.0",
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6",
"eslint-plugin-storybook": "^0.8.0",
"husky": "^8.0.0",
"jest": "^29.7.0",
"jest-css-modules": "^2.1.0",
"jest-environment-jsdom": "^29.7.0",
"json-server": "^0.17.3",
"lightningcss": "^1.27.0",
"nodemon": "^3.1.0",
"postcss": "^8.4.38",
"react-test-renderer": "^18.2.0",
"reg-cli": "^0.18.1",
"sass": "^1.72.0",
"start-server-and-test": "^2.0.3",
"storybook": "^8.0.5",
"stylelint": "^16.3.1",
"stylelint-config-standard-scss": "^13.0.0",
"stylelint-scss": "^6.2.1",
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
"vite": "^5.2.0",
"vite-plugin-bundle-monitoring": "^0.1.2",
"vite-plugin-compression2": "^1.1.0"
}
}