Last active
December 5, 2016 22:17
-
-
Save KingScooty/0022988332d617cf6098 to your computer and use it in GitHub Desktop.
Using Bower install hooks to prep CSS files for SASS workflows
This file contains hidden or 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
#!/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* |
This file contains hidden or 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
{ | |
"scripts": { | |
"postinstall": "./.bower-postinstall.sh" | |
} | |
} |
This file contains hidden or 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
devDependencies: { | |
"normalize.css" : "latest" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment