docs(readme): update readme, replace npm with yarn

This commit is contained in:
Lucien Cartier-Tilet 2024-02-17 05:02:26 +01:00
parent 6b2a93ece9
commit d321f6f38d
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -28,29 +28,30 @@ configuration](https://config.phundrak.com/emacs/packages/programming#web-progra
## Project Setup ## Project Setup
```sh ```sh
npm install yarn set version stable
yarn
``` ```
### Compile and Hot-Reload for Development ### Compile and Hot-Reload for Development
```sh ```sh
npm run dev yarn dev
``` ```
### Type-Check, Compile and Minify for Production ### Type-Check, Compile and Minify for Production
```sh ```sh
npm run build yarn build
``` ```
### Run Unit Tests with [Vitest](https://vitest.dev/) ### Run Unit Tests with [Vitest](https://vitest.dev/)
```sh ```sh
npm run test:unit yarn test:unit
``` ```
### Lint with [ESLint](https://eslint.org/) ### Lint with [ESLint](https://eslint.org/)
```sh ```sh
npm run lint yarn lint
``` ```