0.31.25 • Published 7 months ago
@finbertmds/stylis-logical-props-middleware v0.31.25
@rocket.chat/stylis-logical-props-middleware
Stylis middleware to handle CSS Logical Properties and their fallbacks
Install
Firstly, install the peer dependencies (prerequisites):
npm i stylis
# or, if you are using yarn:
yarn add stylisAdd @rocket.chat/stylis-logical-props-middleware as a dependency:
npm i @rocket.chat/stylis-logical-props-middleware
# or, if you are using yarn:
yarn add @rocket.chat/stylis-logical-props-middlewareContributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues.
Building
As this package dependends on others in this monorepo, before anything run the following at the root directory:
yarn buildLinting
To ensure the source is matching our coding style, we perform linting. Before commiting, check if your code fits our style by running:
yarn lintSome linter warnings and errors can be automatically fixed:
yarn lint-and-fixRunning tests
Whenever possible, add tests to describe exactly what your code do. You can run them by yourself:
yarn test0.31.25
7 months ago