-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdeno.json
More file actions
77 lines (77 loc) · 2.09 KB
/
deno.json
File metadata and controls
77 lines (77 loc) · 2.09 KB
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
73
74
75
76
77
{
"name": "@octo/fresh-session",
"version": "0.9.2",
"exports": "./mod.ts",
"tasks": {
"dev": "deno test -E --watch",
"sample": "deno run -EN --watch sample/main.ts",
"sample:memory": "deno run -EN --watch sample/main.ts memory",
"sample:cookie": "deno run -EN --watch sample/main.ts cookie",
"sample:redis": "deno run -P=with-resource scripts/with-resource.ts -- deno run -EN --watch sample/main.ts redis",
"sample:kv": "deno run -EN --watch sample/main.ts kv",
"sample:mysql": "deno run -P=with-resource scripts/with-resource.ts -- deno run -EN --watch sample/main.ts mysql",
"sample:postgres": "deno run -P=with-resource scripts/with-resource.ts -- deno run -EN --watch sample/main.ts postgres",
"test": "deno run -P=with-resource scripts/with-resource.ts -- deno test -EN",
"test:doc": "deno run -P=with-resource scripts/with-resource.ts -- deno test --doc -EN README.md"
},
"test": {
"include": ["mod_test.ts", "src/**/*_test.ts"]
},
"permissions": {
"with-resource": {
"run": ["docker", "deno"],
"env": [
"MYSQL_DATABASE",
"MYSQL_USER",
"MYSQL_PASSWORD",
"POSTGRES_DATABASE",
"POSTGRES_USER",
"POSTGRES_PASSWORD"
]
}
},
"license": "MIT",
"imports": {
"@octo/fresh-session": "./mod.ts",
"@db/redis": "jsr:@db/redis@^0.40.0",
"@fresh/core": "jsr:@fresh/core@^2.2.0",
"@std/assert": "jsr:@std/assert@1",
"@std/http/cookie": "jsr:@std/http@1/cookie",
"mysql2": "npm:mysql2@^3.16.2",
"pg": "npm:pg@^8.11.5",
"preact": "npm:preact@^10.28.3"
},
"unstable": [
"kv"
],
"compilerOptions": {
"lib": [
"dom",
"dom.asynciterable",
"dom.iterable",
"deno.unstable",
"deno.ns"
],
"jsx": "precompile",
"jsxImportSource": "preact",
"jsxPrecompileSkipElements": [
"a",
"img",
"source",
"body",
"html",
"head",
"title",
"meta",
"script",
"link",
"style",
"base",
"noscript",
"template"
],
"types": [
"vite/client"
]
}
}