peertopark / composer-grunt-bridge
Grunt integration for Composer packages.
Package info
github.com/peertopark/composer-grunt-bridge
Type:composer-plugin
pkg:composer/peertopark/composer-grunt-bridge
1.0.2
2017-01-27 11:34 UTC
Requires
- php: >=5.3
- composer-plugin-api: ^1
- eloquent/composer-npm-bridge: ^3.0.1
Requires (Dev)
- composer/composer: ^1
- eloquent/phony: ^0.8
- phpunit/phpunit: ^4
This package is not auto-updated.
Last update: 2026-03-09 21:39:56 UTC
README
Grunt integration for Composer packages.
A quick proof of concept based entirely on (and shamelessly stolen from) the composer-npm-bridge.
Basically, add this to your composer.json requirements to have composer run the default grunt task for your project on install or update. You can specify a certain non-default task or list of tasks using the "extra" object:
// Specify one task to run { "extra": { "grunt-task": "build" } } // OR specify multiple tasks to run { "extra": { "grunt-task": ["sass", "concat", "uglify", "cssmin"] } }