From 6e445b1beba7ec1b3a183a813f69816385190ac9 Mon Sep 17 00:00:00 2001 From: Ramon Henrique Ornelas Date: Sat, 22 Oct 2016 15:19:13 -0200 Subject: [PATCH] chore(templates): add name field (#729) --- scripts/templates/wrap-min.tmpl | 1 + scripts/templates/wrap.tmpl | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/templates/wrap-min.tmpl b/scripts/templates/wrap-min.tmpl index 733c35cd2..396826dca 100644 --- a/scripts/templates/wrap-min.tmpl +++ b/scripts/templates/wrap-min.tmpl @@ -11,6 +11,7 @@ import { Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'PluginName', plugin: '', pluginRef: '', repo: '' diff --git a/scripts/templates/wrap.tmpl b/scripts/templates/wrap.tmpl index b80894b4b..1e00a120a 100644 --- a/scripts/templates/wrap.tmpl +++ b/scripts/templates/wrap.tmpl @@ -29,6 +29,7 @@ import { Observable } from 'rxjs/Observable'; * ``` */ @Plugin({ + name: 'PluginName', plugin: '', // npm package name, example: cordova-plugin-camera pluginRef: '', // the variable reference to call the plugin, example: navigator.geolocation repo: '', // the github repository URL for the plugin