mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-21 19:31:57 +00:00
Fix Git hooks
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
. "$(dirname "$0")/_/husky.sh"
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
cd beta
|
|
||||||
yarn lint-staged
|
yarn lint-staged
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
"ci-check": "npm-run-all prettier:diff --parallel lint tsc lint-heading-ids",
|
"ci-check": "npm-run-all prettier:diff --parallel lint tsc lint-heading-ids",
|
||||||
"tsc": "tsc --noEmit",
|
"tsc": "tsc --noEmit",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"postinstall": "patch-package && (is-ci || (cd .. && husky install .husky))",
|
"postinstall": "patch-package && (is-ci || husky install .husky)",
|
||||||
"check-all": "npm-run-all prettier lint:fix tsc"
|
"check-all": "npm-run-all prettier lint:fix tsc"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user