-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.json
79 lines (79 loc) · 2.28 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
{
"lock": false,
"tasks": {
"start": "deno run -A main.ts",
"dev": "deno run -A --watch=components/,islands/,routes/,utils/,deno.json,main.ts,dev.ts,fresh.config.ts,tailwind.config.ts dev.ts --no-clear-screen",
"test": "deno test --allow-all --no-check --doc --allow-none",
"build": "deno run -A tasks/generatePageScreenshots.ts && deno run -A tasks/generateSheetPreviewImages.ts && deno run -A dev.ts build",
"check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/* /* /*.tsx",
"update": "deno run -A -r https://fresh.deno.dev/update .",
"preview": "deno run -A main.ts"
},
"lint": {
"rules": {
"tags": [
"recommended",
"fresh"
],
"include": [
"ban-untagged-todo"
],
"exclude": [
"no-unused-vars"
]
},
"exclude": [
"static/"
]
},
"fmt": {
"useTabs": true,
"lineWidth": 100,
"indentWidth": 4,
"proseWrap": "preserve",
"singleQuote": true,
"exclude": [
"static/"
]
},
"test": {
"exclude": [
"static"
]
},
"compilerOptions": {
"allowJs": true,
"checkJs": true,
"strict": true,
"noUnusedLocals": false,
"noUnusedParameters": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"jsx": "react-jsx",
"jsxImportSource": "preact"
},
"nodeModulesDir": true,
"imports": {
"@/": "./",
"$fresh/": "https://deno.land/x/fresh@1.6.8/",
"$std/": "https://deno.land/std@0.150.0/",
"$testing/": "https://deno.land/std@0.150.0/testing/",
"preact": "https://esm.sh/preact@10.19.6",
"preact/": "https://esm.sh/preact@10.19.6/",
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1",
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
"fresh_seo": "https://deno.land/x/fresh_seo@1.0.1/mod.ts",
"@tabler/icons/": "https://deno.land/x/tabler_icons_tsx@0.0.5/tsx/",
"gfm": "https://deno.land/x/gfm@0.6.0/mod.ts",
"speed_highlight_js/": "https://unpkg.com/@speed-highlight/core@1.2.6/dist/",
"pptr": "https://deno.land/x/pptr@1.2.0/mod.ts",
"tailwindcss": "npm:tailwindcss@3.4.1",
"tailwindcss/plugin": "npm:tailwindcss@3.4.1/plugin.js",
"tailwindcss/colors": "npm:tailwindcss@3.4.1/colors.js",
"imagescript": "https://deno.land/x/imagescript@1.3.0/mod.ts",
"pdfjs-serverless": "https://esm.sh/pdfjs-serverless@0.4.2"
},
"exclude": [
"**/_fresh/*"
]
}