|
33 | 33 | "deep-clean-mac": "rm -f deno.lock && rm -rf $HOME/Library/Caches/deno && deno task clean", |
34 | 34 |
|
35 | 35 | "install": "deno install -g -f -A --import-map deno.json silverbullet.ts", |
36 | | - "install-hooks": "./scripts/install_hooks.sh", |
37 | 36 |
|
38 | 37 | "check": "find . -name '*.ts*' | xargs deno check", |
39 | 38 | "lint": "deno lint", |
40 | 39 | "fmt": "deno fmt", |
41 | 40 | "test": "deno test -A", |
42 | 41 | "bench": "deno bench", |
43 | 42 |
|
44 | | - "build": "rm -rf dist dist_client_bundle dist_plug_bundle && deno run -A build_plugs.ts && deno run -A build_web.ts", |
| 43 | + "build": "rm -rf dist dist_client_bundle dist_plug_bundle && deno run -A build_plugs.ts && deno run -A build_web.ts && deno task compile", |
45 | 44 | "plugs": "deno run -A build_plugs.ts", |
46 | 45 | "server": "deno run -A --check silverbullet.ts", |
47 | 46 | "generate": "./scripts/generate.sh", |
| 47 | + "docker": "./scripts/build_docker.sh", |
48 | 48 |
|
49 | 49 | "watch-web": "deno run -A --check build_web.ts --watch", |
50 | 50 | "watch-server": "deno run -A --check --watch silverbullet.ts", |
|
54 | 54 | "bundle": "deno run -A build_bundle.ts", |
55 | 55 |
|
56 | 56 | "compile": "deno task bundle && deno compile -A -o silverbullet dist/silverbullet.js", |
57 | | - "server:dist:linux-x86_64": "deno task bundle && deno compile -A --target x86_64-unknown-linux-gnu -o silverbullet dist/silverbullet.js && zip silverbullet-server-linux-x86_64.zip silverbullet", |
58 | | - "server:dist:linux-aarch64": "deno task bundle && deno compile -A --target aarch64-unknown-linux-gnu -o silverbullet dist/silverbullet.js && zip silverbullet-server-linux-aarch64 silverbullet", |
59 | | - "server:dist:darwin-x86_64": "deno task bundle && deno compile -A --target x86_64-apple-darwin -o silverbullet dist/silverbullet.js && zip silverbullet-server-darwin-x86_64.zip silverbullet", |
60 | | - "server:dist:darwin-aarch64": "deno task bundle && deno compile -A --target aarch64-apple-darwin -o silverbullet dist/silverbullet.js && zip silverbullet-server-darwin-aarch64.zip silverbullet", |
61 | | - "server:dist:windows-x86_64": "deno task bundle && deno compile -A --target x86_64-pc-windows-msvc -o silverbullet.exe dist/silverbullet.js && zip silverbullet-server-windows-x86_64.zip silverbullet.exe" |
| 57 | + |
| 58 | + "server:dist:linux-x86_64": "deno task bundle && deno compile -A --target x86_64-unknown-linux-gnu -o silverbullet dist/silverbullet.js", |
| 59 | + "server:zip:linux-x86_64": "deno task server:dist:linux-x86_64 && zip silverbullet-server-linux-x86_64.zip silverbullet", |
| 60 | + "server:dist:linux-aarch64": "deno task bundle && deno compile -A --target aarch64-unknown-linux-gnu -o silverbullet dist/silverbullet.js", |
| 61 | + "server:zip:linux-aarch64": "deno task server:dist:linux-aarch64 && zip silverbullet-server-linux-aarch64.zip silverbullet", |
| 62 | + "server:dist:darwin-x86_64": "deno task bundle && deno compile -A --target x86_64-apple-darwin -o silverbullet dist/silverbullet.js", |
| 63 | + "server:zip:darwin-x86_64": "deno task server:dist:darwin-x86_64 && zip silverbullet-server-darwin-x86_64.zip silverbullet", |
| 64 | + "server:dist:darwin-aarch64": "deno task bundle && deno compile -A --target aarch64-apple-darwin -o silverbullet dist/silverbullet.js", |
| 65 | + "server:zip:darwin-aarch64": "deno task server:dist:darwin-aarch64 && zip silverbullet-server-darwin-aarch64.zip silverbullet", |
| 66 | + "server:dist:windows-x86_64": "deno task bundle && deno compile -A --target x86_64-pc-windows-msvc -o silverbullet.exe dist/silverbullet.js", |
| 67 | + "server:zip:windows-x86_64": "deno task server:dist:windows-x86_64 && zip silverbullet-server-windows-x86_64.zip silverbullet.exe" |
62 | 68 | }, |
63 | 69 | "lint": { |
64 | 70 | "exclude": [ |
|
0 commit comments