Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

schema: plugins

Brian Muenzenmeyer edited this page Apr 20, 2018 · 1 revision
{
  "$id": "Pattern Lab Node | plugins", 
  "type": "array", 
  "definitions": {}, 
  "$schema": "http://json-schema.org/draft-07/schema#", 
  "items": {
    "$id": "Pattern Lab Node | plugins/items", 
    "type": "object", 
    "properties": {
      "name": {
        "$id": "Pattern Lab Node | plugins/items/properties/name", 
        "type": "string", 
        "examples": [
          "pattern-lab/@pattern-lab/plugin-tab"
        ]
      }, 
      "templates": {
        "$id": "Pattern Lab Node | plugins/items/properties/templates", 
        "type": "array"
      }, 
      "stylesheets": {
        "$id": "Pattern Lab Node | plugins/items/properties/stylesheets", 
        "type": "array"
      }, 
      "javascripts": {
        "$id": "Pattern Lab Node | plugins/items/properties/javascripts", 
        "type": "array", 
        "items": {
          "$id": "Pattern Lab Node | plugins/items/properties/javascripts/items", 
          "type": "string", 
          "examples": [
            "patternlab-components/pattern-lab/@pattern-lab/plugin-tab/js/@pattern-lab/plugin-tab.js"
          ]
        }
      }, 
      "onready": {
        "$id": "Pattern Lab Node | plugins/items/properties/onready", 
        "type": "string", 
        "examples": [
          "PluginTab.init()"
        ]
      }, 
      "callback": {
        "$id": "Pattern Lab Node | plugins/items/properties/callback", 
        "type": "string", 
        "examples": [
          ""
        ]
      }, 
      "tabsToAdd": {
        "$id": "Pattern Lab Node | plugins/items/properties/tabsToAdd", 
        "type": "array", 
        "items": {
          "$id": "Pattern Lab Node | plugins/items/properties/tabsToAdd/items", 
          "type": "string", 
          "examples": [
            ".json"
          ]
        }
      }
    }
  }
}
Clone this wiki locally