
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
grunt-marketplace
Advanced tools
Grunt plugin to validate and publish webapps to the Firefox OS Marketplace
Grunt plugin to validate and publish webapps to the Firefox OS Marketplace.
Currently WIP (mainly because the underlying module doesn't support packaged apps yet).
This plugin requires Grunt ~0.4.5
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-marketplace --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-marketplace');
In your project's Gruntfile, add a section named marketplace
to the data object passed into grunt.initConfig()
.
grunt.initConfig({
marketplaceCreds: grunt.file.readJSON('credentials.json'),
marketplace: {
options: {
consumerKey: '<%= marketplaceCreds.key %>',
consumerSecret: '<%= marketplaceCreds.secret %>',
environment: 'production'
},
web: [
'manifest.webapp'
]
},
});
Type: String
Default value: none
Your marketplace API key. To avoid writing the key and secret directly into your code, consider loading them from a json file, like in the code above. If you don't have API keys yet, go to the Firefox Marketplace API Page and generate a key and secret for a command line application.
Type: String
Default value: none
Your marketplace API secret for the key. To avoid writing the key and secret directly into your code, consider loading them from a json file, like in the code above. If you don't have API keys yet, go to the Firefox Marketplace API Page and generate a key and secret for a command line application.
Type: String
Default value: 'production'
Which instance of the Firefox Marketplace to use. 'production'
is the normal one, hosted at http://marketplace.firefox.com, while 'development'
is for the Beta Firefox Market Place.
Type: String
Default value: Name of the grunt target if it's a valid target name, else 'web'
What kind of app to push to the marketplace. Can be 'web'
for a hosted app with a manifest.webapp
or 'packaged'
for a packaged app.
FAQs
Grunt plugin to validate and publish webapps to the Firefox OS Marketplace
We found that grunt-marketplace demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.