mirror of
https://github.com/immich-app/immich.git
synced 2025-12-06 01:10:00 +03:00
30 lines
587 B
TOML
30 lines
587 B
TOML
[tasks.install]
|
|
run = "pnpm install --filter @immich/cli --frozen-lockfile"
|
|
|
|
[tasks.build]
|
|
env._.path = "./node_modules/.bin"
|
|
run = "vite build"
|
|
|
|
[tasks.test]
|
|
env._.path = "./node_modules/.bin"
|
|
run = "vite"
|
|
|
|
[tasks.lint]
|
|
env._.path = "./node_modules/.bin"
|
|
run = "eslint \"src/**/*.ts\" --max-warnings 0"
|
|
|
|
[tasks."lint-fix"]
|
|
run = { task = "lint --fix" }
|
|
|
|
[tasks.format]
|
|
env._.path = "./node_modules/.bin"
|
|
run = "prettier --check ."
|
|
|
|
[tasks."format-fix"]
|
|
env._.path = "./node_modules/.bin"
|
|
run = "prettier --write ."
|
|
|
|
[tasks.check]
|
|
env._.path = "./node_modules/.bin"
|
|
run = "tsc --noEmit"
|