@bikiran/utils 1.18.0

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.
Files changed (184) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +102 -0
  3. package/dist/components/Profile/LoginBtn.d.ts +8 -0
  4. package/dist/components/Profile/LoginBtn.js +13 -0
  5. package/dist/components/Profile/ProfileManage.d.ts +12 -0
  6. package/dist/components/Profile/ProfileManage.js +45 -0
  7. package/dist/components/Profile/ProfileMenuList.d.ts +5 -0
  8. package/dist/components/Profile/ProfileMenuList.js +32 -0
  9. package/dist/components/Profile/ProfileMenuPopup.d.ts +12 -0
  10. package/dist/components/Profile/ProfileMenuPopup.js +26 -0
  11. package/dist/components/Profile/ProfileUserInformation.d.ts +8 -0
  12. package/dist/components/Profile/ProfileUserInformation.js +9 -0
  13. package/dist/components/Profile/ProfileView.d.ts +14 -0
  14. package/dist/components/Profile/ProfileView.js +9 -0
  15. package/dist/components/Profile/authTypes.d.ts +21 -0
  16. package/dist/components/Profile/authTypes.js +1 -0
  17. package/dist/components/Profile/authTypes.ts +22 -0
  18. package/dist/components/Profile/icons.d.ts +9 -0
  19. package/dist/components/Profile/icons.js +33 -0
  20. package/dist/components/Profile/style/LoginBtn.module.css +6 -0
  21. package/dist/components/Profile/style/ProfileManage.module.css +6 -0
  22. package/dist/components/Profile/style/ProfileMenuList.module.css +50 -0
  23. package/dist/components/Profile/style/ProfileMenuPopup.module.css +30 -0
  24. package/dist/components/Profile/style/ProfileUserInformation.module.css +26 -0
  25. package/dist/components/Profile/style/ProfileView.module.css +12 -0
  26. package/dist/components/button-wrapper/ButtonWrapper.d.ts +14 -0
  27. package/dist/components/button-wrapper/ButtonWrapper.js +11 -0
  28. package/dist/components/button-wrapper/icons/icon.d.ts +1 -0
  29. package/dist/components/button-wrapper/icons/icon.js +4 -0
  30. package/dist/components/button-wrapper/style/style.module.css +18 -0
  31. package/dist/components/cookie-accept-popup/CookiesAcceptPopup.d.ts +2 -0
  32. package/dist/components/cookie-accept-popup/CookiesAcceptPopup.js +28 -0
  33. package/dist/components/cookie-accept-popup/style/CookieAcceptPopup.module.css +12 -0
  34. package/dist/components/copy-wrapper/CopyWrapper.d.ts +6 -0
  35. package/dist/components/copy-wrapper/CopyWrapper.js +9 -0
  36. package/dist/components/copy-wrapper/icon/icons.d.ts +2 -0
  37. package/dist/components/copy-wrapper/icon/icons.js +7 -0
  38. package/dist/components/currency-selector/CurrencySelector.d.ts +14 -0
  39. package/dist/components/currency-selector/CurrencySelector.js +47 -0
  40. package/dist/components/currency-selector/style/CurrencySelector.module.css +28 -0
  41. package/dist/components/custom-sidebar/CustomSidebar.d.ts +15 -0
  42. package/dist/components/custom-sidebar/CustomSidebar.js +29 -0
  43. package/dist/components/custom-sidebar/icons.d.ts +3 -0
  44. package/dist/components/custom-sidebar/icons.js +7 -0
  45. package/dist/components/custom-sidebar/style/CustomSidebar.module.css +21 -0
  46. package/dist/components/filter-wrapper/FilterBarWrapper.d.ts +12 -0
  47. package/dist/components/filter-wrapper/FilterBarWrapper.js +85 -0
  48. package/dist/components/filter-wrapper/SearchInput.d.ts +10 -0
  49. package/dist/components/filter-wrapper/SearchInput.js +8 -0
  50. package/dist/components/filter-wrapper/icons/Icons.d.ts +2 -0
  51. package/dist/components/filter-wrapper/icons/Icons.js +7 -0
  52. package/dist/components/filter-wrapper/style/FilterBarWrapper.module.css +41 -0
  53. package/dist/components/header/FixedHeaderControl.d.ts +7 -0
  54. package/dist/components/header/FixedHeaderControl.js +23 -0
  55. package/dist/components/header/HeaderLoginColumnComp.d.ts +25 -0
  56. package/dist/components/header/HeaderLoginColumnComp.js +36 -0
  57. package/dist/components/header/HeaderLogoComp.d.ts +6 -0
  58. package/dist/components/header/HeaderLogoComp.js +6 -0
  59. package/dist/components/header/HeaderSection.d.ts +21 -0
  60. package/dist/components/header/HeaderSection.js +27 -0
  61. package/dist/components/header/HeaderServiceBtnComp.d.ts +10 -0
  62. package/dist/components/header/HeaderServiceBtnComp.js +17 -0
  63. package/dist/components/header/HeaderToggleMenuComp.d.ts +9 -0
  64. package/dist/components/header/HeaderToggleMenuComp.js +16 -0
  65. package/dist/components/header/NavbarComp.d.ts +11 -0
  66. package/dist/components/header/NavbarComp.js +46 -0
  67. package/dist/components/header/header.css +61 -0
  68. package/dist/components/header/headerType.d.ts +14 -0
  69. package/dist/components/header/headerType.js +1 -0
  70. package/dist/components/header/headerType.ts +15 -0
  71. package/dist/components/header/icons/icon-about-us-submenu.svg +6 -0
  72. package/dist/components/header/icons/icon-about-us.svg +5 -0
  73. package/dist/components/header/icons/icon-all-service.svg +11 -0
  74. package/dist/components/header/icons/icon-arrow-v2.svg +3 -0
  75. package/dist/components/header/icons/icon-bell-fill.svg +3 -0
  76. package/dist/components/header/icons/icon-bik-logo.svg +13 -0
  77. package/dist/components/header/icons/icon-contacts.svg +6 -0
  78. package/dist/components/header/icons/icon-domain.svg +4 -0
  79. package/dist/components/header/icons/icon-hosting.svg +5 -0
  80. package/dist/components/header/icons/icon-our-clients.svg +4 -0
  81. package/dist/components/header/icons/icons.d.ts +14 -0
  82. package/dist/components/header/icons/icons.js +27 -0
  83. package/dist/components/header/sidebar/SidebarConstants.d.ts +0 -0
  84. package/dist/components/header/sidebar/SidebarConstants.js +55 -0
  85. package/dist/components/header/sidebar/SidebarConstants.ts +55 -0
  86. package/dist/components/header/sidebar/SidebarIcons.d.ts +5 -0
  87. package/dist/components/header/sidebar/SidebarIcons.js +9 -0
  88. package/dist/components/header/sidebar/SidebarMenu.d.ts +12 -0
  89. package/dist/components/header/sidebar/SidebarMenu.js +28 -0
  90. package/dist/components/header/sidebar/SidebarMenuRow.d.ts +10 -0
  91. package/dist/components/header/sidebar/SidebarMenuRow.js +32 -0
  92. package/dist/components/header/sidebar/SidebarSubMenu.d.ts +9 -0
  93. package/dist/components/header/sidebar/SidebarSubMenu.js +14 -0
  94. package/dist/components/header/sidebar/SidebarTopRow.d.ts +0 -0
  95. package/dist/components/header/sidebar/SidebarTopRow.js +100 -0
  96. package/dist/components/header/sidebar/sidebarStyle.css +32 -0
  97. package/dist/components/information-tooltip/InformationTooltip.d.ts +11 -0
  98. package/dist/components/information-tooltip/InformationTooltip.js +27 -0
  99. package/dist/components/information-tooltip/icons.d.ts +6 -0
  100. package/dist/components/information-tooltip/icons.js +10 -0
  101. package/dist/components/information-tooltip/style/InfoTooltip.module.css +62 -0
  102. package/dist/components/loading-comp/LoadingComp.d.ts +2 -0
  103. package/dist/components/loading-comp/LoadingComp.js +7 -0
  104. package/dist/components/loading-comp/style/LoadingComp.module.css +3 -0
  105. package/dist/components/pageLoading/PageLoading.d.ts +2 -0
  106. package/dist/components/pageLoading/PageLoading.js +6 -0
  107. package/dist/components/pageLoading/style/PageLoading.module.css +7 -0
  108. package/dist/components/pagination2/Pagination.d.ts +18 -0
  109. package/dist/components/pagination2/Pagination.js +40 -0
  110. package/dist/components/pagination2/style/Pagination.module.css +27 -0
  111. package/dist/components/project-selector/ProjectListBody.d.ts +9 -0
  112. package/dist/components/project-selector/ProjectListBody.js +10 -0
  113. package/dist/components/project-selector/ProjectListPopup.d.ts +12 -0
  114. package/dist/components/project-selector/ProjectListPopup.js +31 -0
  115. package/dist/components/project-selector/ProjectSelector.d.ts +11 -0
  116. package/dist/components/project-selector/ProjectSelector.js +38 -0
  117. package/dist/components/project-selector/ProjectSelectorSkeleton.d.ts +3 -0
  118. package/dist/components/project-selector/ProjectSelectorSkeleton.js +6 -0
  119. package/dist/components/project-selector/ProjectServiceTabs.d.ts +0 -0
  120. package/dist/components/project-selector/ProjectServiceTabs.js +28 -0
  121. package/dist/components/project-selector/ProjectServices.d.ts +3 -0
  122. package/dist/components/project-selector/ProjectServices.js +12 -0
  123. package/dist/components/project-selector/SelectorMainComp.d.ts +8 -0
  124. package/dist/components/project-selector/SelectorMainComp.js +6 -0
  125. package/dist/components/project-selector/projectConstants.d.ts +2 -0
  126. package/dist/components/project-selector/projectConstants.js +20 -0
  127. package/dist/components/project-selector/projectConstants.ts +23 -0
  128. package/dist/components/project-selector/projectTypes.d.ts +22 -0
  129. package/dist/components/project-selector/projectTypes.js +1 -0
  130. package/dist/components/project-selector/projectTypes.ts +22 -0
  131. package/dist/components/project-selector/selector-icons/icon-arrow-down.svg +3 -0
  132. package/dist/components/project-selector/selector-icons/icon-default-app.svg +9 -0
  133. package/dist/components/project-selector/selector-icons/selectorIcons.d.ts +4 -0
  134. package/dist/components/project-selector/selector-icons/selectorIcons.js +6 -0
  135. package/dist/components/services-popup/ServiceAppType.d.ts +9 -0
  136. package/dist/components/services-popup/ServiceAppType.js +1 -0
  137. package/dist/components/services-popup/ServiceAppType.ts +10 -0
  138. package/dist/components/services-popup/ServicesPopup.d.ts +19 -0
  139. package/dist/components/services-popup/ServicesPopup.js +35 -0
  140. package/dist/components/services-popup/components/AppAccount.d.ts +7 -0
  141. package/dist/components/services-popup/components/AppAccount.js +8 -0
  142. package/dist/components/services-popup/components/ServiceApp.d.ts +8 -0
  143. package/dist/components/services-popup/components/ServiceApp.js +6 -0
  144. package/dist/components/services-popup/icons/Icons.d.ts +5 -0
  145. package/dist/components/services-popup/icons/Icons.js +8 -0
  146. package/dist/components/services-popup/icons/icon-account.svg +7 -0
  147. package/dist/components/services-popup/icons/icon-cross.svg +3 -0
  148. package/dist/components/services-popup/icons/icon-default-app.svg +9 -0
  149. package/dist/components/user-info/TooltipUserInfo.d.ts +8 -0
  150. package/dist/components/user-info/TooltipUserInfo.js +29 -0
  151. package/dist/components/user-info/UserInfoComp.d.ts +8 -0
  152. package/dist/components/user-info/UserInfoComp.js +7 -0
  153. package/dist/components/user-info/icons/icons.d.ts +1 -0
  154. package/dist/components/user-info/icons/icons.js +4 -0
  155. package/dist/components/user-info/style/ToolTipUserInfo.module.css +28 -0
  156. package/dist/declaration.d.ts +9 -0
  157. package/dist/index.d.ts +15 -0
  158. package/dist/index.js +15 -0
  159. package/dist/index.ts +15 -0
  160. package/dist/lib/Skeleton.d.ts +4 -0
  161. package/dist/lib/Skeleton.js +18 -0
  162. package/dist/lib/types/GlobalType.d.ts +9 -0
  163. package/dist/lib/types/GlobalType.js +1 -0
  164. package/dist/lib/types/GlobalType.ts +17 -0
  165. package/dist/lib/utils/Cookie.d.ts +11 -0
  166. package/dist/lib/utils/Cookie.js +46 -0
  167. package/dist/lib/utils/Cookie.ts +58 -0
  168. package/dist/lib/utils/Copy.d.ts +5 -0
  169. package/dist/lib/utils/Copy.js +32 -0
  170. package/dist/lib/utils/Copy.ts +37 -0
  171. package/dist/lib/utils/Env.d.ts +35 -0
  172. package/dist/lib/utils/Env.js +190 -0
  173. package/dist/lib/utils/Env.ts +236 -0
  174. package/dist/lib/utils/capitalizeFirstLetter.d.ts +2 -0
  175. package/dist/lib/utils/capitalizeFirstLetter.js +7 -0
  176. package/dist/lib/utils/capitalizeFirstLetter.ts +7 -0
  177. package/dist/lib/utils/cn.d.ts +2 -0
  178. package/dist/lib/utils/cn.js +3 -0
  179. package/dist/lib/utils/cn.ts +4 -0
  180. package/dist/lib/utils/option.d.ts +10 -0
  181. package/dist/lib/utils/option.js +6 -0
  182. package/dist/lib/utils/option.ts +7 -0
  183. package/dist/package.json +1 -0
  184. package/package.json +60 -0
@@ -0,0 +1,236 @@
1
+ export const SUB_DOMAIN_NAMES = {
2
+ WWW: "www",
3
+ ACCOUNT: "account",
4
+ DOMAIN: "domain",
5
+ ADMANAGE: "admanage",
6
+ DNS: "dns",
7
+ HOSTING: "hosting",
8
+ APPOCEAN: "appocean",
9
+ DOCS: "docs",
10
+ PROBACKUP: "probackup",
11
+ EDUSOFT: "edusoft",
12
+ SUPPORT: "support",
13
+ ICON: "icon",
14
+ DRIVE: "drive",
15
+ API: "io",
16
+ API2: "api2",
17
+ API3: "api3",
18
+ } as const;
19
+
20
+ const subDomainMap: Record<string, string> = {
21
+ www: `http://localhost:7201`,
22
+ account: `http://localhost:5000`,
23
+ domain: `http://localhost:7203`,
24
+ dns: `http://localhost:7204`,
25
+ hosting: `http://localhost:7205`,
26
+ appocean: `http://localhost:7206`,
27
+ docs: `http://localhost:7207`,
28
+ admanage: `http://localhost:7208`,
29
+ probackup: `http://localhost:7209`,
30
+ edusoft: `http://localhost:7210`,
31
+ icon: `http://localhost:7211`,
32
+ drive: `http://localhost:7212`,
33
+ support: `http://localhost:7216`,
34
+ api: `https://io.bikiran.win`,
35
+ api2:
36
+ process.env.NEXT_PUBLIC_LOCAL_API === "true"
37
+ ? `http://localhost:5010`
38
+ : `https://api2.bikiran.win`,
39
+ api3:
40
+ process.env.NEXT_PUBLIC_LOCAL_API === "true"
41
+ ? `http://localhost:7301`
42
+ : `https://api3.bikiran.win`,
43
+ };
44
+
45
+ export const isDev = process.env.NEXT_PUBLIC_MODE === "dev";
46
+ export function getMode(): "dev" | "win" | "com" {
47
+ if (isDev) {
48
+ return "dev";
49
+ }
50
+
51
+ const isWin = process.env.NEXT_PUBLIC_MODE === "win";
52
+ if (isWin) {
53
+ return "win";
54
+ }
55
+
56
+ return "com";
57
+ }
58
+
59
+ const getDomain = (): string => {
60
+ return process.env.NEXT_PUBLIC_DOMAIN || "";
61
+ };
62
+
63
+ interface DomainObject {
64
+ sub: string;
65
+ name: string;
66
+ tld: string;
67
+ }
68
+
69
+ const getDomainObject = (): DomainObject => {
70
+ const domainParts = getDomain().split(".");
71
+ return {
72
+ sub: domainParts[0],
73
+ name: domainParts[1],
74
+ tld: domainParts[2],
75
+ };
76
+ };
77
+
78
+ export const getBaseDomain = (): string => {
79
+ const mode = getMode();
80
+ if (mode === "dev") {
81
+ return "localhost";
82
+ }
83
+
84
+ const d = getDomainObject();
85
+ return `${d.name}.${mode}`;
86
+ };
87
+
88
+ // https://www.bikiran.com/
89
+ export function getBikiranUrl(): string {
90
+ const d = getDomainObject();
91
+ const mode = getMode();
92
+ if (mode === "dev") {
93
+ return subDomainMap.www;
94
+ }
95
+
96
+ return `https://${SUB_DOMAIN_NAMES.WWW}.${d.name}.${mode}`;
97
+ }
98
+
99
+ // https://www.hosting.bikiran.com/
100
+ export function getHostingUrl(): string {
101
+ const d = getDomainObject();
102
+ const mode = getMode();
103
+ if (mode === "dev") {
104
+ return subDomainMap.hosting;
105
+ }
106
+
107
+ return `https://${SUB_DOMAIN_NAMES.HOSTING}.${d.name}.${mode}`;
108
+ }
109
+
110
+ // https://www.domain.bikiran.com/
111
+ export function getDomainUrl(): string {
112
+ const d = getDomainObject();
113
+ const mode = getMode();
114
+ if (mode === "dev") {
115
+ return subDomainMap.domain;
116
+ }
117
+
118
+ return `https://${SUB_DOMAIN_NAMES.DOMAIN}.${d.name}.${mode}`;
119
+ }
120
+
121
+ // https://www.appocean.bikiran.com/
122
+ export function getAppoceanUrl(): string {
123
+ const d = getDomainObject();
124
+ const mode = getMode();
125
+ if (mode === "dev") {
126
+ return subDomainMap.appocean;
127
+ }
128
+
129
+ return `https://${SUB_DOMAIN_NAMES.APPOCEAN}.${d.name}.${mode}`;
130
+ }
131
+
132
+ // https://www.admanage.bikiran.com/
133
+ export function getAdManageUrl(): string {
134
+ const d = getDomainObject();
135
+ const mode = getMode();
136
+ if (mode === "dev") {
137
+ return subDomainMap.admanage;
138
+ }
139
+
140
+ return `https://${SUB_DOMAIN_NAMES.ADMANAGE}.${d.name}.${mode}`;
141
+ }
142
+
143
+ // https://www.support.bikiran.com/
144
+ export function getSupportUrl(): string {
145
+ const d = getDomainObject();
146
+ const mode = getMode();
147
+ if (mode === "dev") {
148
+ return subDomainMap.support;
149
+ }
150
+
151
+ return `https://${SUB_DOMAIN_NAMES.SUPPORT}.${d.name}.${mode}`;
152
+ }
153
+
154
+ export function getSiteUrl(): string {
155
+ const d = getDomainObject();
156
+ const mode = getMode();
157
+ if (mode === "dev") {
158
+ return subDomainMap[d.sub];
159
+ }
160
+
161
+ return `https://${d.sub}.${d.name}.${mode}`;
162
+ }
163
+
164
+ export function getApiUrl(): string {
165
+ const d = getDomainObject();
166
+ const mode = getMode();
167
+ if (mode === "dev") {
168
+ return subDomainMap.api;
169
+ }
170
+
171
+ return `https://${SUB_DOMAIN_NAMES.API}.${d.name}.${mode}`;
172
+ }
173
+
174
+ export function getApi2Url(): string {
175
+ const d = getDomainObject();
176
+ const mode = getMode();
177
+ if (mode === "dev") {
178
+ return subDomainMap.api2;
179
+ }
180
+
181
+ return `https://${SUB_DOMAIN_NAMES.API2}.${d.name}.${mode}`;
182
+ }
183
+
184
+ export function getApi3Url(): string {
185
+ const d = getDomainObject();
186
+ const mode = getMode();
187
+ if (mode === "dev") {
188
+ return subDomainMap.api3;
189
+ }
190
+
191
+ return `https://${SUB_DOMAIN_NAMES.API3}.${d.name}.${mode}`;
192
+ }
193
+
194
+ export function getAccountUrl(): string {
195
+ const d = getDomainObject();
196
+ const mode = getMode();
197
+ if (mode === "dev") {
198
+ return subDomainMap.account;
199
+ }
200
+
201
+ return `https://${SUB_DOMAIN_NAMES.ACCOUNT}.${d.name}.${mode}`;
202
+ }
203
+
204
+ export function getDocsUrl(): string {
205
+ const d = getDomainObject();
206
+ const mode = getMode();
207
+ if (mode === "dev") {
208
+ return subDomainMap.docs;
209
+ }
210
+
211
+ return `https://${SUB_DOMAIN_NAMES.DOCS}.${d.name}.${mode}`;
212
+ }
213
+
214
+ export function generateAnyUrl(subDomain: string): string {
215
+ const d = getDomainObject();
216
+ const mode = getMode();
217
+ if (mode === "dev") {
218
+ return subDomainMap[d.sub];
219
+ }
220
+
221
+ return `https://${subDomain}.${d.name}.${mode}`;
222
+ }
223
+
224
+ export function getDBConnectionString(): string {
225
+ const mode = getMode();
226
+ if (mode === "dev") {
227
+ return process.env.DATABASE_URL_DEV || "";
228
+ }
229
+
230
+ if (mode === "win") {
231
+ return process.env.DATABASE_URL_WIN || "";
232
+ }
233
+
234
+ return process.env.DATABASE_URL_COM || "";
235
+ }
236
+
@@ -0,0 +1,2 @@
1
+ declare function capitalizeFirstLetter(string: string): string;
2
+ export default capitalizeFirstLetter;
@@ -0,0 +1,7 @@
1
+ function capitalizeFirstLetter(string) {
2
+ if (!string)
3
+ return "";
4
+ const result = string.charAt(0).toUpperCase() + string.slice(1);
5
+ return result || string || "";
6
+ }
7
+ export default capitalizeFirstLetter;
@@ -0,0 +1,7 @@
1
+ function capitalizeFirstLetter(string: string): string {
2
+ if (!string) return "";
3
+ const result = string.charAt(0).toUpperCase() + string.slice(1);
4
+ return result || string || "";
5
+ }
6
+
7
+ export default capitalizeFirstLetter;
@@ -0,0 +1,2 @@
1
+ import { ClassValue } from "clsx";
2
+ export declare const cn: (...input: ClassValue[]) => string;
@@ -0,0 +1,3 @@
1
+ import clsx from "clsx";
2
+ import { twMerge } from "tailwind-merge";
3
+ export const cn = (...input) => twMerge(clsx(input));
@@ -0,0 +1,4 @@
1
+ import clsx, { ClassValue } from "clsx";
2
+ import { twMerge } from "tailwind-merge";
3
+
4
+ export const cn = (...input: ClassValue[]) => twMerge(clsx(input));
@@ -0,0 +1,10 @@
1
+ export declare const addOption: (id: any, title: any, value: any) => {
2
+ id: any;
3
+ title: any;
4
+ value: any;
5
+ };
6
+ export declare const addOption2: (id: any, title: any, value: any) => {
7
+ id: any;
8
+ title: any;
9
+ value: any;
10
+ };
@@ -0,0 +1,6 @@
1
+ export const addOption = (id, title, value) => {
2
+ return { id, title, value };
3
+ };
4
+ export const addOption2 = (id, title, value) => {
5
+ return { id, title, value };
6
+ };
@@ -0,0 +1,7 @@
1
+ export const addOption = (id: any, title: any, value: any) => {
2
+ return { id, title, value };
3
+ };
4
+
5
+ export const addOption2 = (id: any, title: any, value: any) => {
6
+ return { id, title, value };
7
+ };
@@ -0,0 +1 @@
1
+ {"type":"module"}
package/package.json ADDED
@@ -0,0 +1,60 @@
1
+ {
2
+ "name": "@bikiran/utils",
3
+ "version": "1.18.0",
4
+ "main": "dist/index.js",
5
+ "types": "dist/index.d.ts",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "scripts": {
10
+ "dev": "vite example",
11
+ "build": "tsc && echo 'Running copyfiles...' && copyfiles src/**/*.{js,ts,svg,css} dist --up 1 && echo 'Creating package.json...' && echo '{\"type\":\"module\"}' > dist/package.json",
12
+ "vite-build": "vite build",
13
+ "preview": "vite preview example",
14
+ "prepublishOnly": "npm run build",
15
+ "pack-local": "npm run build && npm pack",
16
+ "clean": "node clean.js",
17
+ "test": "vitest",
18
+ "build:tailwind": "npm exec tailwindcss -i src/tailwind.css -o dist/output.css --minify"
19
+ },
20
+ "keywords": [
21
+ "react",
22
+ "button",
23
+ "component",
24
+ "ui"
25
+ ],
26
+ "author": "Kumar Bishojit Paul",
27
+ "license": "MIT",
28
+ "type": "module",
29
+ "description": "A simple and reusable React input component library",
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "https://github.com/bikirandev/7501NPM-Bikiran-Inputs.git"
33
+ },
34
+ "bugs": {
35
+ "url": "https://github.com/bikirandev/7501NPM-Bikiran-Inputs/issues"
36
+ },
37
+ "homepage": "https://github.com/bikirandev/7501NPM-Bikiran-Inputs#readme",
38
+ "peerDependencies": {
39
+ "react": "^19.0.0",
40
+ "react-dom": "^19.0.0"
41
+ },
42
+ "devDependencies": {
43
+ "@testing-library/react": "^16.2.0",
44
+ "@types/node": "^22.13.1",
45
+ "@types/react": "^19.0.8",
46
+ "@types/react-dom": "^19.0.3",
47
+ "@vitejs/plugin-react": "^4.3.4",
48
+ "copyfiles": "^2.4.1",
49
+ "jsdom": "^23.0.1",
50
+ "react": "^19.0.0",
51
+ "react-dom": "^19.0.0",
52
+ "typescript": "^5.7.3",
53
+ "vite": "^6.1.0",
54
+ "vitest": "^1.0.4"
55
+ },
56
+ "dependencies": {
57
+ "clsx": "^2.1.1",
58
+ "tailwind-merge": "^3.0.1"
59
+ }
60
+ }