@monetize.software/sdk 3.0.0-alpha.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 +106 -0
- package/dist/chunks/PaywallUI-BHp9afFC.js +2209 -0
- package/dist/chunks/PaywallUI-BHp9afFC.js.map +1 -0
- package/dist/chunks/PaywallUI-Dr-6q-HL.js +26 -0
- package/dist/chunks/PaywallUI-Dr-6q-HL.js.map +1 -0
- package/dist/core.cjs +2 -0
- package/dist/core.cjs.map +1 -0
- package/dist/core.d.ts +1229 -0
- package/dist/core.js +1856 -0
- package/dist/core.js.map +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +1695 -0
- package/dist/index.js +19 -0
- package/dist/index.js.map +1 -0
- package/dist/ui.cjs +2 -0
- package/dist/ui.cjs.map +1 -0
- package/dist/ui.d.ts +1615 -0
- package/dist/ui.js +6 -0
- package/dist/ui.js.map +1 -0
- package/package.json +96 -0
package/dist/ui.js
ADDED
package/dist/ui.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/package.json
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@monetize.software/sdk",
|
|
3
|
+
"version": "3.0.0-alpha.0",
|
|
4
|
+
"description": "Monetize SDK — bundled billing client and paywall render engine for web and Chrome extensions",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/monetize-software/sdk.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/monetize-software/sdk/issues"
|
|
14
|
+
},
|
|
15
|
+
"homepage": "https://github.com/monetize-software/sdk#readme",
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"import": "./dist/index.js",
|
|
23
|
+
"require": "./dist/index.cjs"
|
|
24
|
+
},
|
|
25
|
+
"./core": {
|
|
26
|
+
"types": "./dist/core.d.ts",
|
|
27
|
+
"import": "./dist/core.js",
|
|
28
|
+
"require": "./dist/core.cjs"
|
|
29
|
+
},
|
|
30
|
+
"./ui": {
|
|
31
|
+
"types": "./dist/ui.d.ts",
|
|
32
|
+
"import": "./dist/ui.js",
|
|
33
|
+
"require": "./dist/ui.cjs"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"scripts": {
|
|
37
|
+
"dev": "vite",
|
|
38
|
+
"build": "vite build",
|
|
39
|
+
"typecheck": "tsc --noEmit",
|
|
40
|
+
"test": "vitest run",
|
|
41
|
+
"test:watch": "vitest",
|
|
42
|
+
"test:e2e": "pnpm ext:build && playwright test --project=extension",
|
|
43
|
+
"test:e2e:demo": "playwright test --project=demo-stripe --project=demo-paddle --project=demo-freemius",
|
|
44
|
+
"test:e2e:demo:stripe": "playwright test --project=demo-stripe",
|
|
45
|
+
"test:e2e:demo:paddle": "playwright test --project=demo-paddle",
|
|
46
|
+
"test:e2e:demo:freemius": "playwright test --project=demo-freemius",
|
|
47
|
+
"test:e2e:checkout": "playwright test --project=checkout-stripe --project=checkout-paddle --project=checkout-freemius",
|
|
48
|
+
"test:e2e:checkout:stripe": "playwright test --project=checkout-stripe",
|
|
49
|
+
"test:e2e:checkout:paddle": "playwright test --project=checkout-paddle",
|
|
50
|
+
"test:e2e:checkout:freemius": "playwright test --project=checkout-freemius",
|
|
51
|
+
"test:e2e:all": "pnpm ext:build && playwright test",
|
|
52
|
+
"ext:build": "vite build --config playgrounds/extension/vite.config.ts",
|
|
53
|
+
"size": "size-limit",
|
|
54
|
+
"prepublishOnly": "pnpm typecheck && pnpm build",
|
|
55
|
+
"version:alpha": "npm version prerelease --preid=alpha --no-git-tag-version",
|
|
56
|
+
"version:patch": "npm version patch --no-git-tag-version",
|
|
57
|
+
"version:minor": "npm version minor --no-git-tag-version",
|
|
58
|
+
"version:major": "npm version major --no-git-tag-version",
|
|
59
|
+
"release:alpha": "npm publish --access public --tag alpha",
|
|
60
|
+
"release:latest": "npm publish --access public"
|
|
61
|
+
},
|
|
62
|
+
"dependencies": {
|
|
63
|
+
"preact": "^10.24.0"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@playwright/test": "^1.59.1",
|
|
67
|
+
"@size-limit/preset-small-lib": "^11.1.6",
|
|
68
|
+
"@tailwindcss/vite": "^4.0.0",
|
|
69
|
+
"@types/chrome": "^0.0.287",
|
|
70
|
+
"@types/node": "^20.17.28",
|
|
71
|
+
"jsdom": "^25.0.1",
|
|
72
|
+
"size-limit": "^11.1.6",
|
|
73
|
+
"tailwindcss": "^4.0.0",
|
|
74
|
+
"typescript": "^5.8.2",
|
|
75
|
+
"vite": "^6.0.5",
|
|
76
|
+
"vite-plugin-dts": "^4.3.0",
|
|
77
|
+
"vitest": "^2.1.8"
|
|
78
|
+
},
|
|
79
|
+
"size-limit": [
|
|
80
|
+
{
|
|
81
|
+
"name": "core",
|
|
82
|
+
"path": "dist/core.js",
|
|
83
|
+
"limit": "8 KB"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "ui",
|
|
87
|
+
"path": "dist/ui.js",
|
|
88
|
+
"limit": "60 KB"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "full",
|
|
92
|
+
"path": "dist/index.js",
|
|
93
|
+
"limit": "70 KB"
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
}
|