@milacom/mila-components
v4.0.16
Published
React component library for Mila
Downloads
808
Maintainers
Readme
Mila components
This project provides a guide to design and build React components for mila.com.
Technologies
- React
- Typescript
- CSS Modules
- PostCSS
- Jest / Enzyme
Getting started
To install mila-components
in your project, you will need to run the
following command using npm:
npm install -S @milacom/mila-components
If you prefer Yarn, use the following command instead:
yarn add @milacom/mila-components
Development
npm run watch
Link the package in you project if you want to work parallel
npm link "@milacom/mila-components"
If you have problems with different react version, link react package back to your frontend
npm link ../mila-frontend/node_modules/react
Redesign
Grid is built with https://www.postcss-mesh.org/ Use mila instead of mesh as name
Grid is in the style.css. Built the grid system again after changes.
npm run watch:grid
Build
npm run build
Release
Create a new version tag and circleci will create a new npm release
Add new version to package.json
npm version <newversion>
git push --tags origin master