Giter Club home page Giter Club logo

phaser3-rollup-typescript's Introduction

Phaser 3 TypeScript Starter

Header

This is a Phaser 3 starter template that uses TypeScript, Rollup, and offers lightning-fast Hot Module Replacement (HMR) through Vite.

About this Starter Template

This project is based on geocine's Phaser 3 TypeScript starter, with some additional features and improvements. The goal is to streamline the setup process for new Phaser 3 projects.

Key features included in this template:

  • Husky and lint-staged: Enforces code checks and formatting during commits.
  • Commitizen and cz-emoji: Helps create meaningful semantic commit messages.
  • Prettier: Automatically formats code with sorted imports.
  • Simple CSS Reset: Provides a basic CSS reset.
  • '~' Alias: Allows local imports using '~'.

Available Commands

Command Description
yarn install Install project dependencies
yarn dev Build the project, open a web server, and watch for changes
yarn build Build the code bundle with production settings
yarn serve Run a web server to serve the built code bundle
yarn commit Prepare a commit message using emojis for better readability
yarn lint Check for errors in your code
yarn lint:fix Fix all fixable eslint errors in your code
yarn format Format all files using prettier
yarn clean Delete the dist folder

Development

To get started, clone the repository and run yarn install from your project directory. Then, start the local development server with yarn dev and navigate to http://localhost:3000 in your browser.

Production

After running yarn build, you'll find the production-ready files in the dist folder. To test your code in the dist folder, run yarn serve and navigate to http://localhost:8080.

License

This project is licensed under the MIT License. For more details, see the LICENSE file.

phaser3-rollup-typescript's People

Contributors

andrevarandas avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.