@basaltkit/subscriptions 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/LICENSE +21 -0
- package/README.md +374 -0
- package/dist/index.d.ts +476 -0
- package/dist/index.js +718 -0
- package/package.json +54 -0
package/package.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@basaltkit/subscriptions",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Billing for Basalt, Cashier/Soulbscription-style: declarative plans, subscriptions with trials, feature flags, usage limits, gateway drivers and idempotent webhooks.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.js"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@basaltkit/core": "^1.0.0",
|
|
18
|
+
"@basaltkit/fastify": "^1.0.0"
|
|
19
|
+
},
|
|
20
|
+
"peerDependencies": {
|
|
21
|
+
"zod": "^3.24.0 || ^4.0.0"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"@types/node": "^22.15.0",
|
|
25
|
+
"tsup": "^8.4.0",
|
|
26
|
+
"typescript": "^5.8.0",
|
|
27
|
+
"vitest": "^3.1.0",
|
|
28
|
+
"zod": "^3.24.0",
|
|
29
|
+
"@basaltkit/tsconfig": "^0.24.0"
|
|
30
|
+
},
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public"
|
|
33
|
+
},
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "git+https://github.com/Zebedeu/basalt.git",
|
|
37
|
+
"directory": "packages/subscriptions"
|
|
38
|
+
},
|
|
39
|
+
"homepage": "https://github.com/Zebedeu/basalt/tree/main/packages/subscriptions#readme",
|
|
40
|
+
"bugs": "https://github.com/Zebedeu/basalt/issues",
|
|
41
|
+
"keywords": [
|
|
42
|
+
"basalt",
|
|
43
|
+
"typescript",
|
|
44
|
+
"saas",
|
|
45
|
+
"billing",
|
|
46
|
+
"subscriptions",
|
|
47
|
+
"stripe"
|
|
48
|
+
],
|
|
49
|
+
"scripts": {
|
|
50
|
+
"build": "tsup src/index.ts --format esm --dts --clean",
|
|
51
|
+
"test": "vitest run",
|
|
52
|
+
"typecheck": "tsc --noEmit"
|
|
53
|
+
}
|
|
54
|
+
}
|