Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 1.84 KB

SCRIPTS.md

File metadata and controls

72 lines (39 loc) · 1.84 KB

Getting Started with Vite

This project was bootstrapped with Vite.

Visit the current deploy from main-branch under:

Netlify: ReviewOger Reloaded

Available Scripts

In the project directory, you can run:

npm start

make sure to run npm install before starting the application

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.\

npm build

make sure to run npm install before the build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

npm run preview

npm run lint:fix

Run es lint to show errors and warnings. Eslint will enforce coding styles and fix styling issues.

npm run lint:txt

Creates a txt report of the styling issues in the project

All of the following test scripts require the application to be started Please first use npm install to install al required dependencies

npm run cy:open-e2e

Opens the cypress GUI in the configured browser. The GUI will show the available test scripts.

npm run cy:open-unit

Opens the cypress GUI with the configured browser. The GUI will show the available unit tests.

npm run cy:run-e2e

Runs the e2e tests in the terminal. The test results will be displayed in the terminal. The runs are available as .mp4 files in './cypress/videos'

npm run cy:run-unit

Runs the unit tests in the terminal. The test results will be displayed in the terminal.