New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

grunt-firefoxos

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-firefoxos

Firefox OS grunt tasks

  • 0.1.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

grunt-firefoxos

Firefox OS tasks for Grunt.

You may also be interested in generator-firefoxos, a Firefox OS app generator for Yeoman.

Getting Started

This plugin requires Grunt ~0.4.1

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-firefoxos --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-firefoxos');

The tasks

Install an app (ffospush)

This task will push the app to a Firefox OS device, installing it like if it were an app from the Marketplace.

grunt.initConfig({
  ffospush: {
    app: {
      appId: 'your-app-id', // unique app identifier
      zip: 'application.zip' // zip with your app
    }
  },
});

Then run the task with:

$ grunt ffospush

Note that you can have several targets for this task:

grunt.initConfig({
  ffospush: {
    rc: {
      appId: 'your-app-rc',
      zip: 'application-rc.zip'
    },
    stable: {
      appId: 'your-app-stable',
      zip: 'application-stable.zip'
    }
  }
});

Reboot the device (ffosreset)

You can reboot B2G with ffosreset. Note that this task does not have targets or config options.

Usage:

$ grunt ffosreset

Output the log (ffoslog)

This will output the device's log (the content from adb logcat). This task does not have targets or config options.

Usage:

$ grunt ffoslog

Release History

  • 26-June-2013: First version.

Keywords

FAQs

Package last updated on 27 Oct 2014

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc