npm.io
1.7.3 • Published 6 years ago

styled-tidy

Licence
MIT
Version
1.7.3
Deps
1
Size
67 kB
Vulns
0
Weekly
0
Stars
1

styled-tidy

Tidy is a lightweight set of utilities for writing clean styled-components syntax.

CircleCI Codecov

Installation

Add the dependency:

yarn add styled-tidy

And then in your component(s):

// grab the helpers you want
import { is, swap, rem, minWidth } from 'styled-tidy';

Usage


Contributing

styled-tidy follows semantic release versioning with Commitizen.

Committing

Install commitizen globally, if you have not already.

npm install -g commitizen

When you are ready to commit your changes…

git add .
git cz

Then, follow the CLI wizard.

Note: Choosing 'feat' or adding 'BREAKING CHANGE' in the commit will result in a major version bump during the release.

Testing
nvm use
yarn
yarn test
Additional Commands

Keep things tidy ;)

yarn lint

Test that your changes compile

yarn build

License

MIT

Keywords