docs(readme): update readme, replace npm with yarn
This commit is contained in:
parent
6b2a93ece9
commit
d321f6f38d
11
README.md
11
README.md
@ -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
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user