@@ -16,16 +16,15 @@ To contribute to the further development, see section "Contributions welcome!" f
1616- [ Jest] ( https://jestjs.io/ ) as unit testing framework
1717- [ Prettier] ( https://prettier.io/ ) as pre-commit-hook
1818- [ SASS Lint] ( https://github.com/sasstools/sass-lint ) to check scss files
19- - [ Yarn] ( https://yarnpkg.com/ ) as package manager
2019
2120See package.json for up-to-date version information.
2221
2322## Getting started
2423
2524### 1. Install dependencies
2625
27- - Install YARN globally: ` npm install -g yarn `
28- - Run ` yarn ` , this will install all dependencies
26+ - Eventually, install NPM first
27+ - Run ` npm install ` to install all dependencies
2928
3029### 2. Configure API access from localhost
3130
@@ -37,14 +36,14 @@ Doing this there's no need to run Spring Boot locally.
3736
3837### 3. Test the setup
3938
40- Run ` yarn start:dev` and when it succeeded open ` http://localhost:4200 ` in your browser. You should see the Angular app starting. The app
39+ Run ` npm run start:dev` and when it succeeded open ` http://localhost:4200 ` in your browser. You should see the Angular app starting. The app
4140will automatically reload if you change any of the source files.
4241
4342## Development
4443
4544### Dev Server
4645
47- ` yarn start:dev` : Starts a live reload dev server on ` http://localhost:4200/ `
46+ ` npm run start:dev` : Starts a live reload dev server on ` http://localhost:4200/ `
4847
4948### Dev Server with SSL localhost
5049
@@ -60,16 +59,16 @@ behaves correctly. Although not ideal, we discovered this as the most effortless
6059
6160### Build
6261
63- ` yarn build` : The build artifacts will be stored in the ` dist/ ` directory. ` yarn build:prod ` will be used for the pipeline.
62+ ` npm run build` : The build artifacts will be stored in the ` dist/ ` directory. ` yarn build:prod ` will be used for the pipeline.
6463
6564### Tests
6665
67- - Unittests: ` yarn test` / ` yarn test:watch`
66+ - Unittests: ` npm run test` / ` npm run test:watch`
6867- E2E (Cypress): TODO
6968
7069### Linting
7170
72- - ` yarn lint` : Linting for Typescript and SCSS files.
71+ - ` npm run lint` : Linting for Typescript and SCSS files.
7372
7473### Prettier
7574
0 commit comments