-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.json
139 lines (139 loc) · 6.24 KB
/
deno.json
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"lock": false,
"tasks": {
"check": "deno task lint & deno task typecheck",
"lint": "deno lint & deno task biome:check",
"ci": "deno lint & deno task biome:ci & deno task typecheck",
"typecheck": "deno check src/**/*.ts src/**/*.tsx tool/**/*.ts",
"test": "deno test --allow-env --allow-read --coverage=cov/",
"test:coverage": "deno coverage --lcov cov/ > cov/cov.lcov",
"test:coverage:genhtml": "genhtml -o cov/html cov/cov.lcov",
"manifest": "deno task cli manifest $(pwd)",
"start": "deno run --env -A --watch=static/ src/dev.ts",
"build": "deno task compile:mdx && deno run --env -A src/dev.ts build",
"preview": "deno run --env -A src/main.ts",
"update": "deno run -A -r https://fresh.deno.dev/update .",
"esm": "deno run -A https://esm.sh/v135",
"esm:add": "deno task esm add",
"esm:update": "deno task esm update",
"esm:remove": "deno task esm remove",
"biome": "deno run -A npm:@biomejs/biome@1.9.4",
"biome:ci": "deno task biome ci --error-on-warnings",
"biome:check": "deno task biome check --error-on-warnings",
"compile:mdx": "deno run -A tool/compile-mdx.ts"
},
"imports": {
"$fresh/": "https://deno.land/x/fresh@1.7.3/",
"@headlessui/react": "https://esm.sh/v135/*@headlessui/react@2.1.10",
"@mdx-js/mdx": "npm:@mdx-js/mdx@3.1.0",
"@preact/signals": "npm:@preact/signals@1.3.0",
"@preact/signals-core": "npm:@preact/signals-core@1.8.0",
"@std/assert": "jsr:@std/assert@1.0.6",
"@std/fs": "jsr:@std/fs@1.0.4",
"@std/path": "jsr:@std/path@1.0.6",
"@tabler/icons-preact": "npm:@tabler/icons-preact@3.19.0",
"@tailwindcss/forms": "npm:@tailwindcss/forms@0.5.9",
"@tailwindcss/typography": "npm:@tailwindcss/typography@0.5.15",
"@types/hast": "npm:@types/hast@3.0.4",
"@vendor/": "./vendor/",
"clsx": "npm:clsx@2.1.1",
"effect": "npm:effect@3.10.12",
"idb-keyval": "npm:idb-keyval@6.2.1",
"openai": "https://deno.land/x/openai@v4.50.0/mod.ts",
"openai/": "https://deno.land/x/openai@v4.50.0/",
"preact": "npm:preact@10.24.3",
"rehype-mathjax": "npm:rehype-mathjax@6.0.0",
"rehype-raw": "npm:rehype-raw@7.0.0",
"rehype-react": "npm:rehype-react@8.0.0",
"rehype-sanitize": "npm:rehype-sanitize@6.0.0",
"remark-frontmatter": "npm:remark-frontmatter@5.0.0",
"remark-gfm": "npm:remark-gfm@4.0.0",
"remark-lint-checkbox-content-indent": "npm:remark-lint-checkbox-content-indent@5.0.0",
"remark-lint-definition-spacing": "npm:remark-lint-definition-spacing@4.0.0",
"remark-lint-heading-increment": "npm:remark-lint-heading-increment@4.0.0",
"remark-lint-linebreak-style": "npm:remark-lint-linebreak-style@4.0.0",
"remark-lint-no-consecutive-blank-lines": "npm:remark-lint-no-consecutive-blank-lines@5.0.0",
"remark-lint-no-missing-blank-lines": "npm:remark-lint-no-missing-blank-lines@4.0.0",
"remark-lint-no-tabs": "npm:remark-lint-no-tabs@4.0.0",
"remark-math": "npm:remark-math@6.0.0",
"remark-mdx-frontmatter": "npm:remark-mdx-frontmatter@5.0.0",
"remark-parse": "npm:remark-parse@11.0.0",
"remark-preset-lint-consistent": "npm:remark-preset-lint-consistent@6.0.0",
"remark-preset-lint-recommended": "npm:remark-preset-lint-recommended@7.0.0",
"remark-rehype": "npm:remark-rehype@11.1.1",
"tailwind-scrollbar": "npm:tailwind-scrollbar@3.1.0",
"tailwindcss": "npm:tailwindcss@3.4.14",
"unified": "npm:unified@11.0.5",
"vfile": "npm:vfile@6.0.3",
"vfile-matter": "npm:vfile-matter@5.0.0",
"vfile-reporter": "npm:vfile-reporter@8.1.1"
},
"scopes": {
"https://esm.sh/v135/": {
"@floating-ui/core": "npm:@floating-ui/core@1.6.8",
"@floating-ui/dom": "npm:@floating-ui/dom@1.6.11",
"@floating-ui/react": "https://esm.sh/v135/*@floating-ui/react@0.26.25",
"@floating-ui/react/": "https://esm.sh/v135/*@floating-ui/react@0.26.25/",
"@floating-ui/react-dom": "https://esm.sh/v135/*@floating-ui/react-dom@2.1.2",
"@floating-ui/utils": "npm:@floating-ui/utils@0.2.8",
"@react-aria/focus": "https://esm.sh/v135/*@react-aria/focus@3.18.4",
"@react-aria/interactions": "https://esm.sh/v135/*@react-aria/interactions@3.22.4",
"@react-aria/ssr": "https://esm.sh/v135/*@react-aria/ssr@3.9.6",
"@react-aria/utils": "https://esm.sh/v135/*@react-aria/utils@3.25.3",
"@react-stately/utils": "https://esm.sh/v135/*@react-stately/utils@3.10.4",
"@react-types/shared": "npm:@react-types/shared@3.25.0",
"@preact/signals-react": "npm:@preact/signals@1.3.0",
"@swc/helpers": "npm:@swc/helpers@0.5.13",
"@tanstack/react-virtual": "https://esm.sh/v135/*@tanstack/react-virtual@3.10.8",
"@tanstack/virtual-core": "npm:@tanstack/virtual-core@3.10.8",
"@types/react": "npm:preact@10.24.3/compat",
"client-only": "npm:client-only@0.0.1",
"node:process": "https://esm.sh/v135/*node_process.js",
"react-dom": "npm:preact@10.24.3/compat",
"react": "npm:preact@10.24.3/compat",
"react/jsx-runtime": "npm:preact@10.24.3/jsx-runtime",
"react-dom/test-utils": "npm:preact@10.24.3/test-utils",
"tabbable": "npm:tabbable@6.2.0"
}
},
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact",
"strict": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noImplicitOverride": true,
"exactOptionalPropertyTypes": true,
"noUncheckedIndexedAccess": true,
"noPropertyAccessFromIndexSignature": true,
"noUnusedLocals": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
"noUnusedParameters": true,
"useUnknownInCatchVariables": true
},
"nodeModulesDir": "auto",
"lint": {
"rules": {
"tags": ["fresh", "recommended"],
"include": [
"ban-untagged-todo",
"explicit-module-boundary-types",
"guard-for-in",
"no-await-in-loop",
"no-external-import",
"no-implicit-declare-namespace-export",
"no-non-null-asserted-optional-chain",
"no-sync-fn-in-async-fn",
"no-throw-literal"
]
}
},
"exclude": ["**/_fresh/*", "**/*.gen.ts", "src/content/"],
"deploy": {
"project": "b28334c7-f98b-42e1-aa61-15af53a0ffc0",
"exclude": ["**/node_modules"],
"include": [],
"entrypoint": "src/main.ts"
}
}