Asteroids (SVG version):
Asteroids (PIXI.js version):
- ash - Full bundle containing all other modules.
- core - Core module. [required]
- fsm - Finite State Machine for Engine and Entities.
- io - Serialization/Deserialization for Engine.
- signals - Signals used for internal communication. [This package is required and installed by core]
- tick - Tick providers. [recommended]
- tools - Optional tools for use with Ash.
First install:
$ npm i
$ npm run buildOne time test:
$ npm run testOne time test changes files only:
$ npm run test:changedTest watch mode:
$ npm run test:watchTest watch changes files only:
$ npm run test:watch:changedOne time test and create coverage report:
$ npm run test:coverageBuild docs:
$ npm run docsTypecheck files:
$ npm run typecheckLint files:
$ npm run lintLint files and fix:
$ npm run lint-fixClean everything:
$ npm run cleanThese are alternative typescript ports you can find: