-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdeno.jsonc
68 lines (68 loc) · 2.52 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
{
"workspace": [
"./deno/config",
"./deno/server",
"./deno/storage",
"./deno/migrate",
"./deno/encryption",
"./deno/api"
],
"imports": {
"@planigale/body-parser": "jsr:@planigale/[email protected]",
"@planigale/planigale": "jsr:@planigale/[email protected]",
"@planigale/testing": "jsr:@planigale/[email protected]",
"@planigale/schema": "jsr:@planigale/schema",
"@planigale/sse": "jsr:@planigale/sse",
"@std/assert": "jsr:@std/[email protected]",
"@std/encoding": "jsr:@std/[email protected]",
"@std/path": "jsr:@std/[email protected]",
"argon2": "npm:@node-rs/[email protected]",
"@std/uuid": "jsr:@std/[email protected]",
"mongodb": "npm:[email protected]",
"valibot": "npm:[email protected]",
"eslint-plugin-react":"npm:[email protected]",
"@eslint/js":"npm:@eslint/[email protected]",
"typescript-eslint": "npm:[email protected]",
"eslint-plugin-import": "npm:[email protected]",
"globals": "npm:[email protected]",
"nodemon": "npm:[email protected]",
"link-preview-js": "npm:[email protected]"
},
"fmt": {
"include": [
"deno/**"
],
"exclude": [
"deno/server/uploads/**"
]
},
"lint": {
"include": ["deno/"],
"exclude": ["packages/", "deno/**/__tests__/*", "deno/server/uploads/**"],
"rules": {
"tags": ["recommended"],
"exclude": ["no-unused-vars", "no-explicit-any"]
}
},
"tasks": {
"cache": "deno task -c ./deno/server/deno.jsonc cache",
"dev": "deno task -c ./deno/server/deno.jsonc dev",
"web": "npm run dev:web",
"lint": "deno lint && deno run -A npm:eslint .",
"start": "deno task -c ./deno/server/deno.jsonc start",
"build": "deno task -c ./packages/app/deno.jsonc build",
"migrate": "deno task -c ./deno/migrate/deno.json migrate up",
"migrate:tests": "DATABASE_URL='mongodb://chat:chat@localhost:27017/tests?authSource=admin' deno task migrate",
"test": "DATABASE_URL='mongodb://chat:chat@localhost:27017/tests?authSource=admin' deno test -A",
"ssl": "mkdir -p ssl && openssl req -x509 -newkey rsa:4096 -keyout ssl/key.pem -out ssl/cert.pem -days 365 -nodes -subj '/CN=localhost'",
"types": "npm run types",
"check": "deno run -A npm:eslint . --ignore-pattern=app/src-tauri && deno fmt && deno lint && deno task types && deno task test",
"android:build": "npm run android:build",
"desktop:build": "npm run desktop:build"
},
"compilerOptions": {
"jsx": "react",
"jsxFactory": "Message.create",
"jsxFragmentFactory": "myFragmentFactory"
}
}