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

grunt-mobify-cloud

Package Overview
Dependencies
Maintainers
6
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-mobify-cloud

Grunt plugins used by Adaptive.js projects to interact Mobify's Preview and Release Console

  • 1.2.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
6
Weekly downloads
 
Created
Source

Grunt Tasks

grunt-mobify-cloud provides three Grunt tasks used for building Adaptive.js projects:

  • mobify-upload: Builds a bundle and pushes it to the Mobify Cloud using saved credentials.
  • mobify-save_credentials: Saves your Mobify Cloud credentials.
  • mobify-verify_adaptive_dependencies: Verifies that the installed dependancies are valid.

mobify-upload

Builds a bundle and pushes it to the Mobify Cloud using your saved credentials.

'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.

Options

  • origin: Where to upload the bundle. Defaults to https://cloud.mobify.com/.

    grunt mobify-upload --origin="http://cloud-test.mobify.com/"
    
  • message: A descriptive message to be associated with the bundle.

    grunt mobify-upload --message="An informative and witty bundle message."
    
  • deploy-to-target: Deploys the bundle to a target after it is uploaded. Useful for build servers.

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

mobify-save_credentials

Stores your email and API key so it can be used for uploads.

'mobify-save_credentials': {
    // The location where the credentials will be stored.
    src: '/Users/myself/.mobify'
}

To save 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

Deployment

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'

Development

Testing

grunt test

Releasing

To release a new version of this package:

  1. grunt test
  2. Bump version in package.json.
  3. Update the CHANGELOG.
  4. Create a new release on GitHub.
  5. npm publish

Keywords

FAQs

Package last updated on 24 Sep 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