mirror of
https://github.com/immich-app/immich.git
synced 2025-11-25 07:45:17 -05:00
26 lines
565 B
TOML
26 lines
565 B
TOML
[tasks.install]
|
|
run = "pnpm install --filter documentation --frozen-lockfile"
|
|
|
|
[tasks.start]
|
|
env._.path = "./node_modules/.bin"
|
|
run = "docusaurus --port 3005"
|
|
|
|
[tasks.build]
|
|
env._.path = "./node_modules/.bin"
|
|
run = [
|
|
"jq -c < ../open-api/immich-openapi-specs.json > ./static/openapi.json || exit 0",
|
|
"docusaurus build",
|
|
]
|
|
|
|
[tasks.preview]
|
|
env._.path = "./node_modules/.bin"
|
|
run = "docusaurus serve"
|
|
|
|
[tasks.format]
|
|
env._.path = "./node_modules/.bin"
|
|
run = "prettier --check ."
|
|
|
|
[tasks."format-fix"]
|
|
env._.path = "./node_modules/.bin"
|
|
run = "prettier --write ."
|