{"_id":"@anywaylupin/phaser-rm","name":"@anywaylupin/phaser-rm","dist-tags":{"latest":"0.0.0"},"versions":{"0.0.0":{"name":"@anywaylupin/phaser-rm","version":"0.0.0","type":"module","private":false,"description":"A package providing custom or prebuilt objects for Phaser game development. It simplifies the process of creating interactive and high-performance game elements using Phaser, a popular framework for building HTML5 games.","author":{"name":"lupin.nguyen@outlook.com"},"license":"MIT","engines":{"node":">=22"},"scripts":{"dev":"vite","build":"tsc && vite build","preview":"vite preview","release":"run-p build && run-p fix:dist && npm publish","lint":"eslint src --fix","format":"prettier --write src/","fix":"run-p lint && run-p format","lint:dist":"eslint  dist/**/*.d.ts --fix","format:dist":"prettier --write dist/**/*.d.ts","fix:dist":"run-p lint:dist && run-p format:dist"},"dependencies":{"howler":"2.2.4"},"devDependencies":{"@eslint/js":"9.27.0","@types/howler":"2.2.12","@types/node":"22.15.18","eslint":"9.27.0","eslint-config-prettier":"10.1.5","eslint-plugin-prettier":"5.4.0","globals":"16.1.0","npm-run-all2":"8.0.2","phaser":"3.88.2","prettier":"3.5.3","typescript":"5.8.3","typescript-eslint":"8.32.1","vite":"6.3.5","vite-plugin-dts":"4.5.3"},"main":"dist/index.umd.js","module":"dist/index.es.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.es.js","require":"./dist/index.umd.js"}},"publishConfig":{"access":"public"},"_id":"@anywaylupin/phaser-rm@0.0.0","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-5OCEBybdGHVhHIjtsFBbCwiAivwTHPtpiHoqsJe/gLpE31YzjbAtuWZ49C60jsHEpjHGHNaBbknCa9gVWei+tg==","shasum":"1b0f28c447e3814a9878020fa7831d56505c23ac","tarball":"https://registry.npmjs.org/@anywaylupin/phaser-rm/-/phaser-rm-0.0.0.tgz","fileCount":8,"unpackedSize":885194,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCXwK8/HlL5q9kPMIeC1MVOnNXnrRTIwkAZ4UVSJiFRtwIhAKte/Q88HBjYsa3RWVYeUCFjg7hKs4Sdsf2KQOOLAbWL"}]},"_npmUser":{"name":"anywaylupin","email":"lupin.nguyen@outlook.com"},"directories":{},"maintainers":[{"name":"anywaylupin","email":"lupin.nguyen@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/phaser-rm_0.0.0_1747464559322_0.538418503358433"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-17T06:49:19.249Z","0.0.0":"2025-05-17T06:49:19.558Z","modified":"2025-05-17T06:49:19.810Z"},"maintainers":[{"name":"anywaylupin","email":"lupin.nguyen@outlook.com"}],"description":"A package providing custom or prebuilt objects for Phaser game development. It simplifies the process of creating interactive and high-performance game elements using Phaser, a popular framework for building HTML5 games.","author":{"name":"lupin.nguyen@outlook.com"},"license":"MIT","readme":"# <img src=\"public/logo.png\" alt=\"Logo\" height=\"24\" /> Totally Awesome - Custom Phaser\r\n\r\n## Description\r\n\r\nA package providing custom or prebuilt objects for Phaser game development. It simplifies the process of creating interactive and high-performance game elements using Phaser, a popular framework for building HTML5 games.\r\n\r\n---\r\n\r\n## Features\r\n\r\n- **Custom Objects**: Easily integrate custom game objects into your Phaser games.\r\n- **Prebuilt Components**: Access a variety of prebuilt objects that can be directly used in your projects.\r\n- **Modular Design**: Import only what you need, optimizing your project's performance and size.\r\n\r\n---\r\n\r\n## Installation\r\n\r\nTo use TA-Phaser, you must have Phaser installed as well. Install both Phaser and TA-Phaser using npm:\r\n\r\n```bash\r\nnpm install phaser ta-phaser\r\n```\r\n\r\n---\r\n\r\n## PhaserEditor2D Launcher Setup\r\n\r\nInstall PhaserEditor2D Launcher using npm:\r\n\r\n```bash\r\nnpm install phasereditor2d-launcher --save-dev\r\n```\r\n\r\nAfter installation, create a JSON file named `phasereditor2d.config.json` in the root folder of your project with the following content:\r\n\r\nCopy code\r\n\r\n```json\r\n{\r\n  \"skip\": [\"src\", \"types\", \"vite\"],\r\n  \"plugins\": [],\r\n  \"flags\": [\"-disable-gzip\"],\r\n  \"playUrl\": \"http://localhost:1959\"\r\n}\r\n```\r\n\r\nThis configuration helps manage how PhaserEditor2D interacts with your project, including skipping certain directories and setting up the play URL.\r\n\r\n---\r\n\r\n## Contributing\r\n\r\nContributions are welcome! Please read our Contributing Guide for details on our code of conduct, and the process for submitting pull requests to us.\r\n\r\n---\r\n\r\n## Scripts\r\n\r\n| Command          | Description                                   |\r\n| ---------------- | --------------------------------------------- |\r\n| npm run dev      | Runs the project in development mode.         |\r\n| npm run build    | Builds the project for production.            |\r\n| npm run update   | Builds the project and publishes the package. |\r\n| npm run preview  | Previews the production build.                |\r\n| npm run lint     | Lints the source files.                       |\r\n| npm run lint:fix | Fixes linting errors in source files.         |\r\n| npm run format   | Formats the source files.                     |\r\n| npm run fix      | Auto-fixes and formats the source files.      |\r\n","readmeFilename":"README.md","_rev":"1-fbb81260309b59ec167c2debc1d88c24"}