Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 2.29 KB
/
Copy pathpackage.json
File metadata and controls
68 lines (68 loc) · 2.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"name": "@monetizationos/browser",
"version": "1.1.0",
"description": "MonetizationOS Browser SDK",
"license": "MIT",
"type": "module",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./iife": "./dist/mos.iife.js",
"./package.json": "./package.json"
},
"files": ["dist", "README.md", "LICENSE"],
"sideEffects": ["./dist/mos.iife.js", "./src/iife.ts"],
"repository": {
"type": "git",
"url": "git+https://github.com/MonetizationOS/mos-browser-sdk.git"
},
"bugs": {
"url": "https://github.com/MonetizationOS/mos-browser-sdk/issues"
},
"homepage": "https://github.com/MonetizationOS/mos-browser-sdk#readme",
"keywords": ["monetization", "monetizationos", "paywall", "browser", "sdk", "surface-decisions"],
"engines": {
"node": ">=22"
},
"packageManager": "pnpm@10.32.1",
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsdown",
"sandbox": "tsdown && node scripts/serve.mjs",
"test": "vitest",
"test:run": "vitest run",
"test:browser": "vitest run --config vitest.browser.config.mts",
"typecheck": "tsc --noEmit",
"lint": "biome check --diagnostic-level=error --no-errors-on-unmatched",
"format": "biome check --write --no-errors-on-unmatched",
"changeset": "changeset",
"version": "changeset version && node scripts/sync-version.mjs && pnpm run format",
"release": "changeset publish",
"deploy:r2": "node scripts/deploy-r2.mjs",
"prepublishOnly": "pnpm run typecheck && pnpm run test:run && pnpm run build"
},
"pnpm": {
"onlyBuiltDependencies": ["esbuild"]
},
"dependencies": {
"@monetizationos/proxy": "^1.4.3"
},
"devDependencies": {
"@biomejs/biome": "2.4.15",
"@changesets/changelog-github": "^0.7.0",
"@changesets/cli": "^2.31.0",
"@types/node": "^24.12.3",
"@vitest/browser": "~4.1.5",
"@vitest/browser-playwright": "~4.1.5",
"jsdom": "^25.0.1",
"playwright": "^1.49.1",
"tsdown": "^0.22.3",
"typescript": "^6.0.3",
"vitest": "~4.1.5"
}
}