{"id":14964074,"url":"https://github.com/jamesskemp/phaser-3-vsc-typescript-nodejs","last_synced_at":"2025-09-30T19:30:46.225Z","repository":{"id":41790139,"uuid":"191066699","full_name":"JamesSkemp/phaser-3-vsc-typescript-nodejs","owner":"JamesSkemp","description":"Template for a new Phaser 3 project with Visual Studio Code, TypeScript, and Node.js.","archived":false,"fork":false,"pushed_at":"2025-07-18T01:27:26.000Z","size":1035,"stargazers_count":22,"open_issues_count":1,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-22T11:03:01.063Z","etag":null,"topics":["html5-game-development","javascript-game","phaser3","phaserjs","starter-template","typescript","vscode"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/JamesSkemp.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-06-09T23:42:39.000Z","updated_at":"2024-12-17T15:18:01.000Z","dependencies_parsed_at":"2024-09-13T20:55:46.043Z","dependency_job_id":"d9c9eaf4-6f62-4b4c-ac47-a3deb7932742","html_url":"https://github.com/JamesSkemp/phaser-3-vsc-typescript-nodejs","commit_stats":{"total_commits":121,"total_committers":1,"mean_commits":121.0,"dds":0.0,"last_synced_commit":"0ab9a9529576d1db530f13676754dce08e86476e"},"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/JamesSkemp/phaser-3-vsc-typescript-nodejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesSkemp%2Fphaser-3-vsc-typescript-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesSkemp%2Fphaser-3-vsc-typescript-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesSkemp%2Fphaser-3-vsc-typescript-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesSkemp%2Fphaser-3-vsc-typescript-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JamesSkemp","download_url":"https://codeload.github.com/JamesSkemp/phaser-3-vsc-typescript-nodejs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesSkemp%2Fphaser-3-vsc-typescript-nodejs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277746954,"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":["html5-game-development","javascript-game","phaser3","phaserjs","starter-template","typescript","vscode"],"created_at":"2024-09-24T13:32:32.826Z","updated_at":"2025-09-30T19:30:45.895Z","avatar_url":"https://github.com/JamesSkemp.png","language":"TypeScript","readme":"# Starter Project for Phaser 3 with Visual Studio Code, TypeScript, and NodeJS\n\nThe following is a starter project to get started with a new game in Phaser 3 and [Visual Studio Code](https://code.visualstudio.com/), using TypeScript and NodeJS.\n\n\u003e If using GitHub, you can use the **Use this template** button to create a new Phaser 3 project from this starter template.\n\n## Get Started\n\n1. Make sure [Node.js](https://nodejs.org) is installed.\n2. From a command line, run `npm install` in the root directory (same place this README.md file is).\n3. Next run `npm run start:dev` to start an automatically updating instance.\n4. Use the editor of your choice ([Visual Studio Code](https://code.visualstudio.com/) is a great choice) to start writing your game.\n5. Run `npm run build` to populate the **public** directory with the final site contents.\n6. Copy the contents of **public** to the site of your choice.\n\n## What This Project Provides\n\n- src\n\t- assets\n\t\t- This directory can be used to store any assets (images, audio, etcetera) that your game will use.\n\t- plugins\n\t\t- This directory is intended to store any plugins that are used by your game.\n\t- ts\n\t\t- This directory is intended to store your TypeScript files, and includes a .gitignore so that any JavaScript files that are built aren't committed.\n\t\t- A possible directory structure, as well as a few starter scenes, have been added for ease, but can be removed without issue.\n\t- app.css can include any styling necessary for your application.\n\t- favicon.ico\n\t\t- HTML5 Logo by [World Wide Web Consortium/W3C](http://www.w3.org/) and included here based upon the [logo FAQ](http://www.w3.org/html/logo/faq.html) allowing it (and it seems like the best logo to start with).\n\t- index.html\n\t\t- The `title` and `h1` elements should be updated to match the needs of your game.\n\t\t- Includes a reference to the minified Phaser library.\n\t\t- Also includes a reference to a JavaScript file, which the Visual Studio project is setup to output TypeScript files to, and which should be updated to match your needs.\n- package.json contains the Node packages used by this project.\n- README.md is this file, and should be replaced with whatever content is needed for your game.\n- tsconfig.json\n\t- This file determines how TypeScript will compile the project.\n\t- By default all TypeScript files will be compiled into a single app.js file in the root of the project.\n- webpack.config.js\n\t- This file contains the default webpack configuration.\n- .editorconfig\n\t- \"EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs.\" See https://editorconfig.org/\n- .eslintignore\n\t- This file sets which directories/files should not be parsed by eslint.\n- .eslintrc.js\n\t- This file contains the starting eslint configurations. Base support for TypeScript is included.\n\t- See ESLint [Rules](https://eslint.org/docs/rules/) for more information.\n- .gitlab-ci.yml\n\t- Adds support to build and host your site on [GitLab Pages](https://docs.gitlab.com/ee/user/project/pages/).\n- .vscode/tasks.json\n\t- Used by Visual Studio Code when running the build task.\n\n## How to Build the Site\nTo build this project you'll need [Node.js](https://nodejs.org) installed.\n\nNext run `npm install` in the root directory to install the various dependencies.\n\nRun `npm run build` after modifying code to populate the **public** directory with the final site contents. You can instead run `npm run build-dev` to build the JavaScript in development mode, or `npm run start:dev` to start an automatically updating instance.\n\nIf you'd like to run a simple web server, install http-server via `npm install http-server -g`, which can then be run from the public directory by running `http-server`.\n\nIf you'd like to lint your TypeScript/JavaScript, run `npm run lint`.\n\n## Upgrading Phaser\nTo upgrade Phaser 3 run `npm upgrade --save phaser`.\n\n## Upgrading Other Packages\n\nESLint:\n\n\u003e `npm upgrade --save eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser`\n\nOnce done, run `npm run lint` to verify everything is still working as expected.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesskemp%2Fphaser-3-vsc-typescript-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamesskemp%2Fphaser-3-vsc-typescript-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesskemp%2Fphaser-3-vsc-typescript-nodejs/lists"}