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:
Strek
2021-11-24 22:58:14 +05:30
committed by GitHub
parent bd727cfc88
commit 40c8cd2df9
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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",