Browse Source

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>
main
Strek 3 years ago
committed by GitHub
parent
commit
40c8cd2df9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      beta/README.md
  2. 3
      beta/package.json

2
beta/README.md

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

3
beta/package.json

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

Loading…
Cancel
Save