A starting point for building React components with Webpack.
Clone repository to your project folder git clone https://github.com/Opentrace/react-component-boilerplate.git my-react-component
.
OR
Download the latest project ZIP, unzip and copy the files to your project directory.
Edit package.json
to reflect your components details.
Dev: npm start
- builds Webpack bundle and serves at http://localhost:3000.
Build: npm run build
- Babel (for writing with ES6)
- Webpack (pretty bundles), hot reload, etc.