-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.json
48 lines (48 loc) · 1.37 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
{
"tasks": {
"dev": "deno run --watch --allow-read --allow-write main.ts",
"start": "deno run --allow-read --allow-write main.ts",
"test": "deno test --allow-read",
"test:watch": "deno test --watch --allow-read",
"compile": "deno compile --allow-read --allow-write --allow-run -o bin/pgo main.ts",
"lint": "deno lint **/*.ts",
"fmt": "deno fmt **/*.ts",
"check": "deno check **/*.ts"
},
"imports": {
"@/": "./src/",
"std/": "https://deno.land/[email protected]/"
},
"compilerOptions": {
"strict": true,
"lib": ["deno.ns", "deno.window", "deno.unstable"],
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"useUnknownInCatchVariables": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"exactOptionalPropertyTypes": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true
},
"lint": {
"rules": {
"tags": ["recommended"]
},
"exclude": ["dist", "node_modules"]
},
"fmt": {
"indentWidth": 2,
"semiColons": true,
"proseWrap": "preserve",
"include": ["src/"],
"exclude": ["dist", "node_modules"]
}
}