JsBattle Docs

Toolset

Some of the tools used during JsBattle Development

Libraries

Tool Description
PixiJS HTML5 Rendering engine
CodeMirror Source codes editor
React User Interface library used to build components of the web page
Bootstrap HTML and CSS framework used to build the web page
jQuery Minor usage, mostly as Bootstrap dependency. The website is based rather on React.
Font Awesome Icons for user interface
SatJS Collision detection library
Express Node.js web application framework
Puppeteer Headless Chromium used to play battles on server side
yargs Interactive command line library
Moleculer Progressive microservices framework

Build and Development

Tool Description
NPM Package manager
Weback Module bundler
BabelJs Converts ES6 to most web browsers compliant code
JSDocs API documentation generator
PlantUML Generates UML diagrams from text
Ansible Provisioning scripts
Lerna Monorepo management tool

Tests and code validation

Tool Description
Puppeteer Headless Chromium used to run functional tests in it
Mocha Unit Tests Framework
Jest Unit Tests Framework
SinonJS Test spies, stubs and mocks for unit tests
JSHint JavaScript code validation
ESLint JavaScript code validation (better ES6 support)