johnpbloch / composer-grunt-bridge
Grunt integration for Composer packages.
Installs: 5 088
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 5
Open Issues: 1
Type:composer-plugin
Requires
- php: >=5.4
- composer-plugin-api: ^1.0
- eloquent/composer-npm-bridge: ~2.1
- icecave/isolator: ~2
Requires (Dev)
- composer/composer: dev-master@dev
This package is auto-updated.
Last update: 2024-10-10 07:33:50 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"] } }