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
```sh
npm install
yarn set version stable
yarn
```
### Compile and Hot-Reload for Development
```sh
npm run dev
yarn dev
```
### Type-Check, Compile and Minify for Production
```sh
npm run build
yarn build
```
### Run Unit Tests with [Vitest](https://vitest.dev/)
```sh
npm run test:unit
yarn test:unit
```
### Lint with [ESLint](https://eslint.org/)
```sh
npm run lint
yarn lint
```