-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.json
More file actions
75 lines (66 loc) · 1.93 KB
/
deno.json
File metadata and controls
75 lines (66 loc) · 1.93 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
{
"$schema": "https://deno.land/x/deno/cli/schemas/config-file.v1.json",
"name": "@scope/package-name",
"version": "0.1.0",
"exports": "./mod.ts",
"tasks": {
"dev": "deno run --watch --allow-net --allow-read --allow-env main.ts",
"start": "deno run --allow-net --allow-read --allow-env main.ts",
"test": "deno test --allow-read --allow-env",
"test:coverage": "deno test --coverage=coverage --allow-read --allow-env",
"coverage:report": "deno coverage coverage --lcov > coverage.lcov",
"lint": "deno lint",
"fmt": "deno fmt",
"check": "deno check main.ts",
"compile": "deno compile --allow-net --allow-read --allow-env --output=bin/app main.ts"
},
"imports": {
"@std/assert": "jsr:@std/assert@^1.0.0",
"@std/testing": "jsr:@std/testing@^1.0.0",
"@std/path": "jsr:@std/path@^1.0.0",
"@std/fs": "jsr:@std/fs@^1.0.0",
"@std/http": "jsr:@std/http@^1.0.0",
"@std/dotenv": "jsr:@std/dotenv@^0.225.0",
"oak": "jsr:@oak/oak@^17.0.0",
"hono": "jsr:@hono/hono@^4.5.0"
},
"compilerOptions": {
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noUnusedParameters": true
},
"lint": {
"include": ["src/", "tests/"],
"exclude": ["dist/", "coverage/"],
"rules": {
"tags": ["recommended"],
"include": [
"ban-untagged-todo",
"explicit-function-return-type",
"no-await-in-loop"
],
"exclude": []
}
},
"fmt": {
"include": ["src/", "tests/"],
"exclude": ["dist/", "coverage/"],
"useTabs": false,
"lineWidth": 100,
"indentWidth": 2,
"singleQuote": true,
"proseWrap": "preserve",
"semiColons": true
},
"test": {
"include": ["tests/", "**/*_test.ts", "**/*.test.ts"]
},
"publish": {
"include": ["mod.ts", "src/", "LICENSE", "README.md"],
"exclude": ["tests/", "**/*_test.ts"]
},
"lock": true,
"nodeModulesDir": "auto"
}