@itcase/storybook-config 1.2.40 → 1.2.42

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/README.md CHANGED
@@ -1,3 +1,70 @@
1
1
  # ITCase Storybook Config
2
2
 
3
+ Конфигурация Storybook для проектов на React, Next.js и React Native.
4
+
5
+ Сторисы находятся в папке **`stories`**.
6
+
7
+ ## Запуск Storybook
8
+
9
+ Перед запуском установите зависимости: `npm install`.
10
+
11
+ ### React (Webpack)
12
+
13
+ ```bash
14
+ npm run storybook-react-webpack
15
+ # или через Makefile (с очисткой кэша):
16
+ make storybook-react-webpack
17
+ ```
18
+
19
+ ### React (Vite)
20
+
21
+ ```bash
22
+ npm run storybook-vite
23
+ # или:
24
+ make storybook-vite
25
+ ```
26
+
27
+ ### Next.js
28
+
29
+ ```bash
30
+ npm run storybook-next-js
31
+ # или:
32
+ make storybook-next-js
33
+ ```
34
+
35
+ ### Next.js + Vite
36
+
37
+ ```bash
38
+ npm run storybook-next-js-vite
39
+ # или:
40
+ make storybook-next-js-vite
41
+ ```
42
+
43
+ ### React Native (нативное приложение)
44
+
45
+ **iOS:**
46
+
47
+ ```bash
48
+ npm run storybook-react-native-ios
49
+ # или:
50
+ make storybook-react-native-ios
51
+ ```
52
+
53
+ **Android:**
54
+
55
+ ```bash
56
+ npm run storybook-react-native-android
57
+ # или:
58
+ make storybook-react-native-android
59
+ ```
60
+
61
+ ### React Native Web
62
+
63
+ Storybook в браузере для React Native компонентов:
64
+
65
+ ```bash
66
+ npm run storybook-react-native-web
67
+ # или:
68
+ make storybook-react-native-web
69
+ ```
3
70