forked from Prolifode/deno_rest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdenon.json
95 lines (95 loc) · 2.06 KB
/
denon.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
84
85
86
87
88
89
90
91
92
93
94
95
{
"$schema": "https://deno.land/x/denon/schema.json",
"allow": [
"net",
"env",
"read",
"write"
],
"scripts": {
"start": {
"cmd": "deno run app.ts",
"unstable": false,
"desc": "run server",
"env": {
"ENV": "development"
},
"watch": true,
"tsconfig": "tsconfig.json"
},
"start:docker": {
"cmd": "docker-compose -f docker-compose.yml -f docker-compose.dev.yml up --build",
"unstable": false,
"desc": "run server",
"env": {
"ENV": "development"
},
"watch": true,
"tsconfig": "tsconfig.json"
},
"test": {
"cmd": "deno test",
"desc": "Test the server.",
"unstable": false,
"env": {
"ENV": "test"
},
"watch": false,
"tsconfig": "tsconfig.json"
},
"test:docker": {
"cmd": "docker-compose -f docker-compose.yml -f docker-compose.test.yml up --build --exit-code-from deno-rest --abort-on-container-exit",
"desc": "Test the server in docker container",
"watch": false
},
"test:cov": {
"cmd": "deno test --coverage=./cov",
"desc": "Test Coverage",
"unstable": false,
"env": {
"ENV": "test"
},
"watch": false,
"tsconfig": "tsconfig.json"
},
"prod": {
"cmd": "deno run app.bundle.js",
"desc": "Run the server.",
"unstable": false,
"env": {
"ENV": "production"
},
"watch": false
},
"fmt": {
"cmd": "deno fmt",
"desc": "Format the code.",
"allow": [],
"watch": false
},
"lint": {
"cmd": "deno lint",
"desc": "Code linter for JavaScript and TypeScript",
"unstable": true,
"watch": false,
"allow": []
}
},
"logger": {
"fullscreen": true,
"quiet": false,
"debug": true
},
"watcher": {
"interval": 350,
"exts": ["js", "jsx", "ts", "tsx", "json"],
"match": ["**/*.*"],
"skip": [
"*/.git/*",
"*/.idea/*",
"*/.vscode/*",
"*/.env/*"
],
"legacy": false
}
}