@littlemissrobot/sass-functions
v2.0.7
Published
Little Miss Robot sass functions library that helps execute reusable and complex tasks.
Downloads
190
Readme
Little Miss Robot - Sass functions (DEV)
This repository contains sass @functions declarations. This is part of the @littlemissrobot/sass-system package, but can be used as a standalone package. This README is meant for the dev team and should not be published!
Setup
- Install the dependencies:
npm install
- Start the development environment:
npm run start
Scripts
| Command | Description |
| --------------- | ----------------------------------------------------------------------------------------------------------- |
| npm run start
| Start the development environment where Sass starts compiling the tests/index.scss file to the dist folder. |
| npm run lint
| Use stylelint to lint sass and css to check if everything is formatted correctly. |
Structure
| Folder | Description |
| ------------------------ | --------------------------------------------------------------------------- |
| lib
| Contains all the code that should be published to NPM as a package. |
| tests.html, tests.scss
| Testing files during development of the package, should never be published. |
Publish to npm
Change the version in the package.json to the wanted version number. Examples: 2.0.5 -> 2.0.6: for a small patch. 2.0.5 -> 3.0.0: for a breaking change.
Push your changes to
master
.Manually run the
Publish to NPM
step in the pipelines when the automated steps have succesfully finished.