Last active
March 11, 2017 12:02
-
-
Save FaKleiser/049a04351838bca9dc7c297226cf03c5 to your computer and use it in GitHub Desktop.
A Living Styleguide with Brunch and KSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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