# twopm-phaser-template

> TwoPM Phaser Typescript template

Latest version **1.0.0** (published 2020-05-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install twopm-phaser-template
pnpm add twopm-phaser-template
yarn add twopm-phaser-template
bun add twopm-phaser-template
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-05-17 |
| First published | 2020-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 20.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Ben Follington |
| Maintainers | bfollington |

## Links

- npm: https://www.npmjs.com/package/twopm-phaser-template
- Repository: https://github.com/bfollington/twopm-phaser
- npm.io page: https://npm.io/package/twopm-phaser-template

## Recent versions

- 1.0.0 (latest) — 2020-05-17

## README

Forked from https://github.com/geocine/phaser3-rollup-typescript

Original README below:

---

<h1 align="center">
  <br>
  <a href="https://github.com/geocine/phaser3-rollup-typescript#readme"><img src="https://i.imgur.com/6lcIxDs.png" alt="header" width="600"/></a>
  <br>
  Phaser 3 TypeScript Starter
  <br>
</h1>

This is a [Phaser 3](https://github.com/photonstorm/phaser) starter with [TypeScript](https://www.typescriptlang.org/), [Rollup](https://rollupjs.org) for bundling and [nollup](https://github.com/PepsRyuu/nollup) as development server.

## Available Commands

| Command | Description |
|---------|-------------|
| `yarn install` | Install project dependencies |
| `yarn dev` | Builds project and open web server, watching for changes |
| `yarn build` | Builds code bundle with production settings (minification, no source maps, etc..) |
| `yarn start` | Run a web server to serve built code bundle |

## Development

After cloning the repo, run `yarn install` from your project directory. Then, you can start the local development
server by running `yarn dev`.

After starting the development server with `yarn dev`, you can edit any files in the `src` folder
and **nollup** will automatically recompile and reload your browser (available at `http://localhost:8080`
by default).

The development server makes use of [nollup](https://github.com/PepsRyuu/nollup) which makes hot reload very fast.

<div align="center" markdown="1">
  <img src="https://i.imgur.com/qXntDUS.gif" width="600"/>
</div>

## Production

After running `yarn build`, the files you need for production will be on the `dist` folder. To test code on your `dist` folder, run `yarn start` and navigate to `http://localhost:5000`

---
_Source: https://npm.io/package/twopm-phaser-template · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
