mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Add prettier:diff script
This commit is contained in:
@@ -68,12 +68,13 @@
|
||||
},
|
||||
"scripts": {
|
||||
"build": "gatsby build",
|
||||
"check-all": "yarn prettier -- --write && yarn lint && yarn flow",
|
||||
"check-all:verbose": "yarn prettier -- --list-different && yarn lint && yarn flow",
|
||||
"check-all": "yarn prettier && yarn lint && yarn flow",
|
||||
"check-all:verbose": "yarn prettier:diff && yarn lint && yarn flow",
|
||||
"dev": "gatsby develop -H 0.0.0.0",
|
||||
"lint": "eslint .",
|
||||
"netlify": "yarn install && yarn build",
|
||||
"prettier": "prettier --config .prettierrc '{flow-typed,plugins,src}/**/*.js'",
|
||||
"prettier": "prettier --config .prettierrc --write '{flow-typed,plugins,src}/**/*.js'",
|
||||
"prettier:diff": "prettier --config .prettierrc --list-different '{flow-typed,plugins,src}/**/*.js'",
|
||||
"reset": "rimraf ./.cache"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user