Repository navigation
Expand file tree
/
Copy pathdeno.json
More file actions
101 lines (97 loc) 路 4.82 KB
/
Copy pathdeno.json
File metadata and controls
101 lines (97 loc) 路 4.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"lock": true,
"unstable": ["no-legacy-abort"],
"tasks": {
"execute-with-permissions": "deno run --allow-env --allow-net --allow-sys=networkInterfaces,hostname,cpus,homedir --allow-read=.,/ --allow-write=data-files,/ --allow-run",
"check": "deno fmt --check && deno lint && deno check .",
"build": "deno task download-frontend-imports && deno task build-babel && deno task build-tailwind",
"build-babel": "deno run --allow-env --allow-ffi --allow-sys --allow-read --allow-write=public/components npm:@babel/cli@7.28.6/babel ./components --out-dir ./public/components --extensions \".ts,.tsx\"",
"build-tailwind": "deno install --allow-scripts npm:tailwindcss@4.3.3 npm:@tailwindcss/cli@4.3.3 && deno run --allow-env --allow-read --allow-sys --allow-ffi --vendor --unstable-detect-cjs --allow-write=public/css --allow-scripts npm:@tailwindcss/cli@4.3.3 -i ./public/css/tailwind-input.css -o ./public/css/tailwind.css",
"preview": "deno task execute-with-permissions ./main.ts",
"test": "IS_TESTING=true deno test --parallel --allow-all --check",
"migrate-db": "deno task execute-with-permissions ./migrate-db.ts",
"watch-app": "deno task execute-with-permissions --watch --watch-exclude=./public/css/tailwind.css,./public/components ./main.ts",
"watch-babel": "deno run --allow-env --allow-ffi --allow-sys --allow-read --allow-write=public/components npm:@babel/cli@7.28.6/babel ./components --out-dir ./public/components --extensions \".ts,.tsx\" --watch",
"watch-tailwind": "deno install --allow-scripts npm:tailwindcss@4.3.3 npm:@tailwindcss/cli@4.3.3 && deno run --allow-env --allow-read --allow-sys --allow-ffi --vendor --unstable-detect-cjs --allow-write=public/css --allow-scripts npm:@tailwindcss/cli@4.3.3 -w -i ./public/css/tailwind-input.css -o ./public/css/tailwind.css",
"download-frontend-imports": "deno run --allow-read=./deno.json,./public/js --allow-write=./public/js --allow-net=esm.sh ./download-frontend-imports.ts",
"start": {
"dependencies": ["watch-tailwind", "watch-babel", "watch-app"]
}
},
"fmt": {
"useTabs": false,
"lineWidth": 120,
"indentWidth": 2,
"singleQuote": true,
"proseWrap": "preserve",
"exclude": ["README.md", "lib/models/dav.js", "public/css/tailwind.css"]
},
"lint": {
"rules": {
"tags": ["recommended"],
"exclude": ["no-explicit-any", "no-window"]
},
"exclude": ["lib/models/dav.js"]
},
"exclude": ["./node_modules/*", "./public/js/*", "./public/components/*"],
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact",
"lib": [
"dom",
"dom.iterable",
"dom.asynciterable",
"deno.ns"
]
},
"nodeModulesDir": "auto",
"imports": {
"/": "./",
"./": "./",
"@libs/xml": "https://deno.land/x/xml@2.1.3/mod.ts",
"chart.js": "https://esm.sh/chart.js@4.5.1",
"chart.js/auto": "https://esm.sh/chart.js@4.5.1/auto",
"preact": "https://esm.sh/preact@10.29.7",
"preact/jsx-runtime": "https://esm.sh/preact@10.29.7/jsx-runtime",
"preact/hooks": "https://esm.sh/preact@10.29.7/hooks",
"preact-render-to-string": "https://esm.sh/preact-render-to-string@6.6.7?deps=preact@10.29.7",
"@preact/signals": "https://esm.sh/*@preact/signals@2.9.0?deps=preact@10.29.7",
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.14.4?deps=preact@10.29.7",
"@simplewebauthn/browser": "https://esm.sh/@simplewebauthn/browser@13.3.0",
"@std/path": "https://esm.sh/jsr/@std/path@1.1.6",
"deno/emit": "jsr:@deno/emit@0.46.0",
"postgres": "jsr:@db/postgres@0.19.5",
"@b-fuze/deno-dom": "jsr:@b-fuze/deno-dom@0.1.56",
"@hexagon/croner": "jsr:@hexagon/croner@10.0.1",
"@mikaelporttila/rss": "jsr:@mikaelporttila/rss@1.1.3",
"@libs/qrcode": "jsr:@libs/qrcode@3.0.1",
"@simplewebauthn/server": "jsr:@simplewebauthn/server@13.3.2",
"@std/assert": "jsr:@std/assert@1.0.19",
"@std/dotenv": "jsr:@std/dotenv@0.225.7",
"@std/encoding": "jsr:@std/encoding@1.0.10",
"@std/fs": "jsr:@std/fs@1.0.24",
"@std/http": "jsr:@std/http@1.1.2",
"jimp": "npm:jimp@1.6.1",
"mrmime": "npm:mrmime@2.0.1",
"nodemailer": "npm:nodemailer@8.0.11",
"openid-client": "npm:openid-client@6.8.4",
"otpauth": "npm:otpauth@9.5.1",
"tailwindcss": "npm:tailwindcss@4.3.3",
"@tailwindcss/cli": "npm:@tailwindcss/cli@4.3.3",
"@babel/cli": "npm:@babel/cli@7.28.6",
"@babel/core": "npm:@babel/core@7.29.7",
"@babel/plugin-transform-react-jsx": "npm:@babel/plugin-transform-react-jsx@7.28.6",
"@babel/preset-react": "npm:@babel/preset-react@7.28.5",
"@babel/preset-typescript": "npm:@babel/preset-typescript@7.28.5"
},
"frontendImports": [
"chart.js",
"chart.js/auto",
"preact",
"preact/hooks",
"@preact/signals",
"@preact/signals-core",
"@simplewebauthn/browser",
"@std/path"
]
}