Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 1.02 KB

README.md

File metadata and controls

26 lines (22 loc) · 1.02 KB

Murder at Fieri Manor

based on the Table Top Game with the same name, by Silly Goose

requirements

  • node LTS

setup steps

  1. run npm install yarn -g
    • not needed if you already have yarn installed globally
  2. run yarn install to install dependencies

running the server locally

  1. run yarn start to start the app
  2. browse to http://localhost:8093/

code quality checks

  1. run yarn test to run all unit tests
    • -s <file> option will test a single class
    • -c option will output coverage report
    • -o option in conjunction with -c will automatically open the html report
  2. run yarn lint to run linter
    • -f to attempt to auto-fix some linting errors
  3. run yarn build to make sure there are no compilation errors
  4. run yarn snyk-test to run through snyk vulnerability analyzer
    • you may need to set up an account to run this locally
  5. run yarn prepush to run all pre-push hooks