mirror of
https://github.com/tiennm99/sokoban.git
synced 2026-10-14 22:17:41 +00:00
Adds npm run dev:codeserver with Vite config tuned for code-server's /absproxy/<port>/ route: host binding, allowedHosts from env, and HMR over wss on clientPort 443. Host/port read from .env.local (gitignored); .env.example documents required vars.
28 lines
798 B
JSON
28 lines
798 B
JSON
{
|
|
"name": "sokoban",
|
|
"description": "A simple Sokoban game built with Phaser 3 and Vite",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/tiennm99/sokoban.git"
|
|
},
|
|
"author": "tiennm99",
|
|
"license": "Apache-2.0",
|
|
"licenseUrl": "https://www.apache.org/licenses/LICENSE-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/tiennm99/sokoban/issues"
|
|
},
|
|
"homepage": "https://tiennm99.github.io/sokoban/",
|
|
"scripts": {
|
|
"dev": "vite --config vite/config.dev.mjs",
|
|
"dev:codeserver": "vite --config vite/config.codeserver.mjs",
|
|
"build": "vite build --config vite/config.prod.mjs"
|
|
},
|
|
"devDependencies": {
|
|
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
|
"svelte": "^5.19.0",
|
|
"vite": "^6.3.6"
|
|
}
|
|
}
|