{"id":25090623,"url":"https://github.com/leandr0ck/phaser-es6-webpack","last_synced_at":"2025-05-16T15:09:46.414Z","repository":{"id":38710096,"uuid":"50200097","full_name":"leandr0ck/phaser-es6-webpack","owner":"leandr0ck","description":"A bootstrap project for create games with Phaser + ES6 + Webpack.","archived":false,"fork":false,"pushed_at":"2020-09-06T12:43:24.000Z","size":2337,"stargazers_count":1286,"open_issues_count":8,"forks_count":312,"subscribers_count":41,"default_branch":"master","last_synced_at":"2025-04-12T14:55:47.908Z","etag":null,"topics":["bootstrap","cordova","es6","game","phaser","phaser-es6-webpack","webpack"],"latest_commit_sha":null,"homepage":null,"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/leandr0ck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-22T18:38:16.000Z","updated_at":"2025-04-08T18:51:47.000Z","dependencies_parsed_at":"2022-08-09T05:30:49.973Z","dependency_job_id":null,"html_url":"https://github.com/leandr0ck/phaser-es6-webpack","commit_stats":null,"previous_names":["leandr0ck/phaser-es6-webpack"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leandr0ck%2Fphaser-es6-webpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leandr0ck%2Fphaser-es6-webpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leandr0ck%2Fphaser-es6-webpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leandr0ck%2Fphaser-es6-webpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leandr0ck","download_url":"https://codeload.github.com/leandr0ck/phaser-es6-webpack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254553959,"owners_count":22090417,"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":["bootstrap","cordova","es6","game","phaser","phaser-es6-webpack","webpack"],"created_at":"2025-02-07T12:01:32.458Z","updated_at":"2025-05-16T15:09:41.406Z","avatar_url":"https://github.com/leandr0ck.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Phaser + ES6 + Webpack.\n#### A bootstrap project to create games with Phaser + ES6 + Webpack.\n\n![Phaser+ES6+Webpack](https://raw.githubusercontent.com/lean/phaser-es6-webpack/master/assets/images/phaser-es6-webpack.jpg)\n\n\n[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)\n\n## Phaser 3 supported in this branch: https://github.com/lean/phaser-es6-webpack/tree/phaser3\n## Typescript supported in this branch: https://github.com/lean/phaser-es6-webpack/tree/typescript\n\n## Features\n- ESLINT with JavaScript Standard Style configuration\n- Next generation of Javascript\n- Browsers are automatically updated as you change project files\n- Webpack ready\n- WebFont Loader\n- Multilanguage support\n- PWA Support\n\n## Typescript \nIf you need typescript support checkout the ```typescript``` branch. Thanks to @MatsMaker\n\n# Setup\nYou'll need to install a few things before you have a working copy of the project.\n\n## 1. Clone this repo:\n\nNavigate into your workspace directory.\n\nRun:\n\n```git clone https://github.com/lean/phaser-es6-webpack.git```\n\n## 2. Install node.js and npm:\n\nhttps://nodejs.org/en/\n\n\n## 3. Install dependencies (optionally you can install [yarn](https://yarnpkg.com/)):\n\nNavigate to the cloned repo's directory.\n\nRun:\n\n```npm install``` \n\nor if you chose yarn, just run ```yarn```\n\n## 4. Run the development server:\n\nRun:\n\n```npm run dev```\n\nThis will run a server so you can run the game in a browser. It will also start a watch process, so you can change the source and the process will recompile and refresh the browser automatically.\n\nTo run the game, open your browser and enter http://localhost:3000 into the address bar.\n\n\n## Build for deployment:\n\nRun:\n\n```npm run deploy```\n\nThis will optimize and minimize the compiled bundle.\n\n## Deploy for cordova:\nMake sure to uncomment the cordova.js file in the src/index.html and to update config.xml with your informations. (name/description...)\n\nMore informations about the cordova configuration:\nhttps://cordova.apache.org/docs/en/latest/config_ref/\n\nThere is 3 platforms actually tested and supported : \n- browser\n- ios\n- android\n\nFirst run (ios example):\n\n```\nnpm run cordova\ncordova platform add ios\ncordova run ios\n```\n\nUpdate (ios example):\n\n```\nnpm run cordova\ncordova platform update ios\ncordova run ios\n```\n\nThis will optimize and minimize the compiled bundle.\n\n## Config:\nbefore you get to work you will surely want to check the config file. You could setup dimensions, webfonts, etc\n\n## Webfonts:\nIn the config file you can specify which webfonts you want to include. In case you do not want to use webfonts simply leave the array empty\n\n## Credits\nBig thanks to these great repos:\n\nhttps://github.com/belohlavek/phaser-es6-boilerplate\n\nhttps://github.com/cstuncsik/phaser-es6-demo\n\n## Contributors\n\nhttps://github.com/RenaudROHLINGER\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleandr0ck%2Fphaser-es6-webpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleandr0ck%2Fphaser-es6-webpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleandr0ck%2Fphaser-es6-webpack/lists"}