-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.json
64 lines (64 loc) · 2.16 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
{
"lock": false,
"name": "Filmpolitiet API",
"version": "1.0.0",
"changelog": "https://git.sr.ht/~timharek/filmpolitiet-api/tree/main/item/CHANGELOG.md",
"tasks": {
"dev": "deno run -A --watch=static/,routes/ dev.ts",
"start": "deno run -A main.ts",
"setup:hooks": "deno run -A -r https://deno.land/x/githooks/githooks.ts",
"setup:srht": "git config format.subjectPrefix 'PATCH filmpolitiet-api' && git config sendemail.to '~timharek/[email protected]' && git config sendemail.validate true",
"check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx",
"build": "deno run -A dev.ts build",
"preview": "deno run -A main.ts",
"test": "DB_PATH='' deno test -A"
},
"githooks": {
"pre-commit": "check"
},
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact"
},
"lint": {
"rules": {
"tags": [
"recommended",
"fresh"
]
}
},
"fmt": {
"useTabs": false,
"lineWidth": 80,
"indentWidth": 2,
"proseWrap": "preserve"
},
"imports": {
"$fresh/": "https://deno.land/x/[email protected]/",
"@deno/gfm": "jsr:@deno/gfm@^0.8.2",
"@libs/xml": "jsr:@libs/xml@^5.2.0",
"@preact/signals": "https://esm.sh/*@preact/[email protected]",
"@preact/signals-core": "https://esm.sh/*@preact/[email protected]",
"@std/assert": "jsr:@std/assert@^0.225.3",
"@std/dotenv": "jsr:@std/dotenv@^0.224.0",
"@std/front-matter": "jsr:@std/front-matter@^0.224.1",
"@std/html": "jsr:@std/html@^0.224.2",
"@twind/": "https://esm.sh/@twind/",
"@twind/core": "https://esm.sh/@twind/[email protected]",
"@twind/preset-tailwind": "https://esm.sh/@twind/[email protected]/",
"deno_dom": "https://deno.land/x/[email protected]/deno-dom-wasm.ts",
"preact": "https://esm.sh/[email protected]",
"preact-render-to-string": "https://esm.sh/*[email protected]",
"preact/": "https://esm.sh/[email protected]/",
"sqlite": "https://deno.land/x/[email protected]/mod.ts",
"zod": "npm:[email protected]",
"zod-form-data": "npm:[email protected]"
},
"exclude": [
"**/_fresh/*",
"output",
"**/*.json",
"**/*.md"
]
}