deno.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "nodeModulesDir": "manual",
  3. "tasks": {
  4. "check": "deno fmt --check . && deno lint . && deno check",
  5. "dev": "vite",
  6. "build": "vite build",
  7. "start": "deno serve -A _fresh/server.js",
  8. "update": "deno run -A -r jsr:@fresh/update .",
  9. "test": "deno test -A --ignore=tests/ui && deno test -A --no-check --node-modules-dir=auto --config tests/ui/deno.json tests/ui/",
  10. "setup": "git config core.hooksPath .githooks && deno install"
  11. },
  12. "lint": {
  13. "rules": {
  14. "tags": [
  15. "fresh",
  16. "recommended"
  17. ]
  18. }
  19. },
  20. "exclude": [
  21. "**/_fresh/*"
  22. ],
  23. "imports": {
  24. "@std/async": "jsr:@std/async@^1.2.0",
  25. "@std/assert": "jsr:@std/assert@^1.0.19",
  26. "@std/crypto": "jsr:@std/crypto@^1.0.5",
  27. "@std/dotenv": "jsr:@std/dotenv@^0.225.6",
  28. "@std/encoding": "jsr:@std/encoding@^1.0.10",
  29. "@std/http": "jsr:@std/http@^1.0.25",
  30. "@types/node": "npm:@types/node@^25.5.2",
  31. "@types/showdown": "npm:@types/showdown@^2.0.6",
  32. "fresh": "jsr:@fresh/core@^2.2.2",
  33. "preact": "npm:preact@^10.27.2",
  34. "@preact/signals": "npm:@preact/signals@^2.5.0",
  35. "showdown": "npm:showdown@^2.1.0",
  36. "@fresh/plugin-vite": "jsr:@fresh/plugin-vite@^1.0.8",
  37. "usid": "npm:usid@^2.0.0",
  38. "vite": "npm:vite@^7.1.3",
  39. "vite-plugin-pwa": "npm:vite-plugin-pwa@^1.0.1",
  40. "@tailwindcss/vite": "npm:@tailwindcss/vite@^4.2.2",
  41. "tailwindcss": "npm:tailwindcss@^4.2.2",
  42. "jsdom": "npm:jsdom@^26.0.0",
  43. "@testing-library/preact": "npm:@testing-library/preact@^3.2.4",
  44. "utils/": "./utils/"
  45. },
  46. "compilerOptions": {
  47. "lib": [
  48. "dom",
  49. "dom.asynciterable",
  50. "dom.iterable",
  51. "deno.ns"
  52. ],
  53. "jsx": "precompile",
  54. "jsxImportSource": "preact",
  55. "jsxPrecompileSkipElements": [
  56. "a",
  57. "img",
  58. "source",
  59. "body",
  60. "html",
  61. "head",
  62. "title",
  63. "meta",
  64. "script",
  65. "link",
  66. "style",
  67. "base",
  68. "noscript",
  69. "template"
  70. ],
  71. "types": [
  72. "vite/client"
  73. ]
  74. }
  75. }