boddco-montecarlo
v1.0.7
Published
A simple Boilerplate to get started with building a react-redux-typescript project.
Downloads
27
Readme
React-Redux-Typescript Boilerplate
A simple Boilerplate to get started with building a react-redux-typescript project.
Important files
- tsconfig.json
Typescript configuration. The Root directory is set to
srcwhile the output directory islib. - webpack.config.js
Webpack configuration. Source Maps have been enabled. The
html-webpack-pluginis configured to accept theindex.ejstemplate and generate theindex.htmlwithbundle.jsin the output folder i.e.distfolder. The loaders that have been configured includetslint-loaderfor linting.react-hot-loader/webpackandts-loaderfor.tsxfiles.style-loaderandcss-loaderfor.cssfiles.url-loaderfor font and image files.json-loaderfor json files. The configuration also includes the configuration for thewebpack-dev-server.
- package.json
Contains a
startscript which runs the dev server.
How to run
- Clone the repository.
- Inside the repository run
npm installandtypings install. - Run
npm start.
