forked from facebook/create-react-app
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update readme with fix from facebook#1939
- Loading branch information
1 parent
f35593c
commit 80a10bf
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -207,7 +207,7 @@ To configure the syntax highlighting in your favorite text editor, head to the [ | |
|
||
## Displaying Lint Output in the Editor | ||
|
||
>Note: this feature is available with `[email protected]` and higher. | ||
>Note: this feature is available with `[email protected]` and higher. | ||
>It also only works with npm 3 or higher. | ||
Some editors, including Sublime Text, Atom, and Visual Studio Code, provide plugins for ESLint. | ||
|
@@ -406,7 +406,7 @@ Then in `package.json`, add the following lines to `scripts`: | |
```diff | ||
"scripts": { | ||
+ "build-css": "node-sass src/ -o src/", | ||
+ "watch-css": "npm run build-css && node-sass src/ -o src/ --watch --recursive", | ||
+ "watch-css": "npm run build-css && node-sass src/*.scss -o src/ --watch --recursive", | ||
"start": "react-scripts start", | ||
"build": "react-scripts build", | ||
"test": "react-scripts test --env=jsdom", | ||
|
@@ -431,7 +431,7 @@ Then we can change `start` and `build` scripts to include the CSS preprocessor c | |
```diff | ||
"scripts": { | ||
"build-css": "node-sass src/ -o src/", | ||
"watch-css": "npm run build-css && node-sass src/ -o src/ --watch --recursive", | ||
"watch-css": "npm run build-css && node-sass src/*.scss -o src/ --watch --recursive", | ||
- "start": "react-scripts start", | ||
- "build": "react-scripts build", | ||
+ "start-js": "react-scripts start", | ||
|