UNPKG

generator-wallaby-webpack-react

Version:

Yeoman generator for wallabyjs, webpack, react, hot reloading, jest and babel.

46 lines (24 loc) 875 B
# Getting started ## Installation Install required tools: ```$ npm install -g yo``` Install generator: ```$ npm install -g generator-wallaby-webpack-react``` Make a new director, and cd into it: ```$ mkdir name-of-your-app && cd $_``` Run yo wallaby-webpack-react: ```$ yo wallaby-webpack-react``` ## Usage ### Server Simple server to use for react hot reloading. ```$ npm start``` Open your browser and go to http://localhost:3000 ### Testing You can test both using npm (karma) and wallabyJS. #### Using node Run single run for tests: ```$ npm test``` #### Using wallaby Download plugin from [wallaby.js](http://www.wallabyjs.com) and add to one of the supported IDEAS. The wallaby config file is tested ad verified in IntelliJ and Webstorm. Please check [wallaby.js](http://www.wallabyjs.com) for more information about the awesome test framework.