Skip to content
This repository has been archived by the owner on Mar 17, 2020. It is now read-only.

owsas/react-module-template

Repository files navigation

React module template

Use this template to build your own modules for react@^16.0.0

Usage

  1. Clone this repository
  2. Run yarn install (Usage of Yarn is recommended)
  3. Edit the src/index.jsx file and then run npm run dev.
  4. This will start the webpack-dev-server
  5. Then open your browser at localhost:3100
  6. The browser will be updated everytime you change the code at src/index.jsx

Features

  • Linting with eslint
  • Linting code style: Airbnb
  • Testing with jest@^21.2.1 and enzyme@^3.1.1
  • Uses babel for JS transpiling
  • Uses webpack for building the code

Folder structure

  • /src: The module code
  • /test: The tests for the src components
  • /build: The target compilation directory

Credits

Juan Camilo Guarín Peñaranda
Otherwise SAS https://owsas.com
Cali, Colombia, 2017

License

MIT

Support us on Patreon

patreon

About

All you need to create a ReactJS module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •