@lukeboyle/react-component-boilerplate

1.1.0 • Public • Published

React Component Boilerplate

This is a simple boilerplate project to get started with react components. The purpose of this is to make a component to easily publish on npm.

Installation

  • npm install @lukeboyle/react-component-boilerplate
  • Copy the files from node modules into your project root

Getting Started

Building your module

  • Develop your component in src/index.jsx
  • npm run build will run rollup on index.jsx under the src folder
  • Add your component to the demo project js
  • npm run build-demo will run the gulp default process in demo/src
  • The gulp process will use babelify to transform the jsx, so you may import your un-transpiled jsx file.

/@lukeboyle/react-component-boilerplate/

    Package Sidebar

    Install

    npm i @lukeboyle/react-component-boilerplate

    Weekly Downloads

    2

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • lukeboyle