Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-mobify-cloud

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-mobify-cloud

A plugin for working with Mobify projects

  • 1.1.0
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
3
Weekly downloads
 
Created
Source

mobify-upload

Push builds to the Mobify Cloud

Example config

'mobify-upload': {
    options: {
        projectSlug: 'mobify-test',
        settingsFile: './.local-settings'
    },
    src: ['bld/**', '!bld/test/test-credentials']
}

Refer to grunt's globbing patterns to specify file paths (http://gruntjs.com/api/grunt.file#globbing-patterns)

Optional Options

origin

type: string

You can optionally specify the origin of the endpoint where you want to upload your build. It defaults to cloud.mobify.com

options: {
    origin: 'https://cloud-test.mobify.com'
}

message

type: string

You probably want to send up some sort of descriptive message with your build. When you run the grunt task you can specify your message like this:

grunt mobify-upload --message="An informative and witty build message."

deploy-to-target

type: string

You can specify a target for the bundle and it will be auto-deployed to this target after the upload completes. This is useful for making the latest build of a project available automatically via a build server, for example.

grunt mobify-upload --deploy-to-target="ci-development"

mobify-save_credentials

save your email and mobify api_key for future use

This will store your email and api key in a file which can be accessed when you upload your builds to the mobify cloud. You can specify the location of the file in your Gruntfile like so:

'mobify-save_credentials': {
    src: '/Users/myself/.mobify'
}

Then to save your credentials run this command with your credentials:

grunt mobify-save_credentials --user="user@mobify.com" --key="5up3rR4Nd0mK3y"

mobify-verify_adaptive_dependencies

Verifies your package.json and bower.json files against the Mobify Cloud.

grunt mobify-verify_adaptive_dependencies

Deploy

To deploy this plugin you need to specify some environment variables that specify your github username and password.

export GITHUB_USERNAME='foobarnerson'
export GITHUB_PASSWORD='myaccesstoken'

Keywords

FAQs

Package last updated on 05 Feb 2015

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