root.info.bower
v0.1.0
Published
package.root plugin: retrieves information about bower in the root package
Downloads
2
Maintainers
Readme
root.info.bower
This is a plugin for the package.root package.
It retrieves the Bower information of the root package (if any are available)
and append the directory
property to the Bower file properties normally stored in the .bowerrc
file.
Installation
Node Dependency
Execute following line
npm install root.info.bower --save
Require module
The plugin will be automatically loaded by package.root
Usage
Returns an Object with following properties:
- All the properties of the regular Bower file, in fact the Bower file content itself
directory
: the target directory of the Bower modules with valuebower_modules
or the custom location
The returned object will be available in the rootPackageInfo Object under the property bower
.
var bowerDir = rootPackageInfo.bower.directory;
Copyright (c) 2015 Luscus ([email protected])
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.