1{2 "name": "@nzip/lofi",3 "version": "0.5.0",4 "license": "MIT",5 "description": "A local-first Deno PWA framework with durable local data, recoverable accounts, optional Jazz sync, and private, direct-share, or group access templates.",6 "exports": {7 ".": "./package/runtime/mod.ts",8 "./astro": "./package/astro/mod.ts",9 "./access": "./package/access/mod.ts",10 "./build": "./package/commands/build.ts",11 "./create": "./package/create.ts",12 "./dev": "./package/commands/dev.ts",13 "./doctor": "./package/commands/doctor.ts",14 "./preview": "./package/commands/preview.ts",15 "./preact": "./package/preact/mod.ts",16 "./provision": "./package/commands/provision.ts",17 "./schema": "./package/schema/mod.ts",18 "./schema/store": "./package/schema/store.ts",19 "./recipes/file-handler": "./package/recipes/file-handler.ts",20 "./recipes/launch-handler": "./package/recipes/launch-handler.ts",21 "./recipes/protocol-handler": "./package/recipes/protocol-handler.ts",22 "./recipes/related-app-discovery": "./package/recipes/related-app-discovery.ts",23 "./recipes/scope-extension": "./package/recipes/scope-extension.ts",24 "./recipes/web-share": "./package/recipes/web-share.ts",25 "./recipes/window-controls-overlay": "./package/recipes/window-controls-overlay.ts",26 "./testing": "./package/testing/mod.ts",27 "./test": "./package/commands/run_tests.ts"28 },29 "imports": {30 "@astrojs/check": "npm:@astrojs/check@0.9.9",31 "@astrojs/preact": "npm:@astrojs/preact@6.0.1",32 "astro": "npm:astro@7.0.9",33 "astro/config": "npm:astro@7.0.9/config",34 "jazz-tools": "npm:jazz-tools@2.0.0-alpha.53",35 "jazz-tools/dev/vite": "npm:jazz-tools@2.0.0-alpha.53/dev/vite",36 "jazz-tools/passkey-backup": "npm:jazz-tools@2.0.0-alpha.53/passkey-backup",37 "jazz-tools/passphrase": "npm:jazz-tools@2.0.0-alpha.53/passphrase",38 "jazz-tools/testing": "npm:jazz-tools@2.0.0-alpha.53/testing",39 "playwright": "npm:playwright@1.61.1",40 "preact": "npm:preact@10.29.7",41 "preact/hooks": "npm:preact@10.29.7/hooks",42 "preact/jsx-dev-runtime": "npm:preact@10.29.7/jsx-dev-runtime",43 "preact/jsx-runtime": "npm:preact@10.29.7/jsx-runtime",44 "typescript": "npm:typescript@6.0.3",45 "vite": "npm:vite@8.0.1"46 },47 "nodeModulesDir": "auto",48 "compilerOptions": {49 "lib": ["deno.ns", "dom", "dom.iterable", "esnext"],50 "jsx": "react-jsx",51 "jsxImportSource": "preact"52 },53 "tasks": {54 "build": "deno task --cwd apps/reference build",55 "check": "deno fmt --check . && deno lint && deno task doc && deno task docs:links && deno task test:unit && deno task test:access && deno task test:conformance",56 "doc": "deno run --allow-run tools/doc_lint.ts",57 "docs:links": "deno run --allow-read tools/docs_links.ts",58 "test:unit": "deno test --allow-env=LOFI_UPDATE_SNAPSHOT,CI --allow-net=127.0.0.1 --allow-read --allow-write=. --allow-run tools package/astro package/create_core_test.ts package/preact package/project_layout_doc_test.ts package/pwa_assets_test.ts package/recipes package/runtime package/schema/mod_test.ts package/schema/nested_test.ts package/testing package/tooling apps/reference/tests",59 "test:access": "deno test --allow-env --allow-net=127.0.0.1 --allow-read --allow-write --allow-run --allow-ffi package/access/*_test.ts",60 "test:conformance": "deno test --allow-env --allow-net=127.0.0.1 --allow-read --allow-write --allow-run --allow-ffi package/schema/merge_sync_test.ts && deno test --allow-env --allow-net=127.0.0.1 --allow-read --allow-write --allow-run --allow-ffi package/schema/migration_test.ts && deno test --allow-env --allow-net=127.0.0.1 --allow-read --allow-write --allow-run --allow-ffi package/schema/sliceable_test.ts && deno test --allow-env --allow-net=127.0.0.1 --allow-read --allow-write --allow-run --allow-ffi package/schema/nested_conformance_test.ts && deno test --allow-env --allow-net=127.0.0.1 --allow-read --allow-write --allow-run --allow-ffi package/schema/store_test.ts && deno test --allow-env --allow-net=127.0.0.1 --allow-read --allow-write --allow-run --allow-ffi package/schema/conformance_test.ts",61 "test:update:create": "LOFI_UPDATE_SNAPSHOT=1 deno test --allow-env=LOFI_UPDATE_SNAPSHOT --allow-read --allow-write=. --allow-run package/create_core_test.ts",62 "test": "deno task test:unit",63 "test:browser:install": "deno run -A npm:playwright@1.61.1 install chromium",64 "test:golden": "deno run -A tools/golden.ts --source local",65 "test:golden:registry": "deno run -A tools/golden.ts --source registry",66 "site:api": "deno run --allow-read --allow-run --allow-write=website/api-gen tools/api_docs.ts",67 "site:api:node": "deno run --allow-read --allow-run --allow-env=LOFI_NODE_DIR --allow-write=website/node-api-gen tools/api_docs.ts --node",68 "site:node": "deno run --allow-read --allow-run=git --allow-env=LOFI_NODE_DIR,LOFI_NODE_REF --allow-write=website/node-docs-gen tools/node_docs.ts",69 "site:llms": "deno run --allow-read --allow-write=website/static --allow-env=SITE_URL tools/site_llms.ts",70 "site:gen": "deno task site:api && deno task site:api:node && deno task site:node && deno task site:llms",71 "site:build": "deno task site:gen && npm run build --prefix website",72 "site:dev": "deno task site:gen && npm start --prefix website",73 "publish:dry": "deno publish --dry-run"74 },75 "fmt": {76 "lineWidth": 100,77 "semiColons": true,78 "singleQuote": false,79 "exclude": ["website"]80 },81 "lint": {82 "rules": {83 "tags": ["recommended"]84 },85 "exclude": ["website"]86 },87 "publish": {88 "include": [89 "LICENSE",90 "README.md",91 "docs/README.md",92 "docs/assets/brand/lofi-github-banner.png",93 "docs/application-origin-migration.md",94 "docs/auth-identity.md",95 "docs/auth.md",96 "docs/decisions/group-creator-authority-alpha53.md",97 "docs/decisions/passkey-backup-alpha53.md",98 "docs/decisions/schema-facade-alpha53.md",99 "docs/data-and-ui.md",100 "docs/deployment.md",101 "docs/getting-started.md",102 "docs/examples",103 "docs/permissions.md",104 "docs/reference",105 "docs/recipes",106 "docs/sync-and-recovery.md",107 "docs/testing.md",108 "docs/troubleshooting.md",109 "apps/reference/deno.json",110 "apps/reference/public",111 "apps/reference/src",112 "apps/reference/tests",113 "apps/reference/tsconfig.json",114 "package"115 ],116 "exclude": [117 "package/**/*_test.ts",118 "package/**/*_test.tsx",119 "package/testing/fixture_integration.ts",120 "package/testdata"121 ]122 }123}