-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeno.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/[email protected]",
"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/[email protected]/",
"@headlessui/react": "https://esm.sh/v135/*@headlessui/[email protected]",
"@mdx-js/mdx": "npm:@mdx-js/[email protected]",
"@preact/signals": "npm:@preact/[email protected]",
"@preact/signals-core": "npm:@preact/[email protected]",
"@std/assert": "jsr:@std/[email protected]",
"@std/fs": "jsr:@std/[email protected]",
"@std/path": "jsr:@std/[email protected]",
"@tabler/icons-preact": "npm:@tabler/[email protected]",
"@tailwindcss/forms": "npm:@tailwindcss/[email protected]",
"@tailwindcss/typography": "npm:@tailwindcss/[email protected]",
"@types/hast": "npm:@types/[email protected]",
"@vendor/": "./vendor/",
"clsx": "npm:[email protected]",
"effect": "npm:[email protected]",
"idb-keyval": "npm:[email protected]",
"openai": "https://deno.land/x/[email protected]/mod.ts",
"openai/": "https://deno.land/x/[email protected]/",
"preact": "npm:[email protected]",
"rehype-mathjax": "npm:[email protected]",
"rehype-raw": "npm:[email protected]",
"rehype-react": "npm:[email protected]",
"rehype-sanitize": "npm:[email protected]",
"remark-frontmatter": "npm:[email protected]",
"remark-gfm": "npm:[email protected]",
"remark-lint-checkbox-content-indent": "npm:[email protected]",
"remark-lint-definition-spacing": "npm:[email protected]",
"remark-lint-heading-increment": "npm:[email protected]",
"remark-lint-linebreak-style": "npm:[email protected]",
"remark-lint-no-consecutive-blank-lines": "npm:[email protected]",
"remark-lint-no-missing-blank-lines": "npm:[email protected]",
"remark-lint-no-tabs": "npm:[email protected]",
"remark-math": "npm:[email protected]",
"remark-mdx-frontmatter": "npm:[email protected]",
"remark-parse": "npm:[email protected]",
"remark-preset-lint-consistent": "npm:[email protected]",
"remark-preset-lint-recommended": "npm:[email protected]",
"remark-rehype": "npm:[email protected]",
"tailwind-scrollbar": "npm:[email protected]",
"tailwindcss": "npm:[email protected]",
"unified": "npm:[email protected]",
"vfile": "npm:[email protected]",
"vfile-matter": "npm:[email protected]",
"vfile-reporter": "npm:[email protected]"
},
"scopes": {
"https://esm.sh/v135/": {
"@floating-ui/core": "npm:@floating-ui/[email protected]",
"@floating-ui/dom": "npm:@floating-ui/[email protected]",
"@floating-ui/react": "https://esm.sh/v135/*@floating-ui/[email protected]",
"@floating-ui/react/": "https://esm.sh/v135/*@floating-ui/[email protected]/",
"@floating-ui/react-dom": "https://esm.sh/v135/*@floating-ui/[email protected]",
"@floating-ui/utils": "npm:@floating-ui/[email protected]",
"@react-aria/focus": "https://esm.sh/v135/*@react-aria/[email protected]",
"@react-aria/interactions": "https://esm.sh/v135/*@react-aria/[email protected]",
"@react-aria/ssr": "https://esm.sh/v135/*@react-aria/[email protected]",
"@react-aria/utils": "https://esm.sh/v135/*@react-aria/[email protected]",
"@react-stately/utils": "https://esm.sh/v135/*@react-stately/[email protected]",
"@react-types/shared": "npm:@react-types/[email protected]",
"@preact/signals-react": "npm:@preact/[email protected]",
"@swc/helpers": "npm:@swc/[email protected]",
"@tanstack/react-virtual": "https://esm.sh/v135/*@tanstack/[email protected]",
"@tanstack/virtual-core": "npm:@tanstack/[email protected]",
"@types/react": "npm:[email protected]/compat",
"client-only": "npm:[email protected]",
"node:process": "https://esm.sh/v135/*node_process.js",
"react-dom": "npm:[email protected]/compat",
"react": "npm:[email protected]/compat",
"react/jsx-runtime": "npm:[email protected]/jsx-runtime",
"react-dom/test-utils": "npm:[email protected]/test-utils",
"tabbable": "npm:[email protected]"
}
},
"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"
}
}