vibrant-tool 0.1.2 → 0.1.3

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.
@@ -0,0 +1,11 @@
1
+ import { ProductOptionItem } from '../lib/types/product.types';
2
+ interface ProductState {
3
+ productData: ProductOptionItem | null;
4
+ isLoading: boolean;
5
+ isNotFound: boolean;
6
+ error: string | null;
7
+ setProductData: (data: ProductOptionItem | null) => void;
8
+ fetchProduct: (id: string) => Promise<ProductOptionItem | null>;
9
+ }
10
+ export declare const useProductStore: import('zustand').UseBoundStore<import('zustand').StoreApi<ProductState>>;
11
+ export {};
package/package.json CHANGED
@@ -1,72 +1,73 @@
1
- {
2
- "name": "vibrant-tool",
3
- "version": "0.1.2",
4
- "description": "Vibrant design editor (Vite + React)",
5
- "type": "module",
6
- "main": "./dist/vibrant-tool.umd.js",
7
- "module": "./dist/vibrant-tool.es.js",
8
- "types": "./dist/index.d.ts",
9
- "exports": {
10
- ".": {
11
- "types": "./dist/index.d.ts",
12
- "import": "./dist/vibrant-tool.es.js",
13
- "require": "./dist/vibrant-tool.umd.js"
14
- },
15
- "./dist/vibrant-tool.css": "./dist/vibrant-tool.css"
16
- },
17
- "files": [
18
- "dist"
19
- ],
20
- "scripts": {
21
- "dev": "vite",
22
- "build": "vite build --mode lib",
23
- "preview:build": "vite build",
24
- "preview": "vite preview",
25
- "lint": "eslint .",
26
- "prepare": "npm run build"
27
- },
28
- "publishConfig": {
29
- "access": "public"
30
- },
31
- "dependencies": {
32
- "@react-oauth/google": "^0.13.4",
33
- "bwip-js": "^4.8.0",
34
- "driver.js": "^1.4.0",
35
- "dropbox": "^10.34.0",
36
- "fabric": "^6.9.0",
37
- "firebase": "^12.9.0",
38
- "gapi-script": "^1.2.0",
39
- "pdfmake": "^0.3.3",
40
- "qrcode": "^1.5.4",
41
- "qrcode.react": "^4.2.0",
42
- "react-loader-spinner": "^8.0.2",
43
- "zustand": "^5.0.10"
44
- },
45
- "peerDependencies": {
46
- "react": ">=18",
47
- "react-dom": ">=18"
48
- },
49
- "devDependencies": {
50
- "@tailwindcss/vite": "^4.2.1",
51
- "@types/gapi": "^0.0.47",
52
- "@types/gapi.auth2": "^0.0.61",
53
- "@types/gapi.client.drive": "^3.0.15",
54
- "@types/gapi.client.photoslibrary": "^1.0.0",
55
- "@types/node": "^22",
56
- "@types/pdfmake": "^0.3.1",
57
- "@types/qrcode": "^1.5.6",
58
- "@types/react": "^19.2.14",
59
- "@types/react-dom": "^19.2.3",
60
- "@vitejs/plugin-react": "^5.1.4",
61
- "cross-env": "^7.0.3",
62
- "eslint": "^9",
63
- "eslint-plugin-react-hooks": "^5.0.0",
64
- "eslint-plugin-react-refresh": "^0.4.14",
65
- "react": "^19.2.4",
66
- "react-dom": "^19.2.4",
67
- "tailwindcss": "^4.2.1",
68
- "typescript": "^5.9.3",
69
- "vite": "^7.3.1",
70
- "vite-plugin-dts": "^4.5.4"
71
- }
1
+ {
2
+ "name": "vibrant-tool",
3
+ "version": "0.1.3",
4
+ "description": "Vibrant design editor (Vite + React)",
5
+ "type": "module",
6
+ "main": "./dist/vibrant-tool.umd.js",
7
+ "module": "./dist/vibrant-tool.es.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/vibrant-tool.es.js",
13
+ "require": "./dist/vibrant-tool.umd.js"
14
+ },
15
+ "./dist/vibrant-tool.css": "./dist/vibrant-tool.css"
16
+ },
17
+ "files": [
18
+ "dist"
19
+ ],
20
+ "scripts": {
21
+ "dev": "vite",
22
+ "build": "vite build --mode lib",
23
+ "preview:build": "vite build",
24
+ "preview": "vite preview",
25
+ "lint": "eslint .",
26
+ "prepare": "npm run build"
27
+ },
28
+ "publishConfig": {
29
+ "access": "public"
30
+ },
31
+ "dependencies": {
32
+ "@react-oauth/google": "^0.13.4",
33
+ "bwip-js": "^4.8.0",
34
+ "driver.js": "^1.4.0",
35
+ "dropbox": "^10.34.0",
36
+ "fabric": "^6.9.0",
37
+ "firebase": "^12.9.0",
38
+ "gapi-script": "^1.2.0",
39
+ "pdf-lib": "^1.17.1",
40
+ "pdfmake": "^0.3.3",
41
+ "qrcode": "^1.5.4",
42
+ "qrcode.react": "^4.2.0",
43
+ "react-loader-spinner": "^8.0.2",
44
+ "zustand": "^5.0.10"
45
+ },
46
+ "peerDependencies": {
47
+ "react": ">=18",
48
+ "react-dom": ">=18"
49
+ },
50
+ "devDependencies": {
51
+ "@tailwindcss/vite": "^4.2.1",
52
+ "@types/gapi": "^0.0.47",
53
+ "@types/gapi.auth2": "^0.0.61",
54
+ "@types/gapi.client.drive": "^3.0.15",
55
+ "@types/gapi.client.photoslibrary": "^1.0.0",
56
+ "@types/node": "^22",
57
+ "@types/pdfmake": "^0.3.1",
58
+ "@types/qrcode": "^1.5.6",
59
+ "@types/react": "^19.2.14",
60
+ "@types/react-dom": "^19.2.3",
61
+ "@vitejs/plugin-react": "^5.1.4",
62
+ "cross-env": "^7.0.3",
63
+ "eslint": "^9",
64
+ "eslint-plugin-react-hooks": "^5.0.0",
65
+ "eslint-plugin-react-refresh": "^0.4.14",
66
+ "react": "^19.2.4",
67
+ "react-dom": "^19.2.4",
68
+ "tailwindcss": "^4.2.1",
69
+ "typescript": "^5.9.3",
70
+ "vite": "^7.3.1",
71
+ "vite-plugin-dts": "^4.5.4"
72
+ }
72
73
  }