Skip to content

Instantly share code, notes, and snippets.

@FaKleiser
Last active March 11, 2017 12:02
Show Gist options
  • Save FaKleiser/049a04351838bca9dc7c297226cf03c5 to your computer and use it in GitHub Desktop.
Save FaKleiser/049a04351838bca9dc7c297226cf03c5 to your computer and use it in GitHub Desktop.
A Living Styleguide with Brunch and KSS
module.exports =
config:
paths:
watched: ['app/', 'styleguide/']
files:
javascripts:
joinTo: 'app.js'
stylesheets:
joinTo:
'app.css': /^app/,
'styleguide.css': /^styleguide/
plugins:
kss:
kssConfig:
source: ["app"]
homepage: "styleguide.md"
browserSync:
port: 3333,
server: {
baseDir: ["public/styleguide", "public"],
directory: false,
index: "index.html"
},
files: ["public/styleguide/**/*.html"]
sass:
precision: 10
options:
includePaths: ['bower_components']
{
"name": "<name>",
"version": "<version>",
"dependencies": {
"bourbon": "^4.2.6"
},
"devDependencies": {
"bower": "^1.8.0",
"browser-sync-brunch": "0.0.9",
"brunch": "^2.1.3",
"kssbrunch": "^0.0.5",
"sass-brunch": "^1.9.2"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment