mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-18 16:02:53 +08:00
add premier slug
This commit is contained in:
parent
a586734b92
commit
ba6fa4170b
@ -13,6 +13,7 @@ interface Plugin {
|
|||||||
cordovaPlugin: {
|
cordovaPlugin: {
|
||||||
name: string;
|
name: string;
|
||||||
};
|
};
|
||||||
|
premierSlug: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const rootDir = resolve(__dirname, '../..');
|
const rootDir = resolve(__dirname, '../..');
|
||||||
@ -49,6 +50,7 @@ function processPlugin(pluginModule): Plugin {
|
|||||||
const displayName = getTag(pluginClass, 'name');
|
const displayName = getTag(pluginClass, 'name');
|
||||||
const usage = getTag(pluginClass, 'usage');
|
const usage = getTag(pluginClass, 'usage');
|
||||||
const description = getTag(pluginClass, 'description');
|
const description = getTag(pluginClass, 'description');
|
||||||
|
const premierSlug = getTag(pluginClass, 'premierSlug');
|
||||||
return {
|
return {
|
||||||
packageName,
|
packageName,
|
||||||
displayName,
|
displayName,
|
||||||
@ -58,7 +60,8 @@ function processPlugin(pluginModule): Plugin {
|
|||||||
repo: decorator.repo,
|
repo: decorator.repo,
|
||||||
cordovaPlugin: {
|
cordovaPlugin: {
|
||||||
name: decorator.plugin
|
name: decorator.plugin
|
||||||
}
|
},
|
||||||
|
premierSlug
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Android Permissions
|
* @name Android Permissions
|
||||||
|
* @premierSlug android-permissions
|
||||||
* @description
|
* @description
|
||||||
* This plugin is designed to support Android new permissions checking mechanism.
|
* This plugin is designed to support Android new permissions checking mechanism.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user