generator-addin
Version:
MyGeotab/Geotab Drive add-in generator
33 lines (32 loc) • 711 B
JSON
{
"name": "<%= name %>",
"supportEmail": "<%= supportEmail %>",
"version": "0.0.1",
"items": [{
<% if(!isTab) {%>
<% if (isButton) { %>
"page": "<%= page %>",
"click": "<%= url %>",
"buttonName": {
"en": "<%= menuName %>"
},<% } else { %>
"url": "<%= url %>",
"category": "<%= path %>",
"menuName": {
"en": "<%= menuName %>"
},<% } %>
<% } else {%>
"page": "device",
"tabTitle": "<%= tabTitle %>"
<%}%>
"icon": "images/icon.svg"
}],
<% if (hasStartup) { %>"onStartup": true,<% } %>
<% if (hasShutdown) { %>"onShutdown": true,<% } %>
"dev": {
"root": "<%= root %>",
"dist": {
"host": "<%= host %>"
}
}
}