clone

a self-hosted sync node for lofi apps: jazz sync over iroh, ticket-gated, with no static ip or cloud needed

release/0.4.0
lofi-node / deno.json
deno.json 2.4K
1{2 "name": "@nzip/lofi-node",3 "version": "0.4.0",4 "license": "MIT",5 "description": "Self-hostable sync node for lofi apps: an embedded Jazz sync server with iroh peer-to-peer transport and ticket-gated access. Pair homes by ticket without static IPs or a cloud, issue revocable app tickets, and choose where your data lives.",6 "exports": {7 ".": "./mod.ts",8 "./testing": "./testing/mod.ts",9 "./cli": "./cli.ts"10 },11 "nodeModulesDir": "auto",12 "imports": {13 "@std/assert": "jsr:@std/assert@1",14 "jazz-napi": "npm:jazz-napi@2.0.0-alpha.53",15 "jazz-tools": "npm:jazz-tools@2.0.0-alpha.53",16 "jazz-tools/testing": "npm:jazz-tools@2.0.0-alpha.53/testing",17 "jazz-tools/permissions": "npm:jazz-tools@2.0.0-alpha.53/permissions"18 },19 "tasks": {20 "check": "deno fmt --check && deno lint && deno check mod.ts cli.ts testing/mod.ts tests/",21 "test": "deno test -A tests/",22 "fmt": "deno fmt",23 "lint": "deno lint",24 "start": "deno run -A cli.ts start",25 "compile": "deno compile -A --include native/iroh-js/prebuilt --output dist/lofi-node cli.ts",26 "compile:darwin-arm64": "deno compile -A --target aarch64-apple-darwin --include native/iroh-js/prebuilt/aarch64-apple-darwin --output dist/lofi-node-aarch64-apple-darwin cli.ts",27 "compile:linux-x64": "deno compile -A --target x86_64-unknown-linux-gnu --include native/iroh-js/prebuilt/x86_64-unknown-linux-gnu --output dist/lofi-node-x86_64-unknown-linux-gnu cli.ts",28 "compile:linux-arm64": "deno compile -A --target aarch64-unknown-linux-gnu --include native/iroh-js/prebuilt/aarch64-unknown-linux-gnu --output dist/lofi-node-aarch64-unknown-linux-gnu cli.ts",29 "native": "cargo build --release --manifest-path native/iroh-js/Cargo.toml",30 "release:artifacts": "deno run --allow-read --allow-write=src/native/artifacts.ts tools/release_artifacts.ts && deno fmt src/native/artifacts.ts",31 "publish:dry": "deno publish --dry-run"32 },33 "publish": {34 "include": [35 "LICENSE",36 "README.md",37 "docs/assets/brand/lofi-node-github-banner.png",38 "mod.ts",39 "cli.ts",40 "src",41 "testing",42 "docs/app-ticket.md",43 "docs/hosting-lofi-apps.md",44 "docs/fixtures"45 ],46 "exclude": [47 "native",48 "tests",49 "dist"50 ]51 },52 "fmt": {53 "lineWidth": 100,54 "exclude": [55 "native/iroh-js/"56 ]57 },58 "lint": {59 "exclude": [60 "native/iroh-js/"61 ]62 }63}