Skip to content

Instantly share code, notes, and snippets.

@brianhyder
Last active September 25, 2016 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianhyder/a802d1eab62d4c6ad2248cf879f0ba64 to your computer and use it in GitHub Desktop.
Save brianhyder/a802d1eab62d4c6ad2248cf879f0ba64 to your computer and use it in GitHub Desktop.
Plugin with Bower Dependencies
{
"uid": "sample",
"name": "Sample Plugin",
"description": "This is a sample description just to give an idea of what this field should contain. Provide details about the overall goal of the plugin along with any details information",
"version": "0.2.0",
"pb_version": ">=0.6.x <1.x",
"icon": "/imgs/sample.ico",
"author": {
"name": "John Doe",
"email": "john.doe@customdev.com",
"website": "http://www.customdev.com",
"contributors": [
{
"name": "Jane Doe",
"email": "jane.doe@customdev.com"
}
]
},
"settings": [
{
"displayName": "SAMPLE_NUMBER_SETTING",
"group": "SAMPLE_GROUP1",
"name": "pencilblue_sample_number_setting",
"value": 123
},
{
"displayName": "SAMPLE_STRING_SETTING",
"group": "SAMPLE_GROUP1",
"name": "pencilblue_sample_string_setting",
"value": "abc"
},
{
"displayName": "SAMPLE_BOOL_SETTING",
"group": "SAMPLE_GROUP2",
"name": "pencilblue_sample_boolean_setting",
"value": true
}
],
"permissions": {
"ACCESS_USER": ["sample_view"],
"ACCESS_WRITER": ["sample_view", "sample_save"],
"ACCESS_EDITOR": ["sample_view", "sample_save", "sample_delete"],
"ACCESS_MANAGING_EDITOR": ["sample_view", "sample_save", "sample_delete"]
},
"main_module": {
"path": "sample.js"
},
"theme": {
"settings": [
{
"displayName": "SAMPLE_BOOL_THEME_SETTING",
"group": "SAMPLE_GROUP1",
"name": "pencilblue_sample_theme_number_setting",
"value": 456
},
{
"displayName": "SAMPLE_BOOL_THEME_SETTING",
"group": "SAMPLE_GROUP2",
"name": "pencilblue_sample_theme_string_setting",
"value": "789"
},
{
"displayName": "SAMPLE_BOOL_THEME_SETTING",
"group": "SAMPLE_GROUP2",
"name": "pencilblue_sample_theme_boolean_setting",
"value": true
}
],
"content_templates":
[
{
"file": "index",
"name": "Default"
},
{
"file": "index",
"name": "Same as Default"
}
]
},
"dependencies": {
"mime-type": "^2.1.11"
},
"bowerDependencies": {
"doT": "~0.2.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment