/generator-zotero-plugin

Generate zotero plugin build scaffolding

Primary LanguageTypeScriptMIT LicenseMIT

generator-zotero-plugin

Generate a Zotero Plugin scaffold

Installation

First, install Yeoman and generator-zotero-plugin using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-zotero-plugin

Then generate your new project:

mkdir zotero-my-fantastic-plugin
cd zotero-my-fantastic-plugin
yo zotero-plugin

After that:

npm run build

to build

npm version patch

to release a new version (if you are on the main/master branch)

npm start

to start zotero with your plugin loaded (edit zotero-plugin.ini first)