generator-webdev-react
v0.3.0
Published
Yo generator to create scaffolding for React applications
Downloads
6
Readme
Notification
This is still a work in progress and changing often
Version 0.3.0
- CSS-Modules
- Changed to Chrome extension
- Restructure
- Numerous other changes
Overview
This is a generator to create scaffolding for a React application. Created with the idea that you would develop using an express server, but the final app would be a bundle.js that you would link to from SharePoint or another hosted solution.
Highlights:
- React with Redux.
- Webpack hot/dev middlewares.
- Unit testing with Tape.
- Code coverage with isparta/istanbul.
- Linting with airbnb style guide, and corresponding eslint configuration
- ES6
- Makes use of redux dev tools chrome extension
- CSS-Modules
Dependencies
NodeJS
- Install from https://nodejs.org/en/
- Choose "Stable Release"
Google Chrome
- (From a development standpoint, IE requires polyfills running the dev server and will not format code coverage reports nicely. The application will still run across both browsers, but for development, Chrome is much easier to work with)
- Also, makes use of redux dev tools chrome extension to allow use of the tools in a production environment, and easier setup
NPM and APM proxy settings
- NPM and APM (Installed with Atom) need to have their proxy configuration setup to allow the installation of packages/plugins if behind a firewall. Run the following commands, replacing (PROXY) with the proxy address:
npm config set proxy (PROXY)
npm config set https-proxy (PROXY)
npm config set strict-ssl false
apm config set proxy (PROXY)
apm config set https-proxy (PROXY)
apm config set strict-ssl false
- NPM and APM (Installed with Atom) need to have their proxy configuration setup to allow the installation of packages/plugins if behind a firewall. Run the following commands, replacing (PROXY) with the proxy address:
Yo
- Run the following commands
npm install -g yo
npm install -g generator-webdev-react
- Run the following commands
vscode
- Work in Progress
Git
- Install from https://git-scm.com/downloads
Installation
- Run the following command, and answer all prompts to generate the scaffolding
yo webdev-react
Commands
- Work in Progress