Socket
Socket
Sign inDemoInstall

@avocadojs/cli

Package Overview
Dependencies
67
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @avocadojs/cli

Avocado: The universal App container


Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

AvocadoJS CLI

The AvocadoJS command-line interface should be installed locally and executed through npm scripts.

npm install @avocado/cli --save-dev

Local Commands

Below is an example of running Avocado commands from a webapp's npm scripts within the local package.json file.

package.json scripts

  scripts: {
    "avocado.create": "avocado create",
    "avocado.sync": "avocado sync"
    "build": "tsc && npm run avocado.sync"
  }

CLI Commands

sync [platform]     updates + copy
update [platform]   updates the native plugins and dependencies based in package.json
copy [platform]     copies the web app build into the native app
open [platform]     opens the native project workspace (xcode for iOS)
create [platform]   create a native project
doctor [platform]   checks the current setup for common errors
plugin:generate     start a new avocado plugin

Keywords

FAQs

Last updated on 06 Dec 2017

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc