A simple boilerplate for developing React applications in TypeScript, including:
- TypeScript
- React & React DOM
- Webpack
- CSS Modules / SCSS
- TS Node
- Express
- JSDOM
- Mocha
- Chai
- Sinon
- Enzyme
- TSLint
- Prettier
start
: Starts an express server for mocking API responsesdev
: Bundles the react app and serves over webpack dev server on 8080build
: Bundles the react app and exports todist
types:scss
: Generates static typing for SCSS importstypes:scss:watch
: As above, but watches for file changestest
: Runs unit teststest:watch
: Runs unit tests and watches for file changes