Skip to content

KellisLab/generator-mantis

Repository files navigation

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.

generator-mantis on npm

Install

You need Node.js (includes npm).

Install from npm:

npm install -g yo generator-mantis

Check Yeoman sees it:

yo --generators

(mantis should appear in the list.)

Upgrade later:

npm update -g generator-mantis

Usage

In an empty directory:

yo mantis
node pack-bundle.cjs

Import package.mantisx or bundle.json in Mantis. Add another panel from the same folder:

yo mantis:panel

Develop 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 mantis

Contributing

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.

About

Yeoman generator for Mantis extension bundles

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors