react-app-kit v0.13.0
React App Kit 
npm install -g react-app-kit
Generate a React Application
react new <app-name> [directory]
Run npm install
within the created application directory to install the needed packages.
Included Files
app/index.js
- The primary entry point for the applicationpublic/index.html
- A basic HTML file to contain the application
React App Kit does not make any decision on the pattern of your application (Flux, FRP, etc.), but generally you simply npm install
your desired package, and use ES2015 import in your application code to use it.
Building the Application
All static files should be placed inside the public/
directory; this is where Webpack builds its output (application.js
) to.
- Build the application, minified for production
npm run build
- Run linting check on
app/
npm run lint
- Synchronize installed NPM dependencies (does
npm install && npm prune
)npm run sync
- Run any Jest tests inside
app/
npm run test
- Build the application, watch for changes for development
npm run watch
Example Application
See react-app-example for a full example application based on the react-app-kit build.
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago