This project uses a Makefile to simplify common tasks. Here are the available commands:
Installs project dependencies using npm ci
. This ensures a clean and consistent installation of node modules.
Starts the development server with npm start
. This command runs the application in development mode.
Builds the project for production using npm run build
. It creates a minified and optimized version of your application.
Removes the build
directory with rm -rf build
. This command cleans up old build files.
Runs tests with npx jest
. This command executes your test suite to ensure your code is working correctly.
Runs tests in watch mode with npx jest --watch
. It automatically re-runs tests when files change, useful for development.
Checks test coverage with npx jest --coverage
. This command generates a report showing which parts of your code are covered by tests.
Lints your source code with npx eslint ./src
. This command checks your code for style and potential errors.
Fixes linting issues with npx eslint ./src --fix
. This command automatically corrects style issues in your code.
The default goal is set to install
. This means if you run make
without any arguments, it will execute the install
command by default.