Skip to content

Commit ca2e793

Browse files
committed
chore: update example.
1 parent b030006 commit ca2e793

File tree

3 files changed

+25
-27
lines changed

3 files changed

+25
-27
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ This project was bootstrapped with [Create React App](https://github.com/faceboo
66

77
In the project directory, you can run:
88

9-
### `yarn start`
9+
### `npm start`
1010

1111
Runs the app in the development mode.\
12-
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
12+
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
1313

14-
The page will reload if you make edits.\
15-
You will also see any lint errors in the console.
14+
The page will reload when you make changes.\
15+
You may also see any lint errors in the console.
1616

17-
### `yarn test`
17+
### `npm test`
1818

1919
Launches the test runner in the interactive watch mode.\
2020
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
2121

22-
### `yarn build`
22+
### `npm run build`
2323

2424
Builds the app for production to the `build` folder.\
2525
It correctly bundles React in production mode and optimizes the build for the best performance.
@@ -29,15 +29,15 @@ Your app is ready to be deployed!
2929

3030
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
3131

32-
### `yarn eject`
32+
### `npm run eject`
3333

34-
**Note: this is a one-way operation. Once you `eject`, you cant go back!**
34+
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
3535

36-
If you arent satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
36+
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
3737

38-
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point youre on your own.
38+
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
3939

40-
You dont have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldnt feel obligated to use this feature. However we understand that this tool wouldnt be useful if you couldnt customize it when you are ready for it.
40+
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
4141

4242
## Learn More
4343

@@ -65,6 +65,6 @@ This section has moved here: [https://facebook.github.io/create-react-app/docs/a
6565

6666
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
6767

68-
### `yarn build` fails to minify
68+
### `npm run build` fails to minify
6969

7070
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)

package.json

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,18 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"@testing-library/jest-dom": "5.11.5",
7-
"@testing-library/react": "11.1.0",
8-
"@testing-library/user-event": "12.1.10",
9-
"react": "17.0.2",
10-
"react-dom": "17.0.2",
11-
"react-scripts": "4.0.3",
12-
"web-vitals": "0.2.4",
13-
"uiw": "4.7.16"
6+
"@testing-library/jest-dom": "^5.16.2",
7+
"@testing-library/react": "^12.1.3",
8+
"@testing-library/user-event": "^13.5.0",
9+
"react": "^17.0.2",
10+
"react-dom": "^17.0.2",
11+
"react-scripts": "5.0.0",
12+
"web-vitals": "^2.1.4",
13+
"uiw": "^4.13.7"
14+
},
15+
"repository": {
16+
"type": "git",
17+
"url": "https://github.com/uiwjs/uiw-example-create-react-app.git"
1418
},
1519
"scripts": {
1620
"start": "react-scripts start",

src/logo.svg

Lines changed: 1 addition & 7 deletions
Loading

0 commit comments

Comments
 (0)