Also providing optional Redux installation.
Install this package from npm with npm install -g generator-react-typescript
.
npm install -g yo typescript typings webpack generator-react-typescript
Make a new directory, and cd
into it:
mkdir my-new-project
cd my-new-project
Run yo react-typescript
yo react-typescript
Run npm start
for preview by http://localhost:8080/.