Created
January 19, 2015 20:00
-
-
Save yosukehasumi/01290d48218464b18e0a to your computer and use it in GitHub Desktop.
Node.js compiler
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
{ | |
"scripts": { | |
"app": "npm run watch-css & npm run watch-coffee", | |
"watch-css": "watch \"npm run sass && npm run prefix\" wp-content/themes/stanns/sass/", | |
"watch-coffee": "watch \"npm run coffee\" wp-content/themes/stanns/coffee/", | |
"sass": "sass --update wp-content/themes/stanns/sass/style.scss:wp-content/themes/stanns/style.css", | |
"prefix": "autoprefixer wp-content/themes/stanns/style.css", | |
"coffee": "coffee -c --output wp-content/themes/stanns/js/ wp-content/themes/stanns/coffee/site.coffee" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dependancies:
npm install watch
npm install autoprefixer
npm install coffee-script
I've installed all these as -g (global)