Repository navigation
Expand file tree
/
Copy pathdeno.json
More file actions
39 lines (39 loc) · 2.28 KB
/
Copy pathdeno.json
File metadata and controls
39 lines (39 loc) · 2.28 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
{
"imports": {
"@std/encoding": "jsr:@std/encoding@^1.0.11",
"ayu": "npm:ayu@^9.1.0",
"ayu/color": "npm:ayu@^9.1.0/color",
"ayu/icons": "npm:ayu@^9.1.0/icons"
},
"tasks": {
"build": {
"description": "Lint Markdown, then generate all ports",
"command": "deno run --allow-read --allow-write=zed,cosmic,terminal,vim,firefox,chromium,kagi src/build.ts",
"dependencies": ["md"]
},
"md": {
"description": "Lint Markdown with rumdl",
"command": "rumdl check ."
},
"md-fix": {
"description": "Fix Markdown issues with rumdl (wraps long lines)",
"command": "rumdl fmt ."
},
"icons-fetch": {
"description": "Download SVG replacements for ayu's PNG-only icons into src/icons (keeps existing files)",
"command": "deno run --allow-net=api.github.com,raw.githubusercontent.com --allow-read --allow-write=src/icons --allow-run=magick src/fetch-icons.ts"
},
"icons-compare": {
"description": "Open a page comparing the upstream ayu (Sublime) icons with the Zed icons",
"command": "deno run --allow-read --allow-write=.compare src/compare-icons.ts && open .compare/icons.html"
},
"firefox-background": "deno run --allow-read --allow-write=firefox --allow-run=ffmpeg src/firefox-background.ts",
"firefox-chrome": "sh firefox/install.sh",
"firefox-chrome-uninstall": "sh firefox/install.sh --uninstall",
"firefox-export": "cd firefox && rm -rf .export ayu-vivid-space.zip && mkdir -p .export/ayu-vivid-space/chrome .export/ayu-vivid-space/img && cp install.sh CREDITS.md .export/ayu-vivid-space/ && cp chrome/userChrome.css chrome/userContent.css .export/ayu-vivid-space/chrome/ && cp img/background.gif .export/ayu-vivid-space/img/ && cd .export && zip -qr ../ayu-vivid-space.zip ayu-vivid-space && cd .. && rm -rf .export",
"chromium-pack": "cd chromium && rm -f ayu-vivid-space-chromium.zip && zip -qr ayu-vivid-space-chromium.zip manifest.json img CREDITS.md",
"chromium-background": "deno run --allow-read --allow-write=chromium --allow-run=magick src/chromium-background.ts",
"chromium-store": "deno run --allow-read --allow-run=magick src/chromium-store.ts",
"firefox-pack": "cd firefox && rm -f ayu-vivid-space.xpi && zip -qr ayu-vivid-space.xpi manifest.json img CREDITS.md"
}
}