-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdeno.json
39 lines (39 loc) · 1.52 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
{
"imports": {
"std/": "https://deno.land/std@0.219.0/",
"lume/": "https://deno.land/x/lume@v2.3.3/",
"html_entities": "https://deno.land/x/html_entities@v1.0/mod.js",
"slug": "https://deno.land/x/slug@v1.1.0/mod.ts",
"cooklang": "https://esm.sh/@cooklang/cooklang-ts@1.2.7"
},
"tasks": {
"lume": "echo \"import 'lume/cli.ts'\" | deno run --unstable-temporal -A -",
"build": "deno task lume",
"serve": "deno task build -s",
"test": "export IOS_SHORTCUT_TOKEN=aaa && export MAC_SHORTCUT_TOKEN=aaa && export ROOT_URL=https://johan.im && TEST=1 deno test --allow-env --location https://johan.im --unstable-temporal",
"api": "deno run --allow-env --unstable-temporal --allow-net --allow-read --allow-write --location https://johan.im --watch api/server.ts",
"api:deploy": "deployctl deploy --env-file=.env.api"
},
"compilerOptions": {
"lib": ["deno.ns", "deno.unstable", "dom", "dom.iterable"],
"strict": true,
"types": ["lume/types.ts", "node"]
},
"lint": {
"rules": {
"exclude": ["no-explicit-any", "no-empty-interface"]
}
},
"fmt": {
"useTabs": false,
"lineWidth": 120,
"singleQuote": true,
"indentWidth": 4
},
"deploy": {
"project": "de2a0b87-9d37-44d0-af4a-785789cba991",
"exclude": ["test", "build", "functions", "src/public", "script", "**/node_modules"],
"include": [],
"entrypoint": "api/server.ts"
}
}