-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.jsonc
72 lines (72 loc) · 4.06 KB
/
deno.jsonc
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
{
// TODO use this workspaces feature as soon as this is supported by denoland.vscode-deno
// As long as this is not supported, we need to place all imports in this file instead of 'telegram-bot/deno.jsonc' and 'beabee-client/deno.jsonc'
// See https://github.com/denoland/deno/issues/21769
"workspaces": [
"telegram-bot",
"beabee-client",
"beabee-common"
],
"name": "beabee-telegram-workspace",
"version": "0.3.3",
"compilerOptions": {
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"jsxFactory": "h",
"jsxFragmentFactory": "Fragment"
},
"imports": {
"alosaur/": "https://deno.land/x/[email protected]/",
"std/": "https://deno.land/[email protected]/",
"typeorm": "npm:[email protected]",
"sqlite3": "https://deno.land/x/[email protected]/mod.ts",
"@beabee/beabee-common": "./beabee-common/mod.ts",
"@beabee/beabee-client": "../beabee-client/mod.ts",
"date-fns": "npm:[email protected]",
"https://lib.deno.dev/x/grammy@^1.20/": "https://lib.deno.dev/x/grammy@^1.26.0/",
"https://deno.land/x/[email protected]/": "https://deno.land/x/[email protected]/",
"https://deno.land/x/[email protected]/": "https://deno.land/x/[email protected]/"
},
"scopes": {
"https://raw.githubusercontent.com/Zhomart/dex/": {
"https://deno.land/std/": "https://deno.land/[email protected]/"
}
},
"tasks": {
"dev": "cd telegram-bot && deno task dev",
"start": "cd telegram-bot && deno task start",
"build": "deno task build:beabee-common && deno task build:beabee-client",
"build:beabee-client": "cd beabee-client && deno task build",
"build:beabee-common": "cd beabee-common && deno task build",
"test": "deno task test:telegram-bot && deno task test:beabee-client && deno task test:beabee-common",
"test:telegram-bot": "cd telegram-bot && deno task test",
"test:beabee-client": "cd beabee-client && deno task test",
"test:beabee-common": "cd beabee-common && deno task test",
"lint": "deno task lint:telegram-bot && deno task lint:beabee-client && deno task lint:beabee-common",
"lint:telegram-bot": "cd telegram-bot && deno task lint",
"lint:beabee-client": "cd beabee-client && deno task lint",
"lint:beabee-common": "cd beabee-common && deno task lint",
"format": "deno task format:root && deno task format:telegram-bot && deno task format:beabee-client && deno task format:beabee-common",
"format:root": "deno fmt",
"format:telegram-bot": "cd telegram-bot && deno task format",
"format:beabee-client": "cd beabee-client && deno task format",
"format:beabee-common": "cd beabee-common && deno task format",
"check": "deno task check:telegram-bot && deno task check:beabee-client && deno task check:beabee-common",
"check:telegram-bot": "cd telegram-bot && deno task check",
"check:beabee-client": "cd beabee-client && deno task check",
"check:beabee-common": "cd beabee-common && deno task check",
// TODO Add check:types, see https://github.com/denoland/deno/issues/22353
"cache": "deno task cache:telegram-bot && deno task cache:beabee-common && deno task cache:beabee-client",
"cache:telegram-bot": "cd telegram-bot && deno task cache",
"cache:beabee-client": "cd beabee-client && npm install && deno task cache",
"cache:beabee-common": "cd beabee-common && npm install && deno task cache",
"generate:index": "deno task generate:index:telegram-bot && deno task generate:index:beabee-client && deno task generate:index:beabee-common",
"generate:index:telegram-bot": "cd telegram-bot && deno task generate:index",
"generate:index:beabee-client": "cd beabee-client && deno task generate:index",
"generate:index:beabee-common": "cd beabee-common && deno task generate:index",
"i18n": "cd telegram-bot && deno task i18n",
"docker:build": "docker build -t beabee/telegram-bot:latest . && docker tag beabee/telegram-bot:latest beabee/telegram-bot:0.3.3",
"docker:start": "docker run -it --init -p 3003:3003 beabee/telegram-bot:latest",
"docker:push": "docker push beabee/telegram-bot:latest && docker push beabee/telegram-bot:0.3.3"
}
}