Skip to content

Latest commit

 

History

History
35 lines (19 loc) · 1.2 KB

README.md

File metadata and controls

35 lines (19 loc) · 1.2 KB

pixi-tutorial-slimes

Like the Learning Pixi tutorial, except with type safety and modules.

Play it online: http://zufengw.github.io/pixi-tutorial-slimes

Uses Webpack, PixiJS, TypeScript, yarn, TSLint and other supporting packages.

Set up

What you need: Node.js and npm, yarn.

git clone [email protected]:ZufengW/pixi-tutorial-slimes.git and cd into repo.

yarn install to install dependencies.

Development

yarn run start to start dev server.

yarn run lint to run linter. Do this and fix errors before you commit.

See all scripts and add more in package.json.

Put your things inside src.

Deploy to production

yarn run build to create an output in the public directory.

yarn run deploy to run deploy script.

The deploy script deploy.sh is from https://github.com/X1011/git-directory-deploy. It's set to deploy the contents of public directory to target branch gh-pages on the origin remote repo. Suitable for GitHub pages.