Dominion simulator project that does a few things now. More documentation and links to project tracking to come.
Backend is express/node TypeScript, frontend is vanilla javascript (sorry, I was just playing around with this at first!).
Run the server locally (in development mode). By default this will be available at localhost:3000/
Run all unit-tests with hot-reloading.
Run all unit-tests without hot-reloading.
Run a single unit-test.
Auto-reformat all code
Build the project for production.
Run the production build (Must be built first).
Run production build with a different env file.
- If
npm run devgives you issues with bcrypt on MacOS you may need to run:npm rebuild bcrypt --build-from-source.