Skip to content

tlvince/ls-cordova-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ls-cordova-plugins

Build Status

List Cordova plugins

Greps through package.json and prints a space-delimited list of dev dependencies that contain a cordova-plugin- prefix. Takes one optional argument that prepends a string to each result.

Intended to be used with the local directory variant of cordova plugin add so that plugins can be installed within the project's top-level node_modules and can thereby be cached by TravisCI.

Usage

ls-cordova-plugins [prefix]

Examples

Prepend node_modules:

ls-cordova-plugins node_modules/
# =>
# node_modules/cordova-plugin-crosswalk-webview node_modules/cordova-plugin-device

Author

© 2015 Tom Vincent npm@tlvince.com

License

Released under the MIT License.