Skip to content

Latest commit

 

History

History
61 lines (47 loc) · 1.46 KB

README.md

File metadata and controls

61 lines (47 loc) · 1.46 KB

react.template

template for react application.

Usage

react-app is assumed as name of the application to be created.

Clone the repository

$ git clone [email protected]:gowda/react.template.git react-app
$ cd react-app

Install dependencies

$ npm install

Run development server

$ npm run server

Development server listens at http://localhost:3000. Can be changed by updating webpack.development.js.

Run linter

$ npm run lint

ESLint is configured to extend from eslint-plugin-react & eslint-config-airbnb

Configuratin is in .eslintrc.js

Run unit tests

$ npm run test

Run cucumber tests

$ npm run features

Server running at http://localhost:3000 is required for cucumber tests. Run webpack-dev-server using:

$ npm run server

License

"THE BEER-WARE LICENSE" (Revision 42): Gowda wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.