@stijnvanhulle/components

Components library React

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@stijnvanhulle/components
2.0.47 days ago3 years agoMinified + gzip package size for @stijnvanhulle/components in KB

Readme

Build package and publish npm version
Template
Components library

Installation

yarn

Install global to use generator

Usage: components [options] [arguments]

Options:
init                        Create template from zip, optional: 
                            --template [pathToZip] required
                            --to [pathToFolder] default to current directory
zip                         Zip template, optional: 
                            --from [pathToFolder] default from ./template directory
                            --to [pathToZip] default to ./config/template directory

Start testing

yarn test

Watch testing/debug

yarn run test:watch
yarn run test:debug

  • to use default webpack settings, make file webpack.config.js and export "module.exports = require("@stijnvanhulle/components/bin/webpack")"
  • to use default jest settings, make file jest.config.js and export "module.exports = require("@stijnvanhulle/components/jest.config.js")"
  • to use default tsconfig, import from "@stijnvanhulle/components/tsconfig.NAME.json"
  • are you using esnext as target use then components from "@stijnvanhulle/components/es/"