deno.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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"
  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. "utils/": "./utils/"
  41. },
  42. "compilerOptions": {
  43. "lib": [
  44. "dom",
  45. "dom.asynciterable",
  46. "dom.iterable",
  47. "deno.ns"
  48. ],
  49. "jsx": "precompile",
  50. "jsxImportSource": "preact",
  51. "jsxPrecompileSkipElements": [
  52. "a",
  53. "img",
  54. "source",
  55. "body",
  56. "html",
  57. "head",
  58. "title",
  59. "meta",
  60. "script",
  61. "link",
  62. "style",
  63. "base",
  64. "noscript",
  65. "template"
  66. ],
  67. "types": [
  68. "vite/client"
  69. ]
  70. }
  71. }