Contributing
Run yarn to install dependencies…
Organization
css/: GENERATED CSS for use without a build stepdocs/: GENERATED SassDoc/Herman documentationsass/: the tool itselfconfig/: all the use-defined variablespartials/: all the logic and output_ccs.scss: forwards the combined Sass module_output.scss: generates the default CSS output
demo/: demo site (also used for testing)_index.scss: root-level index file for importing the module
Development
The following scripts can help you work:
yarn build-sass: compiles theoutputfile tocss/ccs.cssyarn build-docs: compiles SassDoc/Herman documentationyarn build-js: compilesdist.jsfor packagingyarn build-demo: compiles the demo site stylesyarn buildoryarn commit: all the build steps at onceyarn watch: a watcher for the site styles
Process
- Create a new branch for each feature/bug being addressed
- Make any changes required
- Update inline documentation as you go
- Document changes in CHANGELOG.md
- Run
yarn commit - Commit your changes
- Create a Pull Request on GitHub
Release
- Update
package.json - Run
yarn committo update generated docs - Commit and push changes
- Create release through GitHub UI
- Pull changes, and
npm publish