generator-mantis
v0.0.2
Published
Scaffolds Mantis extensions (manifest, extension host, panels, optional Python backend).
Downloads
217
Maintainers
Readme
generator-mantis
Yeoman generator that scaffolds Mantis extension bundles: manifest, extension host entry, panel UI, optional Python backend, and a script that builds package.mantisx (zip for API upload) plus bundle.json.
Install
You need Node.js (includes npm).
Install from npm:
npm install -g yo generator-mantisCheck Yeoman sees it:
yo --generators(mantis should appear in the list.)
Upgrade later:
npm update -g generator-mantisUsage
In an empty directory:
yo mantis
node pack-bundle.cjsImport package.mantisx or bundle.json in Mantis. Add another panel from the same folder:
yo mantis:panelDevelop this repo
Use a git clone when hacking on the generator itself (not needed for normal use):
git clone https://github.com/KellisLab/generator-mantis.git
cd generator-mantis
npm install
npm test
npm link
yo mantisContributing
Open issues and PRs on GitHub. When changing prompts or output, keep generated mantis.extension.json aligned with the Mantis app’s extension manifest and bundle rules. Run npm test before submitting.
License
MIT — see LICENSE.
