TimOetting / kirby-gallery

A gallery field for Kirby CMS
MIT License
92 stars 7 forks source link

add package.json to allow for Kirby cli installation #3

Closed digiltd closed 8 years ago

digiltd commented 8 years ago

Hi

Any chance you can add a package.json file the to the root of the repo?

{
    "name": "kirby-gallery",
    "description": "A gallery field for Kirby CMS",
    "author": "Tim Ötting <tim@whateveryouremailaddresis.com>",
    "license": "MIT",
    "version": "1.1",
    "type": "kirby-field"
}

Then Kirby cli users can install easily withkirby plugin:install TimOetting/kirby-gallery

Thanks

jorgemartins commented 8 years ago

"name": "kirby-gallery", CLI creates a folder, and the folder should have the same name as the PHP file inside, that is gallery.php, so it should be: "name": "gallery",