forked from gravity-ui/uikit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
221 lines (221 loc) · 7.77 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
{
"name": "@gravity-ui/uikit",
"version": "6.34.0",
"description": "Gravity UI base styling and components",
"keywords": [
"component",
"design-system",
"gravity-ui",
"react",
"react-component",
"ui",
"uikit",
"web"
],
"license": "MIT",
"engines": {
"node": ">= 18",
"npm": ">= 9",
"yarn": "Please use npm instead of yarn to install dependencies",
"pnpm": "Please use npm instead of pnpm to install dependencies"
},
"repository": {
"type": "git",
"url": "https://github.com/gravity-ui/uikit"
},
"exports": {
".": {
"types": "./build/esm/index.d.ts",
"require": "./build/cjs/index.js",
"import": "./build/esm/index.js"
},
"./toaster-singleton": {
"types": "./build/esm/toaster-singleton.d.ts",
"require": "./build/cjs/toaster-singleton.js",
"import": "./build/esm/toaster-singleton.js"
},
"./toaster-singleton-react-18": {
"types": "./build/esm/toaster-singleton-react-18.d.ts",
"require": "./build/cjs/toaster-singleton-react-18.js",
"import": "./build/esm/toaster-singleton-react-18.js"
},
"./i18n": {
"types": "./build/esm/i18n/index.d.ts",
"require": "./build/cjs/i18n/index.js",
"import": "./build/esm/i18n/index.js"
},
"./unstable": {
"types": "./build/esm/unstable.d.ts",
"require": "./build/cjs/unstable.js",
"import": "./build/esm/unstable.js"
},
"./server": {
"types": "./build/esm/server.d.ts",
"require": "./build/cjs/server.js",
"import": "./build/esm/server.js"
},
"./styles/*": "./styles/*"
},
"main": "./build/cjs/index.js",
"module": "./build/esm/index.js",
"types": "./build/esm/index.d.ts",
"typesVersions": {
"*": {
"index.d.ts": [
"./build/esm/index.d.ts"
],
"toaster-singleton": [
"./build/esm/toaster-singleton.d.ts"
],
"toaster-singleton-react-18": [
"./build/esm/toaster-singleton-react-18.d.ts"
],
"i18n": [
"./build/esm/i18n/index.d.ts"
],
"unstable": [
"./build/esm/unstable.d.ts"
],
"server": [
"./build/esm/server.d.ts"
]
}
},
"sideEffects": [
"*.css",
"*.scss"
],
"files": [
"build",
"styles"
],
"scripts": {
"prepare": "husky",
"test": "jest",
"test-storybook": "test-storybook --url ${PR_PREVIEW_URL:-http://localhost:7007}",
"test:coverage": "jest --coverage",
"test:watch": "jest --watchAll",
"clean": "gulp clean",
"build": "gulp",
"start": "storybook dev -p 7007",
"build-storybook": "storybook build -c .storybook -o storybook-static",
"lint:js": "eslint --ext .js,.jsx,.ts,.tsx .",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:styles": "cross-env stylelint '{styles,src}/**/*.scss'",
"lint:styles:fix": "cross-env npm run lint:styles -- --fix",
"lint:prettier": "cross-env prettier --check '**/*.md'",
"lint:prettier:fix": "cross-env prettier --write '**/*.md'",
"lint": "run-p lint:*",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run build && npm pkg delete engines",
"playwright:install": "playwright install chromium webkit --with-deps",
"playwright": "playwright test --config=playwright/playwright.config.ts",
"playwright:update": "npm run playwright -- -u",
"playwright:clear-cache": "rm -rf ./playwright/.cache",
"playwright:docker": "./scripts/playwright-docker.sh 'npm run playwright'",
"playwright:docker:update": "./scripts/playwright-docker.sh 'npm run playwright:update'",
"playwright:docker:clear-cache": "./scripts/playwright-docker.sh clear-cache"
},
"dependencies": {
"@bem-react/classname": "^1.6.0",
"@gravity-ui/i18n": "^1.6.0",
"@gravity-ui/icons": "^2.8.1",
"@popperjs/core": "^2.11.8",
"blueimp-md5": "^2.19.0",
"focus-trap": "^7.5.4",
"lodash": "^4.17.21",
"rc-slider": "^10.6.2",
"react-beautiful-dnd": "^13.1.1",
"react-copy-to-clipboard": "^5.1.0",
"react-popper": "^2.3.0",
"react-transition-group": "^4.4.5",
"react-virtualized-auto-sizer": "^1.0.21",
"react-window": "^1.8.10",
"tabbable": "^6.2.0",
"tslib": "^2.6.2"
},
"devDependencies": {
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@commitlint/cli": "^18.6.0",
"@commitlint/config-conventional": "^18.6.0",
"@faker-js/faker": "^9.0.3",
"@gravity-ui/eslint-config": "^3.1.1",
"@gravity-ui/prettier-config": "^1.1.0",
"@gravity-ui/stylelint-config": "^4.0.1",
"@gravity-ui/tsconfig": "^1.0.0",
"@playwright/experimental-ct-react": "^1.47.1",
"@playwright/test": "^1.47.1",
"@storybook/addon-a11y": "^8.1.9",
"@storybook/addon-essentials": "^8.1.9",
"@storybook/addon-storysource": "^8.1.9",
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
"@storybook/cli": "^8.1.9",
"@storybook/manager-api": "^8.1.9",
"@storybook/preset-scss": "^1.0.3",
"@storybook/preview-api": "^8.1.9",
"@storybook/react-webpack5": "^8.1.9",
"@storybook/test-runner": "^0.18.0",
"@testing-library/dom": "^10.1.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"@types/blueimp-md5": "^2.18.2",
"@types/chroma-js": "^2.4.3",
"@types/jest": "^29.5.11",
"@types/lodash": "^4.14.202",
"@types/react": "^18.2.48",
"@types/react-beautiful-dnd": "^13.1.8",
"@types/react-copy-to-clipboard": "^5.0.7",
"@types/react-dom": "^18.2.18",
"@types/react-transition-group": "^4.4.10",
"@types/react-virtualized-auto-sizer": "^1.0.4",
"@types/react-window": "^1.8.8",
"@vitejs/plugin-react": "^4.2.1",
"axe-playwright": "^2.0.1",
"chroma-js": "^2.4.2",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"eslint-plugin-testing-library": "^6.2.0",
"gulp": "^4.0.2",
"gulp-cli": "^2.3.0",
"gulp-dart-sass": "^1.1.0",
"gulp-replace": "^1.1.4",
"gulp-typescript": "^5.0.1",
"husky": "^9.0.6",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-transform-css": "^6.0.1",
"nano-staged": "^0.8.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.33",
"prettier": "^3.2.4",
"react": "^18.3.1",
"react-docgen-typescript": "^2.2.2",
"react-dom": "^18.3.1",
"rimraf": "^5.0.5",
"sass": "^1.70.0",
"sass-loader": "^14.0.0",
"storybook": "^8.1.9",
"stylelint": "^15.11.0",
"stylelint-use-logical": "^2.1.0",
"ts-jest": "^29.1.2",
"typescript": "^5.3.3"
},
"peerDependencies": {
"react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"nano-staged": {
"*.{scss}": [
"stylelint --fix --quiet"
],
"*.{js,jsx,ts,tsx}": [
"eslint --fix --quiet"
],
"*.{md,mdx}": [
"prettier --write"
]
}
}