deno.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "lock": false,
  3. "tasks": {
  4. "check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx",
  5. "cli": "echo \"import '\\$fresh/src/dev/cli.ts'\" | deno run --unstable -A -",
  6. "manifest": "deno task cli manifest $(pwd)",
  7. "start": "deno run -A --watch=static/,routes/ dev.ts",
  8. "build": "deno run -A dev.ts build",
  9. "preview": "deno run -A main.ts",
  10. "update": "deno run -A -r https://fresh.deno.dev/update ."
  11. },
  12. "lint": {
  13. "rules": {
  14. "tags": ["fresh", "recommended"]
  15. }
  16. },
  17. "exclude": ["**/_fresh/*"],
  18. "imports": {
  19. "$fresh/": "https://deno.land/x/fresh@1.6.5/",
  20. "preact": "https://esm.sh/preact@10.19.2",
  21. "preact/": "https://esm.sh/preact@10.19.2/",
  22. "$std/": "https://deno.land/std@0.211.0/",
  23. "$sqlite/": "https://deno.land/x/sqlite@v3.8/",
  24. "$usid/": "https://deno.land/x/usid@2.0.0/",
  25. "$encoding/": "https://deno.land/std@0.211.0/encoding/",
  26. "$crypto/": "https://deno.land/std@0.211.0/crypto/",
  27. "$async/": "https://deno.land/std@0.211.0/async/",
  28. "$http/": "https://deno.land/std@0.211.0/http/",
  29. "showdown": "https://esm.sh/showdown@2.1.0",
  30. "utils/": "./utils/"
  31. },
  32. "compilerOptions": {
  33. "jsx": "react-jsx",
  34. "jsxImportSource": "preact"
  35. }
  36. }