A work-in-progress CSS-only library.
The typeface of choice is Inter.
Command | Description |
---|---|
yarn storybook |
Runs Storybook for development using a config that mimics yarn build |
yarn start |
Builds with build:scss and watches for changes |
yarn build |
Runs all build commands in succession in preparation for a release |
yarn lint |
Run stylelint |
yarn format |
Run Prettier |
yarn build:autoprefix |
Runs Autoprefixer writing on top of css/janina.css |
yarn build:cleancss |
Minifies css/janina.css using clean-css and outputs css/janina.min.css |
yarn build:clean |
Removes the css directory |
yarn build:scss |
Builds css/janina.css and css/janina.css.map |
yarn generate |
Uses plop to generate new content in the project. See plopfile.js |