Spaces:
Runtime error
Runtime error
| { | |
| "name": "ros2-robot-stack", | |
| "author": "Mayank <steeltroops.ai@gmail.com>", | |
| "module": "index.ts", | |
| "type": "module", | |
| "private": true, | |
| "license": "UNLICENSED", | |
| "workspaces": [ | |
| "apps/*", | |
| "packages/*" | |
| ], | |
| "devDependencies": { | |
| "@types/bun": "latest", | |
| "husky": "^9.0.11", | |
| "lint-staged": "^15.2.2" | |
| }, | |
| "scripts": { | |
| "validate": "bun run typecheck && bun run lint && bun run ros-check", | |
| "typecheck": "cd apps/frontend && bun x tsc --noEmit && cd ../backend && bun run typecheck", | |
| "lint": "cd apps/frontend && bun run lint", | |
| "ros-check": "bash -c 'source /opt/ros/humble/setup.bash && cd robotics/ros2_ws && colcon build --symlink-install --packages-select simulation_manager amr_navigation && colcon test --packages-select simulation_manager amr_navigation && colcon test-result'", | |
| "prepare": "husky" | |
| }, | |
| "lint-staged": { | |
| "apps/frontend/**/*.{ts,tsx}": [ | |
| "bun --cwd apps/frontend run lint --fix" | |
| ], | |
| "apps/backend/**/*.{ts,tsx}": [ | |
| "bun --cwd apps/backend run typecheck" | |
| ] | |
| }, | |
| "peerDependencies": { | |
| "typescript": "^5" | |
| } | |
| } |