@stijnvanhulle/components
v3.0.15
Published
Components library React
Downloads
106
Readme
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/*"