@meetreeve/billing-kit 0.1.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/LICENSE +22 -0
- package/README.md +48 -0
- package/dist/index.d.mts +434 -0
- package/dist/index.d.ts +434 -0
- package/dist/index.js +935 -0
- package/dist/index.mjs +886 -0
- package/package.json +60 -0
package/package.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@meetreeve/billing-kit",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Shared Reeve.Commerce pricing table + paywall/upgrade primitives — catalog-driven <PricingTable/> and <UpgradePaywall/>, plus an AutoCheckout post-login/return resume helper. Companion to reeve-services' commerce catalog SSOT (DEV-1785) and Entitlements.min_tier_for (packages/commerce/entitlements.py). Workspace-local (DEV-1786, no npm publish) — sibling DEV-1787 (PlanCard/CreditsMeter/BuyMorePacks/LowBalanceBanner/BillingSettingsPanel) extends this same package.",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"README.md"
|
|
18
|
+
],
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/MindFortressInc/reeve-frontend.git",
|
|
22
|
+
"directory": "packages/billing-kit"
|
|
23
|
+
},
|
|
24
|
+
"homepage": "https://github.com/MindFortressInc/reeve-frontend/tree/main/packages/billing-kit#readme",
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://github.com/MindFortressInc/reeve-frontend/issues"
|
|
27
|
+
},
|
|
28
|
+
"peerDependencies": {
|
|
29
|
+
"@radix-ui/react-dialog": "^1.1.0",
|
|
30
|
+
"next": ">=14",
|
|
31
|
+
"react": ">=18"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@radix-ui/react-dialog": "^1.1.15",
|
|
35
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
36
|
+
"@testing-library/react": "^16.0.0",
|
|
37
|
+
"@types/react": "^19.0.0",
|
|
38
|
+
"jsdom": "^28.1.0",
|
|
39
|
+
"next": "^16.1.6",
|
|
40
|
+
"react": "^19.0.0",
|
|
41
|
+
"react-dom": "^19.0.0",
|
|
42
|
+
"tsup": "^8.0.0",
|
|
43
|
+
"typescript": "^5.0.0",
|
|
44
|
+
"vitest": "^4.0.0"
|
|
45
|
+
},
|
|
46
|
+
"keywords": [
|
|
47
|
+
"billing",
|
|
48
|
+
"pricing",
|
|
49
|
+
"paywall",
|
|
50
|
+
"commerce",
|
|
51
|
+
"meetreeve"
|
|
52
|
+
],
|
|
53
|
+
"license": "UNLICENSED",
|
|
54
|
+
"scripts": {
|
|
55
|
+
"build": "tsup",
|
|
56
|
+
"test": "vitest run",
|
|
57
|
+
"dev": "tsup --watch",
|
|
58
|
+
"check:esm": "node ../../scripts/check-esm-import.mjs ."
|
|
59
|
+
}
|
|
60
|
+
}
|