diff --git a/packages/create-react-app/package.json b/packages/create-react-app/package.json index 86bd258f736..f1f90d099b8 100644 --- a/packages/create-react-app/package.json +++ b/packages/create-react-app/package.json @@ -25,7 +25,7 @@ "commander": "^2.9.0", "cross-spawn": "^4.0.0", "envinfo": "3.4.2", - "fs-extra": "^5.0.0", + "fs-extra": "^1.0.0", "hyperquest": "^2.1.2", "react-dev-utils": "^5.0.0", "semver": "^5.0.3", diff --git a/packages/react-scripts/template/README.md b/packages/react-scripts/template/README.md index 5f00b482f59..c47b662b75d 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -351,7 +351,7 @@ Next we add a 'lint-staged' field to the `package.json`, for example: "scripts": { ``` -Now, whenever you make a commit, Prettier will format the changed files automatically. You can also run `./node_modules/.bin/prettier --single-quote --write "src/**/*.{js,jsx}"` to format your entire project for the first time. +Now, whenever you make a commit, Prettier will format the changed files automatically. You can also run `./node_modules/.bin/prettier --single-quote --write "src/**/*.{js,jsx,json,css}"` to format your entire project for the first time. Next you might want to integrate Prettier in your favorite editor. Read the section on [Editor Integration](https://prettier.io/docs/en/editors.html) on the Prettier GitHub page.