reactor-cli
A Command Line Interface for ambitious ReactJS Applications, based on Ember CLI.
Features
- Module bundler with webpack 2
- ES6 transpilation with babel
- TypeScript in favour of plain JavaScript
- Development server including hot module replacement
- Unit and integration testing support using karma, mocha and chai
- Mocking support with sinon
Installation
npm install -g reactor-cli
Usage
After installation the react
command will have been added to your system path. You may call react <command> --help
to discover all the available commands.
Create a new project
react new <project-name>
This will create a new project directory with the given name, initialise a Git repository, add a basic React.js project structure, and install any necessary NPM dependencies.
More options for the new
command can be found by calling react new --help
.