Skip to content

Instantly share code, notes, and snippets.

@ryun
Created January 16, 2015 17:50
Show Gist options
  • Select an option

  • Save ryun/4bf691104383c3585a85 to your computer and use it in GitHub Desktop.

Select an option

Save ryun/4bf691104383c3585a85 to your computer and use it in GitHub Desktop.
composer.json gulp integration
"scripts": {
"post-install-cmd": [
"npm install",
"./node_modules/gulp/bin/gulp.js",
"php artisan clear-compiled",
"php artisan optimize"
],
"post-update-cmd": [
"npm install",
"./node_modules/gulp/bin/gulp.js",
"php artisan clear-compiled",
"php artisan optimize"
],
"post-create-project-cmd": [
"php artisan key:generate"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment