few-ticket-widget 1.0.0 → 1.0.1
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 +32 -0
- package/package.json +5 -3
package/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# 🎟️ Ticket Widget
|
|
2
|
+
|
|
3
|
+
A lightweight, embeddable ticket checkout widget that works in:
|
|
4
|
+
|
|
5
|
+
- ✅ React (JavaScript & TypeScript)
|
|
6
|
+
- ✅ Plain HTML / Vanilla JavaScript
|
|
7
|
+
- ✅ Any framework (Next.js, Vue, Angular, etc.)
|
|
8
|
+
- ✅ CDN embeds (no build tools required)
|
|
9
|
+
|
|
10
|
+
Perfect for event platforms, ticketing systems, and white-label integrations.
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## ✨ Features
|
|
15
|
+
|
|
16
|
+
- Inline iframe checkout (no popups)
|
|
17
|
+
- Dynamic event slugs
|
|
18
|
+
- Light / Dark themes
|
|
19
|
+
- React component + Vanilla JS API
|
|
20
|
+
- TypeScript support with full typings
|
|
21
|
+
- CDN-ready for non-React websites
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## 📦 Installation (React / npm)
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npm install few-ticket-widget
|
|
29
|
+
|
|
30
|
+
or
|
|
31
|
+
|
|
32
|
+
yarn add ticket-widge
|
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "few-ticket-widget",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"main": "dist/react-ticket-widget.js",
|
|
5
|
-
"files": [
|
|
5
|
+
"files": [
|
|
6
|
+
"dist"
|
|
7
|
+
],
|
|
6
8
|
"types": "src/index.d.ts",
|
|
7
9
|
"scripts": {
|
|
8
10
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
9
|
-
|
|
11
|
+
"build": "rollup -c"
|
|
10
12
|
},
|
|
11
13
|
"keywords": [],
|
|
12
14
|
"author": "",
|