-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.json
55 lines (55 loc) · 3.01 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
{
"tasks": {
"stop": "pm2 stop aynrandbot",
"start": "deno task build && DENO_DEPLOYMENT_ID=\"$(git rev-parse HEAD)\" pm2 start --interpreter='deno' --interpreter-args='run --allow-import --allow-sys --allow-net --allow-read --allow-env --allow-run --allow-write' --name aynrandbot main.ts && pm2 logs aynrandbot",
"logs": "pm2 logs aynrandbot",
"reload": "deno task build && pm2 reload aynrandbot && pm2 logs aynrandbot",
"delete": "pm2 delete aynrandbot",
"check": "deno check --allow-import main.ts dev.ts",
"update": "deno run -A -r https://fresh.deno.dev/update .",
"run": "deno run --allow-import --allow-net --allow-sys --allow-read --allow-env --allow-run --allow-write main.ts",
"watch": "deno run --watch --allow-import --allow-sys --allow-net --allow-read --allow-env --allow-run --allow-write dev.ts",
"dev": "deno run --watch --allow-import --allow-sys --allow-net --allow-read --allow-env --allow-run --allow-write dev.ts",
"build": "deno run -A dev.ts build",
"preview": "deno run -A main.ts",
"run:molt": "deno run --allow-import --allow-env --allow-read --allow-write=. --allow-run=git,deno --allow-net=deno.land,esm.sh,cdn.jsdelivr.net https://deno.land/x/molt/cli.ts",
"update_deps": "deno task -q run:molt check ./**/*.ts"
},
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact"
},
"imports": {
"@preact/signals-core": "https://esm.sh/*@preact/[email protected]",
"@preact/signals": "https://esm.sh/*@preact/[email protected]",
"$fresh/": "https://deno.land/x/[email protected]/",
"bcrypt": "https://deno.land/x/[email protected]/mod.ts",
"croner": "https://deno.land/x/[email protected]/dist/croner.js",
"dayjs/": "https://deno.land/x/[email protected]/",
"duplicatedFilesCleaner": "https://deno.land/x/[email protected]/mod.ts",
"escape_html": "https://deno.land/x/[email protected]/mod.ts",
"fresh-session/": "https://deno.land/x/[email protected]/",
"grammy/": "https://deno.land/x/[email protected]/",
"lodash": "https://deno.land/x/[email protected]/mod.ts",
"masto": "npm:[email protected]",
"mongo": "https://deno.land/x/[email protected]/mod.ts",
"preact-render-to-string": "https://esm.sh/*[email protected]",
"preact": "https://esm.sh/[email protected]",
"preact/": "https://esm.sh/[email protected]/",
"react-icons/ai": "https://cdn.jsdelivr.net/gh/urielch/[email protected]/mod.ts",
"react-icons/bs": "https://cdn.jsdelivr.net/gh/urielch/[email protected]/mod.ts",
"react-icons/fi": "https://cdn.jsdelivr.net/gh/urielch/[email protected]/mod.ts",
"shuffle": "https://deno.land/x/[email protected]/mod.ts",
"sleep": "https://deno.land/x/[email protected]/mod.ts",
"std/": "https://deno.land/[email protected]/",
"twind": "https://esm.sh/[email protected]",
"twind/": "https://esm.sh/[email protected]/",
"web_bson": "https://deno.land/x/[email protected]/mod.js"
},
"lint": {
"rules": {
"tags": ["fresh", "recommended"]
}
},
"exclude": ["**/_fresh/*"]
}