Skip to content

Instantly share code, notes, and snippets.

@eyy
Last active August 29, 2015 14:27
Show Gist options
  • Save eyy/d666d36f26d9ff8c3cbb to your computer and use it in GitHub Desktop.
Save eyy/d666d36f26d9ff8c3cbb to your computer and use it in GitHub Desktop.
My `package.json` scripts
{
"scripts": {
"start": "node ./server/www",
"test": "faucet",
"front": "npm run bs & npm run stylus",
"back": "npm run nodemon & npm run stylus",
"build": "npm run stylus-build",
"deploy": "npm run build && node tasks deploy",
"bs": "browser-sync start --server --no-online --startPath=\"pub/index.html\" --files=\"pub/*.html, pub/css/*.css\"",
"stylus": "stylus -w -u nib -u jeet -u autoprefixer-stylus --sourcemap-inline pub/css/*.styl",
"stylus-build": "stylus -u nib -u jeet -u autoprefixer-stylus --include-css -c pub/css/*.styl",
"nodemon": "nodemon ./server/www"
},
"pre-commit": "build"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment