Contributing
August 11, 2025 ยท View on GitHub
Setup
-
Fork this repo.
-
Make sure you have
nodejsandnpminstalled. Clone the repo folder and install dependencies:
git clone https://github.com/windingwind/zotero-plugin-toolkit
cd zotero-plugin-toolkit
npm install
Build
Run npm run build.
-
Package
.jsand.d.tsunder./dist; -
Documentations under
./docs.
Test Locally
Test it with your plugin or use Zotero Plugin Template as a playground.
Run npm install /path/to/this/repo under the playground repo folder, the lib will be installed from your local build.
The playground uses the latest build. No need to npm install again if you rebuild this lib.
Release
npm run release. Tagged pushes will trigger a npm-publish GitHub action.