{"id":21652477,"url":"https://github.com/samme/phaser-rollup","last_synced_at":"2026-05-09T13:15:52.368Z","repository":{"id":82948458,"uuid":"258045391","full_name":"samme/phaser-rollup","owner":"samme","description":"Phaser 3 game template","archived":false,"fork":false,"pushed_at":"2023-12-12T00:52:40.000Z","size":94,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-25T06:08:28.937Z","etag":null,"topics":["phaser","phaser-boilerplate","phaser3"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samme.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-04-22T23:39:47.000Z","updated_at":"2024-05-29T13:19:20.000Z","dependencies_parsed_at":"2023-12-12T01:50:13.980Z","dependency_job_id":null,"html_url":"https://github.com/samme/phaser-rollup","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":"rollup/rollup-starter-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samme%2Fphaser-rollup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samme%2Fphaser-rollup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samme%2Fphaser-rollup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samme%2Fphaser-rollup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samme","download_url":"https://codeload.github.com/samme/phaser-rollup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244547604,"owners_count":20470103,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["phaser","phaser-boilerplate","phaser3"],"created_at":"2024-11-25T07:55:27.688Z","updated_at":"2026-05-09T13:15:47.336Z","avatar_url":"https://github.com/samme.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Phaser 3 with Rollup 🗞\n====================\n\nGetting started\n---------------\n\nClone or download this repository and install its dependencies:\n\n```bash\ngit clone https://github.com/samme/phaser-rollup.git my-phaser-game\n# OR\nnpx degit \"samme/phaser-rollup\" my-phaser-game\n\ncd my-phaser-game\nnpm install\nnpm run dev\n```\n\n- `npm run build` builds the application to `public/bundle.js`, along with a sourcemap file for debugging.\n- `npm start` launches a server, using [serve](https://github.com/zeit/serve).\n- `npm run watch` will continually rebuild the application as your source files change.\n- `npm run dev` will run `npm start` and `npm run watch` in parallel.\n\nPhaser\n------\n\nSet build constants in `replace()` in `rollup.config.js`.\n\nCopy and modify `node_modules/phaser/src/phaser.js`, then alias `phaser` in `rollup.config.js`:\n\n```js\nalias({\n  entries: {\n    phaser: 'src/phaser-custom.js'\n  }\n})\n```\n\nTODO\n----\n\n- [buble](https://github.com/rollup/plugins/blob/master/packages/buble)\n- [commonjs](https://github.com/rollup/plugins/tree/master/packages/commonjs#options)\n- [livereload](https://github.com/thgh/rollup-plugin-livereload)\n\nLicense\n-------\n\n[MIT](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamme%2Fphaser-rollup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamme%2Fphaser-rollup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamme%2Fphaser-rollup/lists"}