Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

fix(readme): use react-scripts-ts in scripts instead of react-scripts #267

Merged
merged 1 commit into from
Mar 1, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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