Skip to content

Instantly share code, notes, and snippets.

@gibatronic
Last active January 18, 2017 13:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gibatronic/ca18eef69f69ec827e90 to your computer and use it in GitHub Desktop.
Save gibatronic/ca18eef69f69ec827e90 to your computer and use it in GitHub Desktop.
using npm as a task runner
{
"scripts": {
"scripts": "node_modules/.bin/coffee scripts/*.coffee -o build",
"styles": "node_modules/.bin/node-sass styles/*.scss -o build",
"watch": "node_modules/.bin/vigilia 'scripts/**/*.coffee':'npm run scripts' 'styles/**/*.scss':'npm run styles'"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment