Skip to content

Instantly share code, notes, and snippets.

@KingScooty
Last active December 5, 2016 22:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KingScooty/0022988332d617cf6098 to your computer and use it in GitHub Desktop.
Save KingScooty/0022988332d617cf6098 to your computer and use it in GitHub Desktop.
Using Bower install hooks to prep CSS files for SASS workflows
#!/bin/bash
# Normalize.css - Rename .css file to .scss
mv bower_components/normalize.css/normalize.css bower_components/normalize.css/_normalize.scss
# *Insert other commands below*
{
"scripts": {
"postinstall": "./.bower-postinstall.sh"
}
}
devDependencies: {
"normalize.css" : "latest"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment