1{ 2 "$schema": "https://raw.githubusercontent.com/denoland/deno/refs/heads/main/cli/schemas/config-file.v1.json", 3 "license": "AGPLv3+", 4 5 "tasks": { 6 "dev:client": "deno run -A npm:vite", 7 "dev:server": "deno run -A --watch ./src/server/main.ts", 8 "dev": { 9 "dependencies": ["dev:client", "dev:server"] 10 }, 11 "hook:pre-commit": "./.githooks/pre-commit --all", 12 "check": "deno check --reload ./src/server/main.ts", 13 "build": "deno run -A npm:vite build --emptyOutDir", 14 "serve": { 15 "command": "deno run --allow-read=./dist --allow-net='0.0.0.0:3001' ./src/server/main.ts", 16 "dependencies": ["build"] 17 }, 18 "compile": { 19 "command": "deno compile --include=./dist --no-check --allow-read=./dist --allow-net='0.0.0.0:3001' ./src/server/main.ts", 20 "dependencies": ["build"] 21 }, 22 "format:imports": "deno run -A npm:eslint --fix 'src/**/*.{ts,tsx}'", 23 "format": "deno run format:imports && deno fmt" 24 }, 25 26 "imports": { 27 "@panva/jose": "jsr:@panva/jose@^6.0.11", 28 "@repo/": "./src/", 29 "@deno/vite-plugin": "npm:@deno/vite-plugin@^1.0.4", 30 "@oak/oak": "jsr:@oak/oak@^17.1.4", 31 "@sitnik/nanoid": "jsr:@sitnik/nanoid@^5.1.5", 32 "@types/react": "npm:@types/react@^19.1.6", 33 "@types/react-dom": "npm:@types/react-dom@^19.1.6", 34 "@typescript-eslint/parser": "npm:@typescript-eslint/parser@^8.34.0", 35 "@vitejs/plugin-react": "npm:@vitejs/plugin-react@^4.4.1", 36 "eslint-plugin-simple-import-sort": "npm:eslint-plugin-simple-import-sort@^12.1.1", 37 "react": "npm:react@^19.1.0", 38 "react-dom": "npm:react-dom@^19.1.0", 39 "react-router-dom": "npm:react-router-dom@^7.5.1", 40 "x/indexeddb": "https://deno.land/x/indexeddb@v1.1.0/ponyfill.ts", 41 "vite": "npm:vite@^6.3.2", 42 "zod": "npm:zod@3", 43 "zustand": "npm:zustand@^5.0.5", 44 "zustand-slices": "npm:zustand-slices@^0.4.0" 45 }, 46 "nodeModulesDir": "auto", 47 48 "compilerOptions": { 49 "types": [ 50 "@types/react-dom", 51 "@types/react" 52 ], 53 "lib": [ 54 "dom", 55 "dom.iterable", 56 "deno.ns", 57 "esnext" 58 ], 59 "jsx": "react-jsx", 60 "jsxImportSource": "react" 61 }, 62 63 "exclude": ["tmp/"], 64 "fmt": { 65 "lineWidth": 110 66 }, 67 "lint": {}, 68 "check": {} 69}