Building Process
Install JsBattle
The process is described in details in Installation section.
Prerequisites
You will need these before you start:
- Graphviz - required by PlantUML to generate UML diagrams in documentation
- Java SE Development Kit - required by PlantUML to generate UML diagrams in documentation
Build Process
NPM
The building process can be started via npm:
npm run build
Above command will rebuild the whole project and put results to /packages/jsbattle/dist directory. To learn more about packages see Monorepo section
NPM Scripts
| Script Name | Description |
|---|---|
| start | Starts JsBattle |
| clean | clean distribution directores for all packages |
| lint | analyzes source codes for all packages |
| build | build all packages |
| test | run tests for all packages |
| all | execute clean, lint, build and test |
| ci | runs in CI environemnt |