-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 1.93 KB
/
Copy pathpackage.json
File metadata and controls
63 lines (63 loc) · 1.93 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
{
"name": "bool-sdk",
"version": "0.3.3",
"description": "Client SDK for apps built on Bool \u2014 gateway data access, end-user auth, the AI battery, the React auth layer, and the local-dev CLI (link, types, deploy).",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"bool": "./dist/cli-entry.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./react": {
"types": "./dist/react.d.ts",
"default": "./dist/react.js"
}
},
"_sideEffectsNote": "dist/react.js MUST stay listed below. It registers the live-query implementation into the React-free core at module scope, and apps load it via a bare `import \"bool-sdk/react\"` with no bindings used \u2014 so a blanket `\"sideEffects\": false` licenses bundlers to delete that import outright. Verified: with `false`, a real Vite production build drops it and every published app throws on first render (shipped as 0.3.0, fixed in 0.3.1).",
"sideEffects": [
"./dist/react.js"
],
"files": [
"dist",
"README.md",
"CHANGELOG.md"
],
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.build.json",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "bun test",
"prepublishOnly": "bun run typecheck && bun run test && bun run build"
},
"peerDependencies": {
"@supabase/supabase-js": "^2.0.0",
"react": "^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"devDependencies": {
"@supabase/supabase-js": "^2.105.0",
"@types/bun": "^1.2.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"typescript": "^5.6.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/codehs/bool-sdk.git"
},
"license": "MIT",
"publishConfig": {
"access": "public",
"provenance": true
}
}