deno.json 1.4 KB

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