The Python based command line tool, CFX, was what we’ve used to build, run, and test add-ons which used the Add-on SDK in the past. Last August, we released CFX 1.17 and there are no plans to release a new version. We are replacing CFX with JPM which is a NodeJS based equivalent that works on Firefox 38 and higher and will be accepted on AMO.
For now, you can continue to use CFX as AMO will still accept those add-ons but it is recommended that you start using JPM tool as it is the only one receiving updates.
Why We Switched
If you are familiar with CFX then this guide on switching to JPM should prove useful.
- JPM is easier to install, especially on Windows.
- JPM is easier to release, because CFX is Python based and is distributed as a zip file. JPM is Node-js based and is distributed through NPM.
- JPM produces smaller XPIs, because no extra files are produced*.
- JPM supports NPM packges.
We hope you enjoy JPM!
*JPM produces an
install.rdf and minimal
bootstrap.js for now, in future versions it will not.