mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Add check-all script for beta site (#4120)
* Update package.json * Update README.md * Update package.json * Add tsc for check-all as well * Update README.md * Update README.md Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
This commit is contained in:
@@ -48,7 +48,7 @@ The documentation is divided into several sections with a different tone and pur
|
||||
### Test the change
|
||||
|
||||
1. If possible, test any visual changes in all latest versions of common browsers, on both desktop and mobile.
|
||||
1. Run `yarn check-all` from the `beta` folder. (This will run Prettier, ESLint, and Flow.)
|
||||
2. Run `yarn check-all` from the `beta` folder. (This will run Prettier, ESLint and validate types.)
|
||||
|
||||
### Push it
|
||||
|
||||
|
||||
@@ -17,7 +17,8 @@
|
||||
"ci-check": "npm-run-all prettier:diff --parallel lint tsc",
|
||||
"tsc": "tsc --noEmit",
|
||||
"start": "next start",
|
||||
"postinstall": "is-ci || (cd .. && husky install beta/.husky)"
|
||||
"postinstall": "is-ci || (cd .. && husky install beta/.husky)",
|
||||
"check-all": "npm-run-all prettier lint:fix tsc"
|
||||
},
|
||||
"dependencies": {
|
||||
"@codesandbox/sandpack-react": "^0.1.20",
|
||||
|
||||
Reference in New Issue
Block a user