@buffetjs/custom

Buffetjs Custom Components

Usage no npm install needed!

<script type="module">
  import buffetjsCustom from 'https://cdn.skypack.dev/@buffetjs/custom';
</script>

README

Buffet.js Custom

Getting Started

Installation

Using yarn

yarn add @buffetjs/custom
# Install the required dependencies
yarn add lodash prop-types react react-dom react-router-dom styled-components

or npm

npm install @buffetjs/custom --save
# Install the required dependencies
npm install lodash prop-types react react-dom react-router-dom styled-components --save

Available commands

  • build
    Builds the library for production
  • build:analyze
    Analyse the generated build
  • build:watch
    Whatch the files with webpack
  • build:watch:esm
    Whatch the files with babel
  • create:index
    Create the build/index.js file
  • test
    Runs the entire set of test: lint, style and jest
  • test:jest
    Runs the unit tests
  • test:jest:watch
    Runs the unit tests in watch mode
  • test:lint
    Runs the lint tests
  • test:lint:quiet
    Runs the lint tests without displaying the warnings
  • test:style
    Runs the stylelint tests
  • test:style:quiet
    Runs the stylelint tests without displaying the warnings
  • lint:fix
    Fixes the lint