deno.json 1.9 KB

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