940cab2508
This change updates the Emscripten build to output files named `mujoco.js`, `mujoco.wasm`, and `mujoco.d.ts` instead of `mujoco_wasm.*`. The internal CMake target name remains `mujoco_wasm` to avoid conflicts. The package name in `package.json` is also updated to `mujoco`. New enum tests are added. PiperOrigin-RevId: 875140314 Change-Id: Ie03e0d1db2d03dd8582d5bfcb260b3d33549c2c9
34 lines
981 B
JSON
34 lines
981 B
JSON
{
|
|
"name": "mujoco",
|
|
"version": "1.0.0-alpha.1",
|
|
"description": "MuJoCo JavaScript Bindings",
|
|
"directories": {
|
|
"example": "examples",
|
|
"lib": "lib",
|
|
"test": "tests"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"test": "node --loader ts-node/esm --trace-warnings tests/run_tests.mjs",
|
|
"benchmark": "node --loader ts-node/esm --trace-warnings tests/run_benchmarks.mjs",
|
|
"dev:sandbox": "vite --config tests/sandbox/vite.sandbox.config.ts",
|
|
"build:sandbox": "vite build --config tests/sandbox/vite.sandbox.config.ts",
|
|
"dev:demo": "vite --config demo_app/vite.demo.config.ts",
|
|
"build:demo": "vite build --config demo_app/vite.demo.config.ts"
|
|
},
|
|
"author": "Google DeepMind",
|
|
"license": "Apache-2.0",
|
|
"devDependencies": {
|
|
"@types/jasmine": "^5.1.8",
|
|
"@types/node": "^24.1.0",
|
|
"jasmine": "^5.9.0",
|
|
"three": "^0.178.0",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "5.8.2",
|
|
"vite": "^7.0.6"
|
|
},
|
|
"type": "module"
|
|
}
|