hasting-swatchcart-module 0.0.9 → 0.0.12

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