{ "name": "examplegame-module-client", "version": "0.1.0", "private": true, "description": "Client half of the Example Game module — a prebuilt ESM chunk core injects into its own SPA", "license": "GPL-3.0-or-later", "type": "module", "scripts": { "build": "vite build", "test": "node --test", "check:externals": "node scripts/checkExternals.js" }, "engines": { "node": ">=20" }, "//dependencies": "Deliberately none that ship. react, react-dom/client, react/jsx-runtime and react-router-dom are aliased to the shims in src/shim/ and arrive at runtime on window.__rg - there is exactly one React in the page and core owns it (MODULE_API.md 3.2, 3.6). They are devDependencies so that Vite and the JSX transform can resolve them during the build, and for no other reason.", "devDependencies": { "@vitejs/plugin-react": "^4.3.2", "react": "^18.3.1", "react-dom": "^18.3.1", "react-router-dom": "^6.26.2", "vite": "^5.4.8" } }