{"id":14964075,"url":"https://github.com/peejeedr/phaser-3-webpack-cordova","last_synced_at":"2026-01-18T11:48:13.995Z","repository":{"id":40485741,"uuid":"230733197","full_name":"PeeJeeDR/phaser-3-webpack-cordova","owner":"PeeJeeDR","description":"A boilerplate for making phaser 3 projects with Webpack and Cordova","archived":false,"fork":false,"pushed_at":"2023-10-17T05:24:56.000Z","size":2602,"stargazers_count":21,"open_issues_count":2,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T05:06:52.491Z","etag":null,"topics":["boilerplate-template","cordova","cordova-android","cordova-ios","phaser","phaser3","phaser3-boilerplate","phaser3-cordova","phaser3-es6-webpack","phaserjs","webpack","webpack-dev-server"],"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/PeeJeeDR.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-29T10:10:21.000Z","updated_at":"2024-05-29T11:13:44.000Z","dependencies_parsed_at":"2024-09-18T02:34:35.469Z","dependency_job_id":null,"html_url":"https://github.com/PeeJeeDR/phaser-3-webpack-cordova","commit_stats":{"total_commits":37,"total_committers":3,"mean_commits":"12.333333333333334","dds":0.4864864864864865,"last_synced_commit":"8864e3abb95645fe95771518409674ec35ed2307"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PeeJeeDR/phaser-3-webpack-cordova","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeeJeeDR%2Fphaser-3-webpack-cordova","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeeJeeDR%2Fphaser-3-webpack-cordova/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeeJeeDR%2Fphaser-3-webpack-cordova/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeeJeeDR%2Fphaser-3-webpack-cordova/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PeeJeeDR","download_url":"https://codeload.github.com/PeeJeeDR/phaser-3-webpack-cordova/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeeJeeDR%2Fphaser-3-webpack-cordova/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277746955,"owners_count":25870057,"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","status":"online","status_checked_at":"2025-09-30T02:00:09.208Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["boilerplate-template","cordova","cordova-android","cordova-ios","phaser","phaser3","phaser3-boilerplate","phaser3-cordova","phaser3-es6-webpack","phaserjs","webpack","webpack-dev-server"],"created_at":"2024-09-24T13:32:32.901Z","updated_at":"2025-09-30T19:30:46.669Z","avatar_url":"https://github.com/PeeJeeDR.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# phaser-3-webpack-cordova\r\nA template boilerplate for making phaser 3 projects (could be other projects) and build them for android and ios (or browser) using Webpack and Cordova.\r\n\r\n![banner](banner.png)\r\n\r\n## Requirements\r\n- [Node.js](https://nodejs.org/en/)\r\n- [Cordova](https://cordova.apache.org/) (can be installed with `npm install -g cordova`)\r\n- Optional, but recommended - [Yarn](https://yarnpkg.com/en/docs/install#mac-stable)\r\n\r\n## Getting Started\r\nInstallation steps to set this template up and running.\r\n\r\n### Install\r\n#### Clone repo (and specify folder name)\r\n```\r\ngit clone https://github.com/PeeJeeDR/phaser-3-webpack-cordova.git PROJECT_NAME\r\n```\r\n\r\n#### Navigate in folder\r\n```\r\ncd PROJECT_NAME\r\n```\r\n\r\n#### Remove git\r\n```\r\nrm -rf .git\r\n```\r\n\r\n#### Optional init own\r\n```\r\ngit init\r\n```\r\n\r\n#### Install dependecies\r\n```\r\nyarn\r\n```\r\n\r\n### Available scripts\r\n#### Start development server\r\n```\r\nyarn serve\r\n```\r\n\r\nOn desktop visit http://localhost:8080 to open the project. In order to visit the project on another device (phone, ipad, etc.) you wil have to get the public ip address of your machine first. You can do this by running the following command (in new terminal):\r\n\r\n**MAC**\r\n```\r\nyarn get-ip\r\n```\r\n\r\nExecute `ifconfig` if this doesn't work and find it there.\r\n\r\n**WINDOWS**\r\n```\r\nipconfig\r\n```\r\nFind your IPv4 address.\r\n\r\nNow you can visit this ip address in the browser on your external device followed by the `:PORT`. (ex. http://192.168.1.5:8080)\r\n\r\n**Make sure your devices are on the same network.**\r\n\r\n#### Build the app\r\nThis will put the builded files in the `www` folder (used by Cordova)\r\n\r\n```\r\nyarn build\r\n```\r\n\r\n## Cordova\r\nFirst update the config.xml to your preferences. (name, description, ...)\r\n\r\nIn this example I will use android as example. Change `android` to `ios` for iOS build.\r\n\r\n**Make sure you ran `yarn build` at least once so that the `www` folder is present.**\r\n\r\n#### Add prefered platform\r\n```\r\ncordova platform add android\r\n```\r\n\r\n#### Run app\r\n```\r\ncordova run android\r\n```\r\n\r\nThis command will run an emalator on your machine if you have installed Android studio (Android) or XCode (iOS).\r\nIf your device is connected to your machine with a cable it should open there.\r\n\r\n**NOTE: There is no live/hot reload with the `cordova run` command. Use `yarn serve` instead to test on your device.**\r\n\r\n#### Build\r\n```\r\ncordova build android\r\n```\r\n\r\n#### Build release\r\n```\r\ncordova build --release android\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeejeedr%2Fphaser-3-webpack-cordova","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeejeedr%2Fphaser-3-webpack-cordova","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeejeedr%2Fphaser-3-webpack-cordova/lists"}