chore(templates): add name field (#729)

This commit is contained in:
Ramon Henrique Ornelas 2016-10-22 15:19:13 -02:00 committed by Ibrahim Hadeed
parent 1a803e70be
commit 6e445b1beb
2 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ import { Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'PluginName',
plugin: '', plugin: '',
pluginRef: '', pluginRef: '',
repo: '' repo: ''

View File

@ -29,6 +29,7 @@ import { Observable } from 'rxjs/Observable';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'PluginName',
plugin: '', // npm package name, example: cordova-plugin-camera plugin: '', // npm package name, example: cordova-plugin-camera
pluginRef: '', // the variable reference to call the plugin, example: navigator.geolocation pluginRef: '', // the variable reference to call the plugin, example: navigator.geolocation
repo: '', // the github repository URL for the plugin repo: '', // the github repository URL for the plugin