@sberbusiness/triplex-next 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +242 -0
package/package.json
ADDED
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@sberbusiness/triplex-next",
|
|
3
|
+
"version": "0.1.4",
|
|
4
|
+
"description": "Библиотека компонент дизайн-системы Triplex.",
|
|
5
|
+
"author": "СберБизнес",
|
|
6
|
+
"license": "Sber Public License at-nc-sa v.2",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git@github.com:SberBusiness/triplex-next.git"
|
|
10
|
+
},
|
|
11
|
+
"type": "module",
|
|
12
|
+
"files": [
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
15
|
+
"main": "./dist/index.js",
|
|
16
|
+
"module": "./dist/index.js",
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"scripts": {
|
|
19
|
+
"prepare": "husky",
|
|
20
|
+
"prebuild": "npm run generateTokensTypes && npm run generateThemeCssVariables && tsc --noEmit",
|
|
21
|
+
"build": "vite build",
|
|
22
|
+
"postbuild": "node scripts/generate-package-json.js && npm run copyLessHelpers",
|
|
23
|
+
"storybook": "storybook dev -p 6006",
|
|
24
|
+
"storybook:build": "npm run generateTokensTypes && npm run generateThemeCssVariables && storybook build",
|
|
25
|
+
"storybook:serve": "npx http-server storybook-static -p 6007",
|
|
26
|
+
"test-e2e": "playwright test",
|
|
27
|
+
"test-unit": "vitest run",
|
|
28
|
+
"test-unit:watch": "vitest --watch",
|
|
29
|
+
"test-unit:coverage": "vitest run --coverage",
|
|
30
|
+
"generateTokensTypes": "tsx scripts/generateRefTokensTypes.ts",
|
|
31
|
+
"generateThemeCssVariables": "tsx scripts/generateCssFromDesignTokens.ts",
|
|
32
|
+
"generateComponentTokensTemplate": "tsx scripts/generateComponentTokensTemplate.ts",
|
|
33
|
+
"copyLessHelpers": "tsx scripts/copyLessHelpers.ts",
|
|
34
|
+
"chromatic": "dotenv -e .env.local -- sh -c 'npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN --build-script-name=storybook:build'"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@dnd-kit/core": "6.3.1",
|
|
38
|
+
"@dnd-kit/modifiers": "9.0.0",
|
|
39
|
+
"@dnd-kit/sortable": "^10.0.0",
|
|
40
|
+
"clsx": "2.1.1",
|
|
41
|
+
"rc-util": "5.44.4",
|
|
42
|
+
"react-resize-detector": "12.3.0",
|
|
43
|
+
"react-text-mask": "5.5.0",
|
|
44
|
+
"react-window": "1.8.10"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@eslint/js": "9.37.0",
|
|
48
|
+
"@playwright/test": "1.55.1",
|
|
49
|
+
"@sberbusiness/icons-next": "1.0.0-beta.3",
|
|
50
|
+
"@storybook/addon-docs": "9.1.10",
|
|
51
|
+
"@storybook/addon-themes": "9.1.10",
|
|
52
|
+
"@storybook/react-vite": "9.1.10",
|
|
53
|
+
"@testing-library/dom": "10.4.0",
|
|
54
|
+
"@testing-library/react": "16.3.0",
|
|
55
|
+
"@types/lodash-es": "4.17.12",
|
|
56
|
+
"@types/node": "18.19.99",
|
|
57
|
+
"@types/react": "18.3.1",
|
|
58
|
+
"@types/react-dom": "18.3.1",
|
|
59
|
+
"@types/react-text-mask": "5.4.14",
|
|
60
|
+
"@types/react-window": "1.8.8",
|
|
61
|
+
"@vitejs/plugin-react": "4.6.0",
|
|
62
|
+
"@vitest/coverage-v8": "3.2.4",
|
|
63
|
+
"autoprefixer": "10.4.21",
|
|
64
|
+
"chromatic": "13.1.2",
|
|
65
|
+
"dotenv-cli": "9.0.0",
|
|
66
|
+
"eslint": "9.37.0",
|
|
67
|
+
"eslint-config-prettier": "10.1.8",
|
|
68
|
+
"eslint-plugin-prettier": "5.5.4",
|
|
69
|
+
"eslint-plugin-react": "7.37.5",
|
|
70
|
+
"eslint-plugin-react-hooks": "6.1.1",
|
|
71
|
+
"glob": "10.4.5",
|
|
72
|
+
"globals": "16.3.0",
|
|
73
|
+
"http-server": "14.1.1",
|
|
74
|
+
"husky": "9.1.7",
|
|
75
|
+
"jsdom": "26.1.0",
|
|
76
|
+
"less": "4.3.0",
|
|
77
|
+
"lint-staged": "16.1.2",
|
|
78
|
+
"lodash-es": "4.17.21",
|
|
79
|
+
"playwright": "1.55.1",
|
|
80
|
+
"prettier": "3.6.2",
|
|
81
|
+
"react": "18.3.1",
|
|
82
|
+
"react-dom": "18.3.1",
|
|
83
|
+
"rollup-plugin-postcss": "4.0.2",
|
|
84
|
+
"start-server-and-test": "2.0.12",
|
|
85
|
+
"storybook": "9.1.10",
|
|
86
|
+
"tsx": "4.20.3",
|
|
87
|
+
"typescript": "5.8.3",
|
|
88
|
+
"typescript-eslint": "8.45.0",
|
|
89
|
+
"vite": "6.3.5",
|
|
90
|
+
"vite-plugin-dts": "4.5.4",
|
|
91
|
+
"vitest": "3.2.4"
|
|
92
|
+
},
|
|
93
|
+
"peerDependencies": {
|
|
94
|
+
"@sberbusiness/icons-next": "^1.0.0-beta.0",
|
|
95
|
+
"react": "^18.0.0",
|
|
96
|
+
"react-dom": "^18.0.0"
|
|
97
|
+
},
|
|
98
|
+
"lint-staged": {
|
|
99
|
+
"*.{js,jsx,ts,tsx}": [
|
|
100
|
+
"eslint --fix",
|
|
101
|
+
"prettier --write"
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
"exports": {
|
|
105
|
+
".": {
|
|
106
|
+
"import": "./index.js",
|
|
107
|
+
"types": "./index.d.ts"
|
|
108
|
+
},
|
|
109
|
+
"./components/Alert": {
|
|
110
|
+
"import": "./components/Alert/Alert.js",
|
|
111
|
+
"types": "./components/Alert/Alert.d.ts"
|
|
112
|
+
},
|
|
113
|
+
"./components/Body": {
|
|
114
|
+
"import": "./components/Body/Body.js",
|
|
115
|
+
"types": "./components/Body/Body.d.ts"
|
|
116
|
+
},
|
|
117
|
+
"./components/Button": {
|
|
118
|
+
"import": "./components/Button/Button.js",
|
|
119
|
+
"types": "./components/Button/Button.d.ts"
|
|
120
|
+
},
|
|
121
|
+
"./components/Card": {
|
|
122
|
+
"import": "./components/Card/Card.js",
|
|
123
|
+
"types": "./components/Card/Card.d.ts"
|
|
124
|
+
},
|
|
125
|
+
"./components/Checkbox": {
|
|
126
|
+
"import": "./components/Checkbox/Checkbox.js",
|
|
127
|
+
"types": "./components/Checkbox/Checkbox.d.ts"
|
|
128
|
+
},
|
|
129
|
+
"./components/Col": {
|
|
130
|
+
"import": "./components/Col/Col.js",
|
|
131
|
+
"types": "./components/Col/Col.d.ts"
|
|
132
|
+
},
|
|
133
|
+
"./components/DesignTokens": {
|
|
134
|
+
"import": "./components/DesignTokens/DesignTokens.js",
|
|
135
|
+
"types": "./components/DesignTokens/DesignTokens.d.ts"
|
|
136
|
+
},
|
|
137
|
+
"./components/Dropdown": {
|
|
138
|
+
"import": "./components/Dropdown/Dropdown.js",
|
|
139
|
+
"types": "./components/Dropdown/Dropdown.d.ts"
|
|
140
|
+
},
|
|
141
|
+
"./components/Footer": {
|
|
142
|
+
"import": "./components/Footer/Footer.js",
|
|
143
|
+
"types": "./components/Footer/Footer.d.ts"
|
|
144
|
+
},
|
|
145
|
+
"./components/FormField": {
|
|
146
|
+
"import": "./components/FormField/FormField.js",
|
|
147
|
+
"types": "./components/FormField/FormField.d.ts"
|
|
148
|
+
},
|
|
149
|
+
"./components/FormGroup": {
|
|
150
|
+
"import": "./components/FormGroup/FormGroup.js",
|
|
151
|
+
"types": "./components/FormGroup/FormGroup.d.ts"
|
|
152
|
+
},
|
|
153
|
+
"./components/Gap": {
|
|
154
|
+
"import": "./components/Gap/Gap.js",
|
|
155
|
+
"types": "./components/Gap/Gap.d.ts"
|
|
156
|
+
},
|
|
157
|
+
"./components/Header": {
|
|
158
|
+
"import": "./components/Header/Header.js",
|
|
159
|
+
"types": "./components/Header/Header.d.ts"
|
|
160
|
+
},
|
|
161
|
+
"./components/Link": {
|
|
162
|
+
"import": "./components/Link/Link.js",
|
|
163
|
+
"types": "./components/Link/Link.d.ts"
|
|
164
|
+
},
|
|
165
|
+
"./components/List": {
|
|
166
|
+
"import": "./components/List/List.js",
|
|
167
|
+
"types": "./components/List/List.d.ts"
|
|
168
|
+
},
|
|
169
|
+
"./components/ListMaster": {
|
|
170
|
+
"import": "./components/ListMaster/ListMaster.js",
|
|
171
|
+
"types": "./components/ListMaster/ListMaster.d.ts"
|
|
172
|
+
},
|
|
173
|
+
"./components/Loader": {
|
|
174
|
+
"import": "./components/Loader/Loader.js",
|
|
175
|
+
"types": "./components/Loader/Loader.d.ts"
|
|
176
|
+
},
|
|
177
|
+
"./components/LoaderWidget": {
|
|
178
|
+
"import": "./components/LoaderWidget/LoaderWidget.js",
|
|
179
|
+
"types": "./components/LoaderWidget/LoaderWidget.d.ts"
|
|
180
|
+
},
|
|
181
|
+
"./components/MediaWidth": {
|
|
182
|
+
"import": "./components/MediaWidth/MediaWidth.js",
|
|
183
|
+
"types": "./components/MediaWidth/MediaWidth.d.ts"
|
|
184
|
+
},
|
|
185
|
+
"./components/MobileView": {
|
|
186
|
+
"import": "./components/MobileView/MobileView.js",
|
|
187
|
+
"types": "./components/MobileView/MobileView.d.ts"
|
|
188
|
+
},
|
|
189
|
+
"./components/Page": {
|
|
190
|
+
"import": "./components/Page/Page.js",
|
|
191
|
+
"types": "./components/Page/Page.d.ts"
|
|
192
|
+
},
|
|
193
|
+
"./components/Pagination": {
|
|
194
|
+
"import": "./components/Pagination/Pagination.js",
|
|
195
|
+
"types": "./components/Pagination/Pagination.d.ts"
|
|
196
|
+
},
|
|
197
|
+
"./components/Radio": {
|
|
198
|
+
"import": "./components/Radio/Radio.js",
|
|
199
|
+
"types": "./components/Radio/Radio.d.ts"
|
|
200
|
+
},
|
|
201
|
+
"./components/Row": {
|
|
202
|
+
"import": "./components/Row/Row.js",
|
|
203
|
+
"types": "./components/Row/Row.d.ts"
|
|
204
|
+
},
|
|
205
|
+
"./components/SegmentedControl": {
|
|
206
|
+
"import": "./components/SegmentedControl/SegmentedControl.js",
|
|
207
|
+
"types": "./components/SegmentedControl/SegmentedControl.d.ts"
|
|
208
|
+
},
|
|
209
|
+
"./components/Skeleton": {
|
|
210
|
+
"import": "./components/Skeleton/Skeleton.js",
|
|
211
|
+
"types": "./components/Skeleton/Skeleton.d.ts"
|
|
212
|
+
},
|
|
213
|
+
"./components/SwipeableArea": {
|
|
214
|
+
"import": "./components/SwipeableArea/SwipeableArea.js",
|
|
215
|
+
"types": "./components/SwipeableArea/SwipeableArea.d.ts"
|
|
216
|
+
},
|
|
217
|
+
"./components/TabsExtended": {
|
|
218
|
+
"import": "./components/TabsExtended/TabsExtended.js",
|
|
219
|
+
"types": "./components/TabsExtended/TabsExtended.d.ts"
|
|
220
|
+
},
|
|
221
|
+
"./components/TextField": {
|
|
222
|
+
"import": "./components/TextField/TextField.js",
|
|
223
|
+
"types": "./components/TextField/TextField.d.ts"
|
|
224
|
+
},
|
|
225
|
+
"./components/ThemeProvider": {
|
|
226
|
+
"import": "./components/ThemeProvider/ThemeProvider.js",
|
|
227
|
+
"types": "./components/ThemeProvider/ThemeProvider.d.ts"
|
|
228
|
+
},
|
|
229
|
+
"./components/Tooltip": {
|
|
230
|
+
"import": "./components/Tooltip/Tooltip.js",
|
|
231
|
+
"types": "./components/Tooltip/Tooltip.d.ts"
|
|
232
|
+
},
|
|
233
|
+
"./components/Typography": {
|
|
234
|
+
"import": "./components/Typography/Typography.js",
|
|
235
|
+
"types": "./components/Typography/Typography.d.ts"
|
|
236
|
+
},
|
|
237
|
+
"./components/UploadZone": {
|
|
238
|
+
"import": "./components/UploadZone/UploadZone.js",
|
|
239
|
+
"types": "./components/UploadZone/UploadZone.d.ts"
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|