File size: 1,112 Bytes
1514519
 
c57ecd0
1514519
 
 
c57ecd0
 
 
 
 
1514519
52b57fb
 
 
 
 
2772a8c
 
2ad8fe3
2772a8c
52b57fb
 
 
 
2ad8fe3
52b57fb
2ad8fe3
ac73c0d
52b57fb
1514519
 
 
 
1882424
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
34
35
{
  "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"
  }
}