https://github.com/s-r-x/tetris
pixi/inversify/mobx
https://github.com/s-r-x/tetris
tetris
Last synced: about 1 month ago
JSON representation
pixi/inversify/mobx
- Host: GitHub
- URL: https://github.com/s-r-x/tetris
- Owner: s-r-x
- Created: 2020-04-23T09:58:05.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-23T10:37:36.000Z (about 5 years ago)
- Last Synced: 2025-02-14T23:33:58.612Z (3 months ago)
- Topics: tetris
- Language: TypeScript
- Homepage: https://s-r-x.github.io/tetris/index.html
- Size: 2.36 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# parcel-pixijs-quickstarter
Example App using pixiJS and Typescript bundled with parcel 🚀🔥.### Highlights
- ⚡️ Super fast start
- 🔥 Hot module replacement.
- 📝 Typescript.
- 👮 Unit testing.### Quick start
**Node version >= 8.0 (recommended 10.6.0) and NPM >= 5 (recommended 6.1.0)**```bash
# clone the repo.
# --depth 1 removes all but one .git commit history (Optional).
git clone --depth 1 https://github.com/llorenspujol/parcel-pixijs-quickstarter.git# go to the repo
cd parcel-pixijs-quickstarter# install the dependencies via npm
npm install# start the server in dev mode with HMR
npm run start
```
go to [http://localhost:1234](http://localhost:1234) in your browser. Done.### npm scripts
* `npm run start` - runs the compiler and a server at the same time in dev mode with HMR (Hot Module Replacement) 🔥.
* `npm run build` - runs the compiler once and generates a production build.
* `npm run build_serve` - it makes a build and serves it to port 8080.
* `npm run test` - runs the unit tests (.spec.ts files).