A minimalist React starter.
✓ Language - ES6+
✓ Styling - Sass
✓ Task Runner - Gulp
✓ Bundling - Webpack
✓ Testing - Mocha/Chai
npm start
├── dist/ # Distribution bundle
├── src/ # Main source folder
│ ├── components/ # React components
│ ├── styles/ # Sass styles
│ ├── index.js/ # Main React app entry point
│ └── index.html # HTML entry point
├──devServer.js # Webpack server with hot reload
└──... # Configuration files
gulp component --name <name>
Components generated this way will automatically be created in /src/app/components/
.
Add the --full
flag to create a React component with lifecycle methods.
The MIT License © Jonathan Huang