@oimdb/browser 0.0.0-stage → 1.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/package.json CHANGED
@@ -1,6 +1,71 @@
1
1
  {
2
2
  "name": "@oimdb/browser",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.1.0",
4
+ "description": "Browser state as OIMDB single slots: online, window focus, document visibility, location.",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "sideEffects": false,
10
+ "exports": {
11
+ ".": {
12
+ "types": "./dist/index.d.ts",
13
+ "import": "./dist/index.js",
14
+ "require": {
15
+ "types": "./dist/index.d.cts",
16
+ "default": "./dist/index.cjs"
17
+ }
18
+ }
19
+ },
20
+ "oimdbRelease": {
21
+ "publish": true
22
+ },
23
+ "scripts": {
24
+ "build": "tsup src/index.ts --dts --format esm,cjs --clean",
25
+ "test": "jest",
26
+ "type-check": "tsc --noEmit -p tsconfig.all.json",
27
+ "clean": "rimraf dist",
28
+ "prepack": "node -e \"const {copyFileSync,existsSync}=require('fs');if(existsSync('../../llms.txt'))copyFileSync('../../llms.txt','llms.txt')\"",
29
+ "prepublishOnly": "npm run type-check && npm test && npm run build"
30
+ },
31
+ "license": "MIT",
32
+ "author": "Andrei Baikov",
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "git+https://github.com/abaikov/oimdb.git"
36
+ },
37
+ "bugs": {
38
+ "url": "https://github.com/abaikov/oimdb/issues"
39
+ },
40
+ "homepage": "https://github.com/abaikov/oimdb#readme",
41
+ "keywords": [
42
+ "oimdb",
43
+ "browser",
44
+ "online",
45
+ "focus",
46
+ "visibility",
47
+ "location",
48
+ "reactive",
49
+ "typescript"
50
+ ],
51
+ "peerDependencies": {
52
+ "@oimdb/core": "^4.2.0"
53
+ },
54
+ "devDependencies": {
55
+ "@types/jest": "^29.5.8",
56
+ "jest": "^29.7.0",
57
+ "rimraf": "^5.0.5",
58
+ "ts-jest": "^29.1.1",
59
+ "tsup": "^8.5.0",
60
+ "typescript": "^5.2.2",
61
+ "jest-environment-jsdom": "^29.7.0"
62
+ },
63
+ "publishConfig": {
64
+ "access": "public"
65
+ },
66
+ "files": [
67
+ "dist",
68
+ "llms.txt",
69
+ "README.md"
70
+ ]
71
+ }