-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.json
More file actions
executable file
·94 lines (94 loc) · 3.02 KB
/
deno.json
File metadata and controls
executable file
·94 lines (94 loc) · 3.02 KB
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
{
"compilerOptions": {
"types": [
"lume/types.ts"
]
},
"fmt": {
"include": [
"src/",
"config/lume.config.ts",
"deno.json"
],
"useTabs": false,
"lineWidth": 120,
"indentWidth": 2,
"semiColons": true
},
"lint": {
"include": [
"src/",
"config/lume.config.ts",
"deno.json"
]
},
"imports": {
"@gnome/exec": "jsr:@gnome/exec@^0.6.0",
"@std/assert": "jsr:@std/assert@^1.0.19",
"@std/datetime": "jsr:@std/datetime@^0.225.7",
"@std/dotenv": "jsr:@std/dotenv@^0.225.6",
"@std/http/file-server": "jsr:@std/http@^1.0.25/file-server",
"@std/fs": "jsr:@std/fs@^1.0.23",
"@std/path": "jsr:@std/path@^1.1.4",
"@std/yaml": "jsr:@std/yaml@^1.0.12",
"is_json/": "https://deno.land/x/is_json@v1.0.2/",
"json2yaml/": "https://deno.land/x/json2yaml@v1.0.1/",
"lume/": "https://deno.land/x/lume@v3.0.1/",
"minify": "npm:minify@^15.0.1"
},
"nodeModulesDir": "none",
"tasks": {
"build": {
"description": "Build the site and organise the required assets.",
"command": "bash ./dev/build.sh"
},
"deps-install": {
"description": "Install the project's dependencies.",
"command": "deno install --entrypoint ./deno.json --config ./deno.json || true"
},
"deps-update": {
"description": "Update the project's dependencies.",
"command": "deno outdated --update --latest || true"
},
"docker-dev": {
"description": "Build and run the development Docker container",
"command": "docker compose -f docker/docker-compose.yaml up -d dev"
},
"docker-prod": {
"description": "Build and run the production Docker container",
"command": "docker compose -f docker/docker-compose.yaml up -d prod"
},
"lint": {
"description": "Run Deno's linting and formatting tools with the configuration defined above.",
"command": "deno lint && deno fmt"
},
"lume": {
"description": "Run Lume, a static site generator for Deno.",
"command": "echo \"import 'lume/cli.ts'\" | deno run -A -"
},
"new-post": {
"description": "Generate a Markdown file for a new post item.",
"command": "bash ./dev/new-post.sh"
},
"release": {
"description": "Release a new version to GitHub and deploy changes.",
"command": "bash ./dev/release.sh"
},
"release-notes": {
"description": "Generates content for the GitHub Release description.",
"command": "bash ./dev/release-notes.sh"
},
"serve": {
"description": "Start a web server to show the built site.",
"command": "deno run --allow-net --allow-read jsr:@std/http/file-server ./_site"
},
"setup": {
"description": "Setup directories, check for and install dependencies, used for local environments and in CI.",
"command": "bash ./dev/setup.sh"
},
"test": {
"description": "Run all Deno Test scripts in the 'src' directory.",
"command": "deno test --allow-run=deno --allow-env --allow-read --allow-net src"
}
}
}