This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@milacom/mila-components
TypeScript icon, indicating that this package has built-in type declarations

4.0.16 • Public • Published

Mila components

CircleCI

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

Package Sidebar

Install

npm i @milacom/mila-components

Weekly Downloads

19

Version

4.0.16

License

MIT

Unpacked Size

16.4 MB

Total Files

844

Last publish

Collaborators

  • gempi