hasting-swatchcart-module 1.0.22 → 1.0.23
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 +454 -430
- package/dist/assets/index.css +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/cdn/main.js +7956 -7953
- package/dist/main.cjs +62 -62
- package/dist/main.cjs.map +1 -1
- package/dist/main.js +5267 -5264
- package/dist/main.js.map +1 -1
- package/package.json +102 -102
package/package.json
CHANGED
|
@@ -1,102 +1,102 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "hasting-swatchcart-module",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"files": [
|
|
6
|
-
"dist"
|
|
7
|
-
],
|
|
8
|
-
"main": "dist/main.cjs",
|
|
9
|
-
"module": "dist/main.js",
|
|
10
|
-
"types": "dist/main.d.ts",
|
|
11
|
-
"style": "dist/assets/index.css",
|
|
12
|
-
"exports": {
|
|
13
|
-
".": {
|
|
14
|
-
"types": "./dist/main.d.ts",
|
|
15
|
-
"require": "./dist/main.cjs",
|
|
16
|
-
"import": "./dist/main.js",
|
|
17
|
-
"default": "./dist/main.js"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"sideEffects": [
|
|
21
|
-
"**/*.css"
|
|
22
|
-
],
|
|
23
|
-
"peerDependencies": {
|
|
24
|
-
"@reduxjs/toolkit": ">=2",
|
|
25
|
-
"react": ">=18.2.0",
|
|
26
|
-
"react-dom": ">=18.2.0",
|
|
27
|
-
"react-redux": ">=9"
|
|
28
|
-
},
|
|
29
|
-
"scripts": {
|
|
30
|
-
"dev": "vite -c vite.app.config.ts",
|
|
31
|
-
"build": "tsc -b && vite build",
|
|
32
|
-
"build:site": "vite build -c vite.app.config.ts",
|
|
33
|
-
"build:lib": "tsc --p ./tsconfig-build.json && vite build -c vite.lib.config.ts",
|
|
34
|
-
"build:cdn": "tsc --p ./tsconfig-build.json && vite build -c vite.cdn.config.ts",
|
|
35
|
-
"build:all": "npm run build:lib && npm run build:cdn",
|
|
36
|
-
"lint": "eslint .",
|
|
37
|
-
"preview": "vite preview -c vite.app.config.ts",
|
|
38
|
-
"format": "prettier --write .",
|
|
39
|
-
"format:check": "prettier --check .",
|
|
40
|
-
"prepare": "husky",
|
|
41
|
-
"start": "vite preview -c vite.app.config.ts --host 0.0.0.0 --port ${PORT:-8080}"
|
|
42
|
-
},
|
|
43
|
-
"dependencies": {
|
|
44
|
-
"@radix-ui/react-accordion": "^1.2.11",
|
|
45
|
-
"@radix-ui/react-checkbox": "^1.3.2",
|
|
46
|
-
"@radix-ui/react-dialog": "^1.1.14",
|
|
47
|
-
"@radix-ui/react-label": "^2.1.7",
|
|
48
|
-
"@radix-ui/react-popover": "^1.1.14",
|
|
49
|
-
"@radix-ui/react-slider": "^1.3.6",
|
|
50
|
-
"@radix-ui/react-slot": "^1.2.3",
|
|
51
|
-
"@radix-ui/react-tooltip": "^1.2.7",
|
|
52
|
-
"@reduxjs/toolkit": ">=2",
|
|
53
|
-
"@tailwindcss/postcss": "^4.1.16",
|
|
54
|
-
"@tailwindcss/vite": "^4.1.14",
|
|
55
|
-
"@tanstack/react-virtual": "^3.13.12",
|
|
56
|
-
"autoprefixer": "^10.4.21",
|
|
57
|
-
"clsx": "^2.1.1",
|
|
58
|
-
"lucide-react": "^0.487.0",
|
|
59
|
-
"react-markdown": "^10.1.0",
|
|
60
|
-
"react-redux": ">=9",
|
|
61
|
-
"react-toastify": "^11.0.5",
|
|
62
|
-
"rehype-raw": "^7.0.0",
|
|
63
|
-
"tailwind-merge": "^3.3.0",
|
|
64
|
-
"terser": "^5.44.0"
|
|
65
|
-
},
|
|
66
|
-
"devDependencies": {
|
|
67
|
-
"@eslint/js": "^9.36.0",
|
|
68
|
-
"@types/node": "^24.7.2",
|
|
69
|
-
"@types/react": "^19.1.16",
|
|
70
|
-
"@types/react-dom": "^19.1.9",
|
|
71
|
-
"@vitejs/plugin-react": "^5.0.4",
|
|
72
|
-
"eslint": "^9.36.0",
|
|
73
|
-
"eslint-config-prettier": "^10.1.8",
|
|
74
|
-
"eslint-plugin-react-hooks": "^5.2.0",
|
|
75
|
-
"eslint-plugin-react-refresh": "^0.4.22",
|
|
76
|
-
"glob": "^11.0.3",
|
|
77
|
-
"globals": "^16.4.0",
|
|
78
|
-
"husky": "^9.1.7",
|
|
79
|
-
"lint-staged": "^16.2.3",
|
|
80
|
-
"prettier": "^3.6.2",
|
|
81
|
-
"sass": "^1.93.2",
|
|
82
|
-
"sass-embedded": "^1.93.2",
|
|
83
|
-
"tailwindcss": "^4.1.14",
|
|
84
|
-
"tw-animate-css": "^1.3.0",
|
|
85
|
-
"typescript": "~5.9.3",
|
|
86
|
-
"typescript-eslint": "^8.45.0",
|
|
87
|
-
"vite": "^7.1.7",
|
|
88
|
-
"vite-plugin-dts": "^4.5.4",
|
|
89
|
-
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
90
|
-
"react": "^18.2.0",
|
|
91
|
-
"react-dom": "^18.2.0"
|
|
92
|
-
},
|
|
93
|
-
"lint-staged": {
|
|
94
|
-
"*.{js,jsx,ts,tsx}": [
|
|
95
|
-
"eslint --fix",
|
|
96
|
-
"prettier --write"
|
|
97
|
-
],
|
|
98
|
-
"*.{json,css,md}": [
|
|
99
|
-
"prettier --write"
|
|
100
|
-
]
|
|
101
|
-
}
|
|
102
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "hasting-swatchcart-module",
|
|
3
|
+
"version": "1.0.23",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist"
|
|
7
|
+
],
|
|
8
|
+
"main": "dist/main.cjs",
|
|
9
|
+
"module": "dist/main.js",
|
|
10
|
+
"types": "dist/main.d.ts",
|
|
11
|
+
"style": "dist/assets/index.css",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/main.d.ts",
|
|
15
|
+
"require": "./dist/main.cjs",
|
|
16
|
+
"import": "./dist/main.js",
|
|
17
|
+
"default": "./dist/main.js"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"sideEffects": [
|
|
21
|
+
"**/*.css"
|
|
22
|
+
],
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"@reduxjs/toolkit": ">=2",
|
|
25
|
+
"react": ">=18.2.0",
|
|
26
|
+
"react-dom": ">=18.2.0",
|
|
27
|
+
"react-redux": ">=9"
|
|
28
|
+
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"dev": "vite -c vite.app.config.ts",
|
|
31
|
+
"build": "tsc -b && vite build",
|
|
32
|
+
"build:site": "vite build -c vite.app.config.ts",
|
|
33
|
+
"build:lib": "tsc --p ./tsconfig-build.json && vite build -c vite.lib.config.ts",
|
|
34
|
+
"build:cdn": "tsc --p ./tsconfig-build.json && vite build -c vite.cdn.config.ts",
|
|
35
|
+
"build:all": "npm run build:lib && npm run build:cdn",
|
|
36
|
+
"lint": "eslint .",
|
|
37
|
+
"preview": "vite preview -c vite.app.config.ts",
|
|
38
|
+
"format": "prettier --write .",
|
|
39
|
+
"format:check": "prettier --check .",
|
|
40
|
+
"prepare": "husky",
|
|
41
|
+
"start": "vite preview -c vite.app.config.ts --host 0.0.0.0 --port ${PORT:-8080}"
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@radix-ui/react-accordion": "^1.2.11",
|
|
45
|
+
"@radix-ui/react-checkbox": "^1.3.2",
|
|
46
|
+
"@radix-ui/react-dialog": "^1.1.14",
|
|
47
|
+
"@radix-ui/react-label": "^2.1.7",
|
|
48
|
+
"@radix-ui/react-popover": "^1.1.14",
|
|
49
|
+
"@radix-ui/react-slider": "^1.3.6",
|
|
50
|
+
"@radix-ui/react-slot": "^1.2.3",
|
|
51
|
+
"@radix-ui/react-tooltip": "^1.2.7",
|
|
52
|
+
"@reduxjs/toolkit": ">=2",
|
|
53
|
+
"@tailwindcss/postcss": "^4.1.16",
|
|
54
|
+
"@tailwindcss/vite": "^4.1.14",
|
|
55
|
+
"@tanstack/react-virtual": "^3.13.12",
|
|
56
|
+
"autoprefixer": "^10.4.21",
|
|
57
|
+
"clsx": "^2.1.1",
|
|
58
|
+
"lucide-react": "^0.487.0",
|
|
59
|
+
"react-markdown": "^10.1.0",
|
|
60
|
+
"react-redux": ">=9",
|
|
61
|
+
"react-toastify": "^11.0.5",
|
|
62
|
+
"rehype-raw": "^7.0.0",
|
|
63
|
+
"tailwind-merge": "^3.3.0",
|
|
64
|
+
"terser": "^5.44.0"
|
|
65
|
+
},
|
|
66
|
+
"devDependencies": {
|
|
67
|
+
"@eslint/js": "^9.36.0",
|
|
68
|
+
"@types/node": "^24.7.2",
|
|
69
|
+
"@types/react": "^19.1.16",
|
|
70
|
+
"@types/react-dom": "^19.1.9",
|
|
71
|
+
"@vitejs/plugin-react": "^5.0.4",
|
|
72
|
+
"eslint": "^9.36.0",
|
|
73
|
+
"eslint-config-prettier": "^10.1.8",
|
|
74
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
75
|
+
"eslint-plugin-react-refresh": "^0.4.22",
|
|
76
|
+
"glob": "^11.0.3",
|
|
77
|
+
"globals": "^16.4.0",
|
|
78
|
+
"husky": "^9.1.7",
|
|
79
|
+
"lint-staged": "^16.2.3",
|
|
80
|
+
"prettier": "^3.6.2",
|
|
81
|
+
"sass": "^1.93.2",
|
|
82
|
+
"sass-embedded": "^1.93.2",
|
|
83
|
+
"tailwindcss": "^4.1.14",
|
|
84
|
+
"tw-animate-css": "^1.3.0",
|
|
85
|
+
"typescript": "~5.9.3",
|
|
86
|
+
"typescript-eslint": "^8.45.0",
|
|
87
|
+
"vite": "^7.1.7",
|
|
88
|
+
"vite-plugin-dts": "^4.5.4",
|
|
89
|
+
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
90
|
+
"react": "^18.2.0",
|
|
91
|
+
"react-dom": "^18.2.0"
|
|
92
|
+
},
|
|
93
|
+
"lint-staged": {
|
|
94
|
+
"*.{js,jsx,ts,tsx}": [
|
|
95
|
+
"eslint --fix",
|
|
96
|
+
"prettier --write"
|
|
97
|
+
],
|
|
98
|
+
"*.{json,css,md}": [
|
|
99
|
+
"prettier --write"
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
}
|