README
Coupon components
All components for the coupon apps. You can view all Components
We are using postcss-modules-values and PostCss Next
Storybook Docs: Storybook and knobs
Install and Use
yarn add -S coupon-components- Import styles in the root App
import 'coupon-components/build/css/styles.css' import { Button } from 'coupon-components'
Dev Environment
- install with
yarn - run dev environment
yarn storybook
Build and Publish package
yarn buildto transpile and compile for publish package- change the version of new package
npm publish
Build Documentation
yarn build-docsfor compile and publish stoybook in github project
How to Publish
npm run build&&npm run build-docsnpm version patchif is a fix |npm version minorif is a new component |npm version majorif is a new release with diferent issuesnpm publish