ANN Python jQuery Plugin Boilerplate generator

Andrea Stagi stagi.andrea at gmail.com
Wed Sep 2 08:30:25 CEST 2015


Hi,

I've finally released the jQuery Plugin Boilerplate generator used
internally at Nephila, a python script to generate boilerplate code to
crete a jQuery plugin. You can find the source code on Github
https://github.com/nephila/jquerypluginbp

To install it just type

    pip install jquerypluginbp

Run jquerypluginbp with the path your plugin.json manifest file

    $ jquerypluginbp yourmanifest.plugin.json

You can also specify the destination path

    $ jquerypluginbp yourmanifest.plugin.json -d destination_path

A real life example of manifest file:

    {
        "name": "vimeoplaylist",
        "title": "jQuery Vimeo Playlist Plugin",
        "description": "jQuery plugin for creating your playlists with
Vimeo.",
        "keywords": [
            "vimeo",
            "playlist",
            "video"
        ],
        "version": "0.2.0",
        "author": {
            "name": "Nephila"
        },
        "maintainers": [
            {
                "name": "Andrea Stagi",
                "email": "stagi.andrea at gmail.com",
                "url": "http://github.com/astagi"
            }
        ],
        "licenses": [
            {
                "type": "MIT",
                "url": "
https://github.com/nephila/jquery-vimeoplaylist/blob/master/LICENSE"
            }
        ],
        "bugs": "https://github.com/nephila/jquery-vimeoplaylist/issues",
        "homepage": "https://github.com/nephila/jquery-vimeoplaylist",
        "download": "https://github.com/nephila/jquery-vimeoplaylist",
        "dependencies": {
            "jquery": ">=1.7"
        }
    }

-- 
Andrea Stagi (@4stagi) - Develover @Nephila
Job profile: http://linkedin.com/in/andreastagi
Website: http://4spills.blogspot.it/
Github: http://github.com/astagi


More information about the Python-announce-list mailing list