Change package manager from npm to yarn

develop
Jason Zhu 2023-03-22 21:11:12 +11:00
parent a29c471a0b
commit 87293cbd7f
3 changed files with 9683 additions and 17849 deletions

View File

@ -11,7 +11,7 @@ It's a learning project following [pokedex](https://github.com/s1varam/pokedex).
In the project directory, you can run:
### `npm start`
### `yarn start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
@ -19,12 +19,12 @@ Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
The page will reload if you make edits.\
You will also see any lint errors in the console.
### `npm test`
### `yarn test`
Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
### `npm run build`
### `yarn build`
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
@ -34,7 +34,7 @@ Your app is ready to be deployed!
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### `npm run eject`
### `yarn eject`
**Note: this is a one-way operation. Once you `eject`, you cant go back!**

17845
package-lock.json generated

File diff suppressed because it is too large Load Diff

9679
yarn.lock 100644

File diff suppressed because it is too large Load Diff