1
0
silverbullet/deno.jsonc

54 lines
2.3 KiB
Plaintext
Raw Permalink Normal View History

{
2022-10-21 18:20:58 +00:00
"tasks": {
"clean": "rm -rf dist dist_client_bundle dist_plug_bundle website_build",
2023-07-24 07:36:33 +00:00
"deep-clean-mac": "rm -f deno.lock && rm -rf $HOME/Library/Caches/deno && deno task clean",
2023-08-04 16:56:55 +00:00
"install": "deno install -f --unstable -A --importmap import_map.json silverbullet.ts",
"check": "find . -name '*.ts*' | xargs deno check",
2024-01-25 10:42:36 +00:00
"test": "deno test -A --unstable",
"build": "deno run -A build_plugs.ts && deno run -A --unstable build_web.ts",
"plugs": "deno run -A build_plugs.ts",
2023-08-26 06:31:51 +00:00
"server": "deno run -A --unstable --check silverbullet.ts",
2023-07-24 07:36:33 +00:00
"watch-web": "deno run -A --check build_web.ts --watch",
2023-08-26 06:31:51 +00:00
"watch-server": "deno run -A --unstable --check --watch silverbullet.ts",
"watch-plugs": "deno run -A --check build_plugs.ts -w",
2023-07-24 07:36:33 +00:00
"bundle": "deno run -A build_bundle.ts",
2022-10-24 11:51:26 +00:00
// Regenerates some bundle files (checked into the repo)
"generate": "./scripts/generate.sh",
// Compile
2023-08-26 06:31:51 +00:00
"compile": "deno task bundle && deno compile -A --unstable -o silverbullet dist/silverbullet.js",
2023-11-11 12:46:25 +00:00
"server:dist:linux-x86_64": "deno task bundle && deno compile -A --unstable --target x86_64-unknown-linux-gnu -o silverbullet dist/silverbullet.js && zip silverbullet-server-linux-x86_64.zip silverbullet",
"server:dist:darwin-x86_64": "deno task bundle && deno compile -A --unstable --target x86_64-apple-darwin -o silverbullet dist/silverbullet.js && zip silverbullet-server-darwin-x86_64.zip silverbullet",
2023-11-11 12:46:55 +00:00
"server:dist:darwin-aarch64": "deno task bundle && deno compile -A --unstable --target aarch64-apple-darwin -o silverbullet dist/silverbullet.js && zip silverbullet-server-darwin-aarch64.zip silverbullet",
2023-11-11 12:46:25 +00:00
"server:dist:windows-x86_64": "deno task bundle && deno compile -A --unstable --target x86_64-pc-windows-msvc -o silverbullet.exe dist/silverbullet.js && zip silverbullet-server-windows-x86_64.zip silverbullet.exe"
2022-10-21 18:20:58 +00:00
},
2022-10-12 09:47:13 +00:00
"compilerOptions": {
"lib": ["dom", "dom.iterable", "dom.asynciterable", "deno.ns"],
"jsx": "react-jsx",
"jsxImportSource": "https://esm.sh/preact@10.11.1"
},
"importMap": "import_map.json",
"lint": {
2023-07-07 11:09:44 +00:00
"exclude": [
"dist",
"dist_bundle"
],
2022-10-12 09:47:13 +00:00
"rules": {
"exclude": ["no-explicit-any"]
}
},
"fmt": {
2023-07-07 11:09:44 +00:00
"exclude": [
"dist",
"dist_bundle",
"website",
"website_build",
"test_space",
"README.md"
]
}
2022-10-12 09:47:13 +00:00
}