mirror of
https://github.com/netlight/my-finance-pal-backend.git
synced 2024-11-10 08:57:45 +01:00
901 B
901 B
About
This project was created with express-generator-typescript.
Available Scripts
npm run dev
Run the server in development mode.
npm test
Run all unit-tests with hot-reloading.
npm test -- --testFile="name of test file" (i.e. --testFile=Users).
Run a single unit-test.
npm run test:no-reloading
Run all unit-tests without hot-reloading.
npm run lint
Check for linting errors.
npm run build
Build the project for production.
npm start
Run the production build (Must be built first).
npm start -- --environment="name of environment file" (default is production).
Run production build with a different environment file.
Additional Notes
- If
npm run dev
gives you issues with bcrypt on MacOS you may need to run:npm rebuild bcrypt --build-from-source
.