73 lines
2.5 KiB
JSON
73 lines
2.5 KiB
JSON
{
|
|
"name": "mujoco-web-platform",
|
|
"version": "0.9.2",
|
|
"description": "基于 MuJoCo WebAssembly 的本地机器人仿真与控制平台",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --config web_platform/vite.config.ts",
|
|
"build": "vite build --config web_platform/vite.config.ts",
|
|
"preview": "vite preview --config web_platform/vite.config.ts",
|
|
"typecheck": "tsc -p web_platform/tsconfig.json --noEmit",
|
|
"lint": "eslint web_platform/src web_platform/e2e",
|
|
"test": "vitest run --config web_platform/vite.config.ts",
|
|
"test:e2e": "playwright test -c web_platform/playwright.config.ts",
|
|
"training-server": "python3 training_server/server.py",
|
|
"test:training-server": "python3 -m unittest discover -s training_server/tests",
|
|
"check": "npm run typecheck && npm run lint && npm run check:format && npm run test:coverage && npm run test:training-server && npm run build",
|
|
"format": "prettier --write .",
|
|
"check:format": "prettier --check .",
|
|
"test:coverage": "vitest run --coverage --config web_platform/vite.config.ts",
|
|
"lint:python": "python3 -m ruff check training_server",
|
|
"format:python": "python3 -m ruff format training_server"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@playwright/test": "^1.62.1",
|
|
"@testing-library/jest-dom": "^7.0.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@types/node": "^24.1.0",
|
|
"@types/react": "^19.2.18",
|
|
"@types/react-dom": "^19.2.4",
|
|
"@types/three": "^0.185.4",
|
|
"@vitejs/plugin-react": "^6.1.0",
|
|
"@vitest/coverage-v8": "4.1.11",
|
|
"autoprefixer": "^10.5.4",
|
|
"eslint": "^10.8.1",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"eslint-plugin-react-refresh": "^0.5.4",
|
|
"globals": "^17.11.0",
|
|
"jsdom": "^30.0.1",
|
|
"postcss": "^8.5.26",
|
|
"prettier": "3.9.6",
|
|
"tailwindcss": "^3.4.17",
|
|
"three": "^0.178.0",
|
|
"typescript": "5.8.2",
|
|
"typescript-eslint": "^8.67.0",
|
|
"vite": "^8.0.16",
|
|
"vitest": "^4.1.11"
|
|
},
|
|
"overrides": {
|
|
"dompurify": "3.4.14"
|
|
},
|
|
"dependencies": {
|
|
"@monaco-editor/react": "^4.7.0",
|
|
"@mujoco/mujoco": "3.11.0",
|
|
"fflate": "^0.8.3",
|
|
"lucide-react": "^0.555.0",
|
|
"monaco-editor": "^0.56.0",
|
|
"onnxruntime-web": "^1.29.0",
|
|
"pyodide": "^0.29.4",
|
|
"react": "^19.2.8",
|
|
"react-dom": "^19.2.8",
|
|
"uplot": "^1.6.32",
|
|
"zustand": "^5.0.15"
|
|
},
|
|
"engines": {
|
|
"node": ">=24 <25",
|
|
"npm": "11.17.0"
|
|
},
|
|
"packageManager": "npm@11.17.0"
|
|
}
|