@aforoai/storefront-widgets 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/package.json ADDED
@@ -0,0 +1,118 @@
1
+ {
2
+ "name": "@aforoai/storefront-widgets",
3
+ "version": "1.0.1",
4
+ "type": "module",
5
+ "description": "Embeddable widgets for Aforo's storefront — pricing card, subscribe button, invoice list, and embedded checkout. Drop into any HTML page, React app, or Vue app to add Aforo billing surfaces with your own branding. Three integration tiers: script tag, npm, iframe.",
6
+ "license": "MIT",
7
+ "private": false,
8
+ "publishConfig": {
9
+ "access": "public",
10
+ "provenance": false,
11
+ "registry": "https://registry.npmjs.org/"
12
+ },
13
+ "homepage": "https://docs.aforo.ai/docs/embed-quickstart",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/aforoai/aforo-nextgen-UI.git",
17
+ "directory": "packages/storefront-widgets"
18
+ },
19
+ "bugs": {
20
+ "url": "https://github.com/aforoai/aforo-nextgen-UI/issues"
21
+ },
22
+ "keywords": [
23
+ "aforo",
24
+ "billing",
25
+ "subscriptions",
26
+ "embed",
27
+ "widget",
28
+ "stripe",
29
+ "razorpay",
30
+ "paypal",
31
+ "pricing-card",
32
+ "invoice",
33
+ "checkout",
34
+ "saas-billing",
35
+ "react",
36
+ "vue"
37
+ ],
38
+ "main": "./dist/index.cjs",
39
+ "module": "./dist/index.mjs",
40
+ "types": "./dist/index.d.ts",
41
+ "exports": {
42
+ ".": {
43
+ "types": "./dist/index.d.ts",
44
+ "import": "./dist/index.mjs",
45
+ "require": "./dist/index.cjs"
46
+ },
47
+ "./vue": {
48
+ "types": "./dist/vue/index.d.ts",
49
+ "import": "./dist/vue/index.mjs",
50
+ "require": "./dist/vue/index.cjs"
51
+ },
52
+ "./vanilla": {
53
+ "types": "./dist/vanilla/index.d.ts",
54
+ "import": "./dist/vanilla/index.mjs",
55
+ "require": "./dist/vanilla/index.cjs"
56
+ },
57
+ "./loader": {
58
+ "types": "./dist/loader.d.ts",
59
+ "import": "./dist/loader.mjs",
60
+ "require": "./dist/loader.cjs"
61
+ }
62
+ },
63
+ "sideEffects": false,
64
+ "files": [
65
+ "dist/**/*.js",
66
+ "dist/**/*.mjs",
67
+ "dist/**/*.cjs",
68
+ "dist/**/*.d.ts",
69
+ "dist/**/*.d.cts",
70
+ "dist/**/*.json",
71
+ "README.md",
72
+ "LICENSE",
73
+ "SECURITY.md",
74
+ "CHANGELOG.md",
75
+ "loader.sri.txt"
76
+ ],
77
+ "peerDependencies": {
78
+ "react": ">=18",
79
+ "react-dom": ">=18"
80
+ },
81
+ "peerDependenciesMeta": {
82
+ "react": {
83
+ "optional": true
84
+ },
85
+ "react-dom": {
86
+ "optional": true
87
+ }
88
+ },
89
+ "dependencies": {
90
+ "@aforoai/types": "0.1.0"
91
+ },
92
+ "devDependencies": {
93
+ "@testing-library/jest-dom": "^6.4.0",
94
+ "@testing-library/react": "^14.2.0",
95
+ "@types/node": "^20.10.0",
96
+ "@types/react": "^18.2.0",
97
+ "@types/react-dom": "^18.2.0",
98
+ "@vue/runtime-dom": "^3.4.0",
99
+ "axe-core": "^4.10.0",
100
+ "happy-dom": "^14.0.0",
101
+ "react": "^18.2.0",
102
+ "react-dom": "^18.2.0",
103
+ "tsup": "^8.0.0",
104
+ "typescript": "^5.4.0",
105
+ "vitest": "^1.6.0",
106
+ "vue": "^3.4.0"
107
+ },
108
+ "scripts": {
109
+ "build": "tsup",
110
+ "build:check-size": "node scripts/check-size.mjs",
111
+ "dev": "tsup --watch",
112
+ "test": "vitest run",
113
+ "test:watch": "vitest",
114
+ "typecheck": "tsc --noEmit",
115
+ "sri": "node scripts/sri.mjs",
116
+ "verify:publish": "npm pack --dry-run"
117
+ }
118
+ }