Skip to content

Wolven531/angular-game

Repository files navigation

AngularGame

Node.js + Puppeteer CI / CD Angular Game

This project was generated with Angular CLI version 8.3.23.

It was updated to Angular v9 on February 14, 2020 using the Angular Upgrade Guide

Development server

  • Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files
  • Alternatively, run docker-compose up

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build

Running tests

  • Run npm test to execute unit tests via Karma
  • Run npm run test:coverage to execute unit tests and generate a coverage report (at <rootDir>/coverage/)
  • Run npm run test:watch to execute unit tests while watching for file changes
  • Run ng e2e to execute end-to-end tests via Protractor
  • Attempting to use jest (started on April 17, 2020) using this guide

Tips

To update angular dependencies, run: npm i -g @angular/cli then npx ng update @angular/core@9 @angular/cli@9

Tools

  • Docker for Windows (or Docker for Mac) - here
    • Alternatively, Docker Toolbox (if you are not on Win 10 Pro / Enterprise) - here

To-do

  • More items in the shop
  • Minion level up
  • Export / import save data (for transferring across machines)
  • Get Docker setup working
  • More resources (maybe...)

© Anthony Williams 2020

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published