ls-cordova-plugins

1.0.2 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i ls-cordova-plugins

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • tlvince