This package has been deprecated
Firefox Marketplace no longer exists
fx-marketplace-publish0.1.2 • Public • Published
Easily publish an application on the Firefox Marketplace
Install the package in your project using
npm install --save fx-marketplace-publish.
The options object can have the following properties:
path: Path to the webapp manifest in the web, or to a local packaged application
consumerKey: Your consumer API key for the marketplace, inherited from node-firefox-marketplace, see their documentation for more info.
consumerSecret: Your consumer API secret for the marketplace, inherited from node-firefox-marketplace, see their documentation for more info.
environment: The marketplace you want to publish to, inherited from node-firefox-marketplace, see their documentation for more info. Defaults to
type: Optional webapp type specifier. Can be either
"packaged". Else the type is sniffed from the file extension in the
Returns a Promise, which resolves when the app is successfully published on the firefox marketplace, and gets rejected whenever an error occurs, including a failed validation.
This code snippet publishes a webapp packaged in
dist/my-webapp.zip in the production environment of Firefox Marketplace (http://marketplace.firefox.com).
var publish = ;;
This project is licensed under the MPL-2.0.