Base project for setting up a frontend application using Typescript and React. Heavily based off of Dan Abromov's React Transform Boilerplate.
- Webpack
npm install -g webpack
- Typescript
npm install -g typescript
- Typescript Definition Manager (TSD)
npm install -g tsd
- npm install
- tsd install
After setting up the project, type npm start
to start the Express dev server.
To compile the Javascript bundle for production, use npm run build
.
There's an open PR in DefinitelyTyped for ReactDOM that needs to be merged in (DefinitelyTyped/DefinitelyTyped#6228). You can edit the file manually (it's pretty small) after installing the definitions.