The package below basically lets you specify js dependencies in composer.json and install them to a specified directory.
https://github.com/RobLoach/component-installer
Works pretty well for the TreeUiBundle, and doesn't require anything additional beyond adding the JS package to "require":
https://github.com/dantleech/TreeUiBundle/blob/master/composer.json
The package below basically lets you specify js dependencies in composer.json and install them to a specified directory.
Works pretty well for the TreeUiBundle, and doesn't require anything additional beyond adding the JS package to "require":