Skip to content

Commit

Permalink
Merge pull request facebook#267 from kaminskypavel/patch-1
Browse files Browse the repository at this point in the history
fix(readme): use react-scripts-ts in scripts instead of react-scripts
  • Loading branch information
DorianGrey authored Mar 1, 2018
2 parents 58fb532 + c0a959e commit e6b2473
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/react-scripts/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -595,11 +595,11 @@ Then we can change `start` and `build` scripts to include the CSS preprocessor c
"scripts": {
"build-css": "node-sass-chokidar src/ -o src/",
"watch-css": "npm run build-css && node-sass-chokidar src/ -o src/ --watch --recursive",
- "start": "react-scripts start",
- "build": "react-scripts build",
+ "start-js": "react-scripts start",
- "start": "react-scripts-ts start",
- "build": "react-scripts-ts build",
+ "start-js": "react-scripts-ts start",
+ "start": "npm-run-all -p watch-css start-js",
+ "build": "npm run build-css && react-scripts build",
+ "build": "npm run build-css && react-scripts-ts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
}
Expand Down

0 comments on commit e6b2473

Please sign in to comment.