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

@mobify/generator

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mobify/generator

Mobify Platform Generator

0.3.0
Source
npm
Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

Platform Generator CLI

How to install

Prerequisites

Node 6.x

Installation

Make sure you have access to the Mobify Platform Generator npm repo. For that:

  • npm login with your credentials
  • Ask Mobify to invite you as a collaborator to @mobify/generator

Then simply run:

npm install -g @mobify/generator

How to run

mobify create

will run a globally installed mobify command.

If you want to run your local setup:

# Make sure you have the server running, 'make run' in 'server' folder
export API_TOKEN=123
export API_URL=http://localhost:5000/api
npm start -- create

How to test

npm test

How to deploy

Increase the version in the package.json, then run:

npm publish

Owner

Platform team.

Development

We use commander to parse command line arguments, support options and show help page for the cli command.

When you develop you can use the double dash (--) to pass parameters to the cli command using npm start. For example:

npm start -- create
npm start -- -h

inquirer is used to support rich interactive cli prompts.

FAQs

Package last updated on 08 May 2017

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