46 lines
1.5 KiB
JSON
46 lines
1.5 KiB
JSON
{
|
|
"name": "template-react",
|
|
"description": "A Phaser 3 project template that demonstrates React communication and uses Vite for bundling.",
|
|
"version": "1.2.0",
|
|
"type": "module",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/phaserjs/template-react.git"
|
|
},
|
|
"author": "Phaser Studio <support@phaser.io> (https://phaser.io/)",
|
|
"license": "MIT",
|
|
"licenseUrl": "http://www.opensource.org/licenses/mit-license.php",
|
|
"bugs": {
|
|
"url": "https://github.com/phaserjs/template-react/issues"
|
|
},
|
|
"homepage": "https://github.com/phaserjs/template-react#readme",
|
|
"keywords": [
|
|
"phaser",
|
|
"phaser3",
|
|
"react",
|
|
"vite"
|
|
],
|
|
"scripts": {
|
|
"dev": "node log.js dev & vite --config vite/config.dev.mjs",
|
|
"build": "node log.js build & vite build --config vite/config.prod.mjs",
|
|
"dev-nolog": "vite --config vite/config.dev.mjs",
|
|
"build-nolog": "vite build --config vite/config.prod.mjs"
|
|
},
|
|
"dependencies": {
|
|
"phaser": "^3.90.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.22.0",
|
|
"@types/react": "^19.0.10",
|
|
"@types/react-dom": "^19.0.4",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"eslint": "^9.22.0",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"eslint-plugin-react-refresh": "^0.4.19",
|
|
"globals": "^16.0.0",
|
|
"vite": "^6.3.1",
|
|
"terser": "5.39.0"
|
|
}
|
|
} |