The beginnings of a Sculpin-based style guide creation tool.
- NodeJS
- Sculpin
-
If the project does not already have npm dependencies run
npm init
to create apackage.json
file -
Add Butler as a dependency by running
npm install --save palantirnet/butler
-
Duplicate
STYLEGUIDE_TEMPLATE
rename and add it to the project's root directory -
Run
npm run butler
and begin developing normally
-
npm run butler
This is the default task. This will watch your sass/sculpin files for changes and compile/build accordingly. It will also flag any sass linting errors before compiling. It will output CSS that has been been minified and optimized.
-
npm run linting
This is the testing task it will run linters as their own tasks. To learn more about configuring and customizing the linters for Butler check the linters documentation.
-
npm run deploy
This is a task to deploy the static styleguide to GitHub pages. It will deploy to
gh-pages
branch of the repo defined in theconfig/paths.js
. Each commit for this process will default to the message: "Updated with Butler - [timestamp]".
Please feel free to change/extend/break this Gulpfile to fit the specific needs of the project.
For more information on contributing to this project check the contributing documentation.
For immediate concerns, if you have comments/questions/concerns about working with this please talk to Lauren.
To file bug or feature requests, please use the GitHub issue queue for this repository. You can see more about our Issue Guidelines in the contributing documentation.