react-shopping-cart-kit 1.0.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.
package/package.json ADDED
@@ -0,0 +1,131 @@
1
+ {
2
+ "name": "react-shopping-cart-kit",
3
+ "version": "1.0.0",
4
+ "description": "A modern, lightweight, and customizable React shopping cart library with hooks, context API, and beautiful UI components. Perfect for e-commerce websites, marketplaces, and headless commerce apps. Features multi-currency support, dynamic shipping methods, discount codes, and complete internationalization with RTL support.",
5
+ "keywords": [
6
+ "react shopping cart",
7
+ "react ecommerce cart",
8
+ "react cart hook",
9
+ "react cart component",
10
+ "react add to cart",
11
+ "react cart provider",
12
+ "react cart context",
13
+ "react ecommerce components",
14
+ "shopping cart",
15
+ "ecommerce",
16
+ "cart state management",
17
+ "zustand cart",
18
+ "react cart library",
19
+ "multi-currency",
20
+ "internationalization",
21
+ "i18n",
22
+ "rtl support",
23
+ "arabic",
24
+ "discount codes",
25
+ "voucher system",
26
+ "shipping methods",
27
+ "typescript",
28
+ "tailwind css",
29
+ "headless commerce",
30
+ "shopify alternative",
31
+ "woocommerce alternative",
32
+ "cart ui components",
33
+ "react hooks",
34
+ "context api",
35
+ "zustand",
36
+ "react state management"
37
+ ],
38
+ "author": "Razan Aboushi",
39
+ "license": "MIT",
40
+ "type": "module",
41
+ "homepage": "https://github.com/razan-aboushi/react-shopping-cart#readme",
42
+ "repository": {
43
+ "type": "git",
44
+ "url": "git+https://github.com/razan-aboushi/react-shopping-cart.git"
45
+ },
46
+ "bugs": {
47
+ "url": "https://github.com/razan-aboushi/react-shopping-cart/issues"
48
+ },
49
+ "main": "./dist/index.umd.js",
50
+ "module": "./dist/index.es.js",
51
+ "types": "./dist/index.d.ts",
52
+ "exports": {
53
+ ".": {
54
+ "import": "./dist/index.es.js",
55
+ "require": "./dist/index.umd.js",
56
+ "types": "./dist/index.d.ts"
57
+ },
58
+ "./styles": "./dist/styles.css"
59
+ },
60
+ "files": [
61
+ "dist",
62
+ "README.md",
63
+ "LICENSE"
64
+ ],
65
+ "sideEffects": [
66
+ "*.css",
67
+ "dist/styles.css"
68
+ ],
69
+ "scripts": {
70
+ "start": "node demo/server.js",
71
+ "build": "vite build",
72
+ "dev": "vite",
73
+ "demo": "vite --config demo/vite.config.ts",
74
+ "preview": "vite preview",
75
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
76
+ "type-check": "tsc --noEmit",
77
+ "audit": "npm audit",
78
+ "audit:fix": "npm audit fix",
79
+ "size": "bundlesize"
80
+ },
81
+ "lint-staged": {
82
+ "*.{ts,tsx}": [
83
+ "eslint --fix",
84
+ "prettier --write"
85
+ ],
86
+ "*.{json,md}": [
87
+ "prettier --write"
88
+ ]
89
+ },
90
+ "bundlesize": [
91
+ {
92
+ "path": "./dist/index.js",
93
+ "maxSize": "50 kB"
94
+ },
95
+ {
96
+ "path": "./dist/styles.css",
97
+ "maxSize": "10 kB"
98
+ }
99
+ ],
100
+ "peerDependencies": {
101
+ "react": "^18.0.0",
102
+ "react-dom": "^18.0.0"
103
+ },
104
+ "dependencies": {
105
+ "zustand": "^4.5.0"
106
+ },
107
+ "devDependencies": {
108
+ "@commitlint/cli": "^19.0.3",
109
+ "@commitlint/config-conventional": "^19.0.3",
110
+ "@semantic-release/changelog": "^6.0.3",
111
+ "@semantic-release/git": "^10.0.1",
112
+ "@types/react": "^18.2.56",
113
+ "@types/react-dom": "^18.2.19",
114
+ "@typescript-eslint/eslint-plugin": "^7.0.2",
115
+ "@typescript-eslint/parser": "^7.0.2",
116
+ "@vitejs/plugin-react": "^4.2.1",
117
+ "autoprefixer": "^10.4.17",
118
+ "bundlesize": "^0.18.1",
119
+ "eslint": "^8.56.0",
120
+ "eslint-plugin-react-hooks": "^4.6.0",
121
+ "eslint-plugin-react-refresh": "^0.4.5",
122
+ "husky": "^9.0.11",
123
+ "lint-staged": "^15.2.2",
124
+ "postcss": "^8.4.35",
125
+ "semantic-release": "^23.0.0",
126
+ "tailwindcss": "^3.4.1",
127
+ "typescript": "^5.2.2",
128
+ "vite": "^5.1.4",
129
+ "vite-plugin-dts": "^3.7.3"
130
+ }
131
+ }