forked from stpaine/FERS
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
33 lines (33 loc) · 1.49 KB
/
package.json
File metadata and controls
33 lines (33 loc) · 1.49 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
{
"name": "fers-monorepo",
"private": true,
"workspaces": ["packages/*"],
"scripts": {
"prepare": "husky",
"ui:dev": "bun run --filter fers-ui tauri dev --no-watch",
"ui:build": "bun run --filter fers-ui tauri build",
"tauri": "bun run --filter fers-ui tauri",
"format": "bun run format:cpp && bun run format:js && bun run format:rust",
"format:cpp": "git ls-files 'packages/**/*.cpp' 'packages/**/*.h' | xargs clang-format -i",
"format:js": "biome format --write .",
"format:rust": "cargo fmt --all",
"lint": "bun run lint:cpp && bun run lint:js && bun run lint:rust",
"lint:cpp": "bun run build:cpp-debug && bun run clangtidy:run",
"lint:js": "biome lint .",
"lint:rust": "cargo clippy --workspace -- -D warnings",
"build:cpp-debug": "cmake --preset=debug && cmake --build --preset=debug --parallel",
"coverage:cpp": "bash scripts/run_tests_gen_coverage.sh",
"coverage:rust": "cargo tarpaulin --package fers-ui --out Html",
"clangtidy:run": "run-clang-tidy -p build/debug/ -export-fixes fixes.yaml"
},
"devDependencies": {
"@biomejs/biome": "2.4.10",
"husky": "^9.1.7",
"lint-staged": "^16.3.3"
},
"lint-staged": {
"packages/**/*.{cpp,h}": "clang-format -i",
"packages/fers-ui/src/**/*.{ts,tsx,js,jsx}": "biome check --write --no-errors-on-unmatched",
"packages/fers-ui/src-tauri/**/*.rs": "cargo fmt --"
}
}