2.1.2 • Published 9 years ago
generator-sorcery v2.1.2
Sorcery

Description
This generator will create a React app for you. It will be based in Redux and will have Ava as its test runner.
Installation
- First of all you will need to have Yeoman installed globally. You can install it with npm:
npm i -g yo. - To install the generator, run
npm i -g generator-sorcery. - To run it, type
yo magicin the folder where you want to create the app. - The generator will try to install the dependencies for you running
npm installafter the project has been created, but if you prefer to skip that step you can execute the generator with the--skip-installoption:yo magic --skip-install.
Usage
- Once your app has been generated, you can serve it in the browser with the
npm startcommand. - You can build it to a
distfolder withnpm run build. - To run the tests:
npm test. To run them in watch mode:npm run tdd. - You can generate a test coverage report with
npm run coverage.
Contents
The created project includes the following:
- Aphrodite
- Ava
- Babel
- Enzyme
- ESLint
- normalize.css
- nyc
- PostCSS
- React Router
- React-lite, if selected during install
- React
- Redux
- Sinon.JS
- Webpack