-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeno.jsonc
39 lines (39 loc) · 959 Bytes
/
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
{
"version": "0.0.1",
// e.g. `deno task cache`
// Other deno commands: lint, fmt,
"tasks": {
"build": "deno task cache && deno lint && deno fmt && deno check lib/main.ts",
"cache": "deno cache lib/main.ts",
"gen-ast": "deno run --allow-run --allow-read --allow-write tools/generateAst.ts ./lib/",
"print-ast": "deno run --allow-read --allow-write lib/astPrinter.ts",
"repl": "deno run --allow-read --watch lib/main.ts",
"file": "deno run --allow-read --watch lib/main.ts --file lox/add.lox",
"run": "deno run --allow-read lib/main.ts"
},
"compilerOptions": {
"strict": true
},
"lint": {
"include": [
"lib/",
"tools/"
],
"rules": {
"tags": [
"recommended"
]
}
},
"fmt": {
"useTabs": false,
"lineWidth": 80,
"indentWidth": 2,
"semiColons": false,
"singleQuote": true,
"include": [
"lib/**/*.ts",
"tools/**/*.ts"
]
}
}