33## Requirements
44Using following:
55* Node LTS (v22)
6- * npm (v10 )
6+ * yarn (v1 )
77If you are using NVM you can also use ` nvm use ` to get correct version.
88
99For development:
@@ -13,41 +13,41 @@ For development:
1313
1414In the project directory, you can run:
1515
16- ### ` npm run dev`
16+ ### ` yarn dev`
1717
1818Start dev server and runs the app in the development mode.<br >
1919
20- ### ` npm run build`
20+ ### ` yarn build`
2121
2222Builds the app for production to the ` dist ` folder.<br >
2323
24- ### ` npm run testBuild`
24+ ### ` yarn testBuild`
2525
2626Builds the app in development mode to the ` dist ` folder.<br >
2727
28- ### ` npm start`
28+ ### ` yarn start`
2929
3030Runs the app by starting node server using build files.
3131
32- ### ` npm test`
32+ ### ` yarn test`
3333
3434Launches Jest test runner.<br >
3535
36- ### ` npm run test:e2e`
36+ ### ` yarn test:e2e`
3737Launches [ Playwright] ( playwright.config.js ) test runner and performs browser tests.
3838
3939## How to use
4040For development:
41- - Make sure npm packages are installed by running ` npm install --legacy-peer-deps ` in project root.
41+ - Make sure yarn packages are installed by running ` yarn install` in project root.
4242- Make sure you have environment variables set. ` .env.example ` should have all required values so you can copy it to ` .env ` .
43- - Then you can start development server using ` npm run dev` . Which watches files and updates on code changes.
43+ - Then you can start development server using ` yarn dev` . Which watches files and updates on code changes.
4444- Open the application by loading ` localhost:2048 ` in the browser
4545
4646To run in production mode:
47- - Make sure npm packages are installed by running ` npm install --legacy-peer-deps ` in project root.
47+ - Make sure yarn packages are installed by running ` yarn install` in project root.
4848- Make sure you have environment variables set. ` .env.example ` should have all required values so you can copy it to ` .env ` .
49- - Build files by running ` npm run build`
50- - Then you can run the app with ` npm start`
49+ - Build files by running ` yarn build`
50+ - Then you can run the app with ` yarn start`
5151- Open the application by loading ` localhost:2048 ` in the browser
5252
5353To run with docker compose:
0 commit comments