Skip to content
This repository has been archived by the owner on Oct 11, 2018. It is now read-only.
Florian Bürger edited this page May 24, 2014 · 5 revisions

Spec Format Proposal

{
    "name": "Name for the plugin",
    "short_description": "A short description",
    "description": "A longer description displayed that can contain Markdown.",
    "version": "1.0.2",
    "homepage": "http://github.com/",
    "repository": {
        "type": "git",
        "url": "https://github.com/shahruz/Sketch-Toolbox/"
    },
    "license": {
        "type": "MIT",
        "url": "https://github.com/shahruz/Sketch-Toolbox/LICENSE-MIT"
    },
    "authors": [{
        "name": "Samlad Bunce",
        "url": "http://CPADirectories.com",
        "social": [{
            "googleplus": "https://plus.google.com/+SamladBunce"
        }]
    }, {
        "name": "Linda Twofoot",
        "url": "http://author-b.com",
        "social": [{
            "twitter": "http://twitter.com/@lindatwofoot"
        }]

    }],
    "image": "an optional image path or empty string",
    "categories": [
        "generator",
        "grid",
        "data"
    ]
}

Central Spec Repo

Maybe we can do something similar to the (old) CocoaPods way. The root directory contains a directory for every plugins. Inside the plugin folder are the available versions and their spec file.

.
├── android-assets
│   └── 0.3.2
│       └── android-assets.json
├── auto-export-assets
│   ├── 0.4.0
│   │   └── auto-export-assets.json
│   └── 0.4.1
│       └── auto-export-assets.json
├── content-generator
│   ├── 0.4.0
│   │   └── content-generator.json
│   └── 0.5.0
│       └── content-generator.json
└── day-player
    ├── 0.9.0
    │   └── day-player.json
    ├── 1.0.0
    │   └── day-player.json
    └── 1.0.1
        └── day-player.json

Clone this wiki locally