A basic starter for a project build with ReactJS, Typescript, Webpack 2 and Bootstrap
At first you have to install all node modules:
npm installAfterwards you can start the app with:
npm startThen will then have a server running at http://localhost:3000 with hot code replacement and live reloading in the browser.
If you want to build a distribution, you have to execute
npm run build:devor
npm run build:prodIn the prod distribution all js- and css-files are uglified and there are no source maps.
You will find the distribution under /dist.
You can run the tests with
npm testIf you want to develop against the tests with hot reloading, you have to execute
npm run test:watchThe following technologies are used for writing and running tests:
- A short book about React and Typescript: Hello React and TypeScript
Stephan Zerhusen
The code is released under the MIT license.
Please feel free to send me some feedback or questions!