forked from VKCOM/VKUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
172 lines (172 loc) · 6.53 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
{
"private": true,
"version": "0.0.0",
"name": "@vkontakte/vkui-monorepo",
"dependencies": {
"@project-docs/styleguide": "1.0.0",
"@project-e2e/helpers": "1.0.0",
"@project-tools/babel-plugin-transform-css-modules": "1.0.0",
"@project-tools/postcss-check-keyframes": "1.0.0",
"@project-tools/postcss-restructure-variable": "1.0.0",
"@project-tools/storybook-addon-cartesian": "1.0.0",
"@project-tools/stylelint-atomic": "1.0.0",
"@project-tools/stylelint-bad-multiplication": "1.0.0",
"eslint-plugin-vkui": "1.0.0"
},
"devDependencies": {
"@babel/cli": "^7.21.0",
"@babel/core": "^7.20.12",
"@babel/parser": "^7.21.1",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-object-rest-spread": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.21.0",
"@babel/preset-env": "^7.16.8",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.21.0",
"@csstools/postcss-global-data": "^1.0.1",
"@size-limit/file": "^8.2.4",
"@size-limit/webpack": "^8.2.4",
"@size-limit/webpack-css": "^8.2.4",
"@testing-library/jest-dom": "^5.11.6",
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^13.2.1",
"@types/css-font-loading-module": "^0.0.7",
"@types/jest": "^26.0.15",
"@types/jest-axe": "^3.5.5",
"@types/jest-image-snapshot": "^4.1.3",
"@types/node": "^18.11.11",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/webpack": "^5.28.0",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.53.0",
"@vkontakte/eslint-config": "3.1.0",
"@vkontakte/icons": "^2.1.1",
"@vkontakte/prettier-config": "^0.1.0",
"@vkontakte/vk-bridge": "^2.1.3",
"@vkontakte/vkui-tokens": "4.29.1",
"autoprefixer": "^10.4.2",
"babel-jest": "^26.6.3",
"babel-loader": "^9.1.2",
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-transform-remove-imports": "^1.7.0",
"chalk": "^4.1.0",
"concurrently": "^7.3.0",
"cross-env": "^7.0.2",
"css-loader": "^6.5.1",
"cssnano": "^5.1.15",
"eslint": "7.32.0",
"eslint-config-prettier": "8.6.0",
"eslint-plugin-compat": "^4.1.2",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jest-playwright": "^0.9.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": "^8.0.3",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.6.3",
"jest-axe": "^7.0.0",
"jest-environment-jsdom": "26.6.2",
"jest-environment-node": "26.6.2",
"jest-image-snapshot": "^4.2.0",
"jest-playwright-preset": "^1.7.2",
"jest-preset-stylelint": "^5.0.4",
"lint-staged": "^13.1.2",
"mini-css-extract-plugin": "^2.5.2",
"playwright": "1.28.1",
"playwright-chromium": "1.28.1",
"playwright-firefox": "1.28.1",
"playwright-webkit": "1.28.1",
"postcss": "^8.4.21",
"postcss-cli": "^10.0.0",
"postcss-csso": "^6.0.0",
"postcss-custom-media": "^9.1.2",
"postcss-custom-properties": "^13.1.4",
"postcss-import": "^15.0.0",
"postcss-loader": "^7.0.1",
"postcss-modules": "^6.0.0",
"postcss-value-parser": "^4.2.0",
"postcss-values-parser": "^6.0.2",
"prettier": "^2.8.4",
"process": "^0.11.10",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"semver": "^7.3.5",
"shx": "^0.3.2",
"size-limit": "^8.2.4",
"source-map-loader": "^4.0.0",
"style-loader": "^3.3.1",
"stylelint": "^14.16.1",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-standard": "^29.0.0",
"stylelint-media-use-custom-media": "^2.0.0",
"stylelint-value-no-unknown-custom-properties": "^4.0.0",
"typescript": "^4.7.4",
"typescript-plugin-css-modules": "^4.2.2",
"wait-port": "^1.0.0",
"webpack": "^5.66.0",
"webpack-cli": "^5.0.0",
"webpack-dev-server": "^4.9.2",
"webpack-merge": "^5.8.0",
"yargs": "^17.7.0"
},
"resolutions": {
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0"
},
"scripts": {
"docs:styleguide": "yarn workspace @project-docs/styleguide run start",
"docs:styleguide:props": "yarn workspace @project-docs/styleguide run start:props",
"docs:styleguide:build": "yarn workspace @project-docs/styleguide run build",
"docs:storybook": "yarn workspace @vkontakte/vkui storybook",
"build": "yarn workspaces run build",
"build:vkui": "yarn workspace @vkontakte/vkui run build",
"test": "yarn workspaces run test",
"test:ci": "yarn workspaces run test:ci",
"test:a11y": "yarn workspace @vkontakte/vkui run test:a11y",
"test:a11y:ci": "yarn workspace @vkontakte/vkui run test:a11y:ci",
"//": "Note ('test:e2e'|'test:e2e:ci'): не вызываем через 'yarn workspace', т.к. 'jest-playwright-preset' создаёт .nyc_output/ в папке e2e/, а нам надо, чтобы в корне проекта лежало. Настройки для изменения поведения нет (справедливо для '<= 3.0.1').",
"test:e2e": "jest --config e2e/jest.e2e.config.js",
"test:e2e:ci": "yarn test:e2e --ci --outputFile e2e-results.json --json",
"test:coverage": "npx nyc report --reporter=lcov",
"lint": "concurrently 'yarn:lint:types' 'yarn:lint:es' 'yarn:lint:style' 'yarn:lint:prettier'",
"lint:es": "eslint . --ext .jsx,.js,.ts,.tsx --cache --cache-location .cache/.eslintcache",
"lint:es:ci": "yarn lint:es -o lint-results.json -f json",
"lint:style": "cross-env LINT_PRECOMMIT_RUN=1 stylelint '**/*.css' --cache --cache-location .cache/.stylelintcache",
"lint:prettier": "prettier --check --ignore-unknown .",
"lint:types": "tsc --incremental --emitDeclarationOnly --declaration --tsBuildInfoFile .cache/.tsbuildinfo --outDir .cache/ts",
"prepare": "husky install",
"pre-commit": "lint-staged",
"playwright:install": "playwright install --with-deps",
"codesandbox:install": "PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 yarn install"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"prettier --check",
"eslint"
],
"*.css": [
"prettier --check",
"cross-env LINT_PRECOMMIT_RUN=1 stylelint --allow-empty-input"
],
"*.{json,md}": [
"prettier --check"
]
},
"engines": {
"yarn": "^1.21.1"
},
"packageManager": "yarn@1.22.19",
"workspaces": {
"packages": [
".github/actions/*",
"e2e",
"styleguide",
"packages/*",
"tools/*"
]
}
}