-
Notifications
You must be signed in to change notification settings - Fork 21
/
deno.json
83 lines (83 loc) · 2.04 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
78
79
80
81
82
83
{
"meta":{
"author": "lowlighter (Simon Lecoq)",
"repository":"https://github.com/lowlighter/gracidea",
"license": "https://github.com/lowlighter/gracidea/blob/main/LICENSE"
},
"velociraptor":{
"unstable": true,
"quiet": true,
"allow": {
"net": ["deno.land"]
},
"importMap": "deno.json",
"scripts": {
"fmt": {
"desc": "> format code",
"cmd":"deno fmt"
},
"lint": {
"desc": "> lint code",
"cmd":"deno lint"
},
"test": {
"desc": "> run tests",
"allow": {
"read": "."
},
"cmd": "deno test app/tests"
},
"start": {
"desc": "> start a local server (require a build first)",
"allow": {
"read": ".",
"net": "0.0.0.0:4507"
},
"cmd":"deno run https://deno.land/std/http/file_server.ts app/public"
},
"build": {
"desc": "> build app data, textures, client and assets",
"allow": {
"read": ".",
"run": ["git", "npm", "tar", "which", "wsl"],
"write": ["app/build/cache", "app/public"]
},
"cmd": "deno run app/build/mod.ts"
},
"dev-app":{
"desc": "> rebuild app client and assets",
"cmd":"vr build --app --assets"
},
"dev-map":{
"desc": "> rebuild app diff",
"cmd":"vr build --diff"
}
}
},
"imports": {
"std/": "https://deno.land/[email protected]/",
"x/": "https://deno.land/x/",
"y/": "https://cdn.skypack.dev/",
"app/": "./app/",
"app/client/": "./app/client/js/app/",
"app/cache/pixi.js": "./app/build/cache/pixi.js/package/dist/browser/pixi.min.mjs"
},
"lint": {
"files": {
"include": ["app/"],
"exclude": ["app/build/cache/", "app/public/"]
},
"rules": {
"exclude": ["require-await", "no-async-promise-executor"]
}
},
"fmt": {
"files": {
"include": ["app/"],
"exclude": ["app/build/cache/", "app/public/"]
},
"options": {
"lineWidth": 200
}
}
}