This is a custom React toolchain for starting a single page React app with Typescript. A demo app is available here.
- React
- Webpack
- Typescript
- Visual Studio Code (recommended)
- Clone the repository
- Run
npm install
- Run
npm run start
to see if everything is setup correctly
npm run start
Start the webpack development server, with hot module replacement(HRM).
npm run watch
Compile files in watch mode, development build.
npm run serve
Serve files with ExpressJs.
npm run build
Build production Javascript bundles, output to the dist folder.
npm run deploy
Push the content of the dist folder to the GitHub pages branch.