deno.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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 --config tests/ui/deno.json tests/ui/"
  10. },
  11. "lint": {
  12. "rules": {
  13. "tags": [
  14. "fresh",
  15. "recommended"
  16. ]
  17. }
  18. },
  19. "exclude": [
  20. "**/_fresh/*"
  21. ],
  22. "imports": {
  23. "@std/async": "jsr:@std/async@^1.2.0",
  24. "@std/assert": "jsr:@std/assert@^1.0.19",
  25. "@std/crypto": "jsr:@std/crypto@^1.0.5",
  26. "@std/dotenv": "jsr:@std/dotenv@^0.225.6",
  27. "@std/encoding": "jsr:@std/encoding@^1.0.10",
  28. "@std/http": "jsr:@std/http@^1.0.25",
  29. "@types/node": "npm:@types/node@^25.5.2",
  30. "@types/showdown": "npm:@types/showdown@^2.0.6",
  31. "fresh": "jsr:@fresh/core@^2.2.2",
  32. "preact": "npm:preact@^10.27.2",
  33. "@preact/signals": "npm:@preact/signals@^2.5.0",
  34. "showdown": "npm:showdown@^2.1.0",
  35. "@fresh/plugin-vite": "jsr:@fresh/plugin-vite@^1.0.8",
  36. "usid": "npm:usid@^2.0.0",
  37. "vite": "npm:vite@^7.1.3",
  38. "@tailwindcss/vite": "npm:@tailwindcss/vite@^4.2.2",
  39. "tailwindcss": "npm:tailwindcss@^4.2.2",
  40. "jsdom": "npm:jsdom@^26.0.0",
  41. "@testing-library/preact": "npm:@testing-library/preact@^3.2.4",
  42. "utils/": "./utils/"
  43. },
  44. "compilerOptions": {
  45. "lib": [
  46. "dom",
  47. "dom.asynciterable",
  48. "dom.iterable",
  49. "deno.ns"
  50. ],
  51. "jsx": "precompile",
  52. "jsxImportSource": "preact",
  53. "jsxPrecompileSkipElements": [
  54. "a",
  55. "img",
  56. "source",
  57. "body",
  58. "html",
  59. "head",
  60. "title",
  61. "meta",
  62. "script",
  63. "link",
  64. "style",
  65. "base",
  66. "noscript",
  67. "template"
  68. ],
  69. "types": [
  70. "vite/client"
  71. ]
  72. }
  73. }