-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path:deno.json
executable file
·77 lines (77 loc) · 2.08 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
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
{
"$id": "https://deno.land/x/deno/cli/schemas/config-file.v1.json",
"$schema": "http://json-schema.org/draft-07/schema",
"description": "A JSON representation of a Deno configuration file.",
"compilerOptions": {
"allowJs": true,
"esModuleInterop": true,
"experimentalDecorators": false,
"inlineSourceMap": true,
"isolatedModules": true,
"jsx": "react",
"lib": ["deno.window", "dom.asynciterable", "deno.worker"],
"module": "esnext",
"moduleDetection": "force",
"strict": true,
"target": "esnext",
"useDefineForClassFields": true,
},
"tasks": {
"dev": "deno run --watch main.ts",
"start": "deno run -A --watch=static/,routes/,data/ dev.ts",
},
"lint": {
// only format the src/ directory
"include": ["src/", "src/**/*.js"],
// don't lint the dist/ folder
// don't format the "fixtures" directory,
// but do format "fixtures/scripts"
"exclude": [
"fixtures",
"!fixtures/scripts",
"src/testdate/",
"src/fixures/**/*.ts",
],
"rules": {
"tags": ["recommended"],
"include": ["ban-untagged-todo"],
"exclude": ["no-unused-vars"],
},
},
"fmt": {
"useTabs": true,
"lineWidth": 80,
"indentWidth": 4,
"semiColons": true,
"singleQuote": true,
"proseWrap": "preserve",
"include": ["src/"],
"exclude": ["src/testdate/", "src/fixures/**/*.ts"],
},
"lock": false,
"noModulesDir": true,
"unstable": ["webgpu"],
"npmRegestry": "https://mycompany.net/artifactory/api/npm/virtual-npm",
"test": {
"include": ["src/"],
"exclude": ["src/testdata/", "src/fixtures/**/*.ts"],
},
"imports": {
// The dollar sign in front of "assert" isn't special - it's an optional
// convention to show that $assert is an alias set up in an import map
"$assert": "jsr:@std/assert@^1.0.0",
"oak": "jsr:@oak/oak",
},
"publish": {
"exclude": [
// include the .gitignored dist folder
"!dist/",
],
"include": [
// include the .gitignored dist folder
"dist/",
"README.md",
"deno.json",
],
},
}