Socket
Socket
Sign inDemoInstall

buddy-cli

Package Overview
Dependencies
3
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

buddy-cli


Version published
Maintainers
1
Created

Readme

Source

buddy-cli

The buddy-cli allows local versions of the buddy(1) command to be run directly from the command line without any additional setup. This allows different versions of the buddy tool to be run from different projects, without any conflict.

NOTE: version 0.5.0+ is only compatible with buddy versions 0.10.0+ and up

Installation

# If necessary, first uninstall your existing buddy global install
$ npm -g uninstall buddy

$ npm -g install buddy-cli

Usage

Usage: buddy [options] <command> [path/to/package.json || path/to/buddy.js || path/to/buddy.json]

Commands:

  init                   set up a basic buddy project
  install [config]       install dependencies [ADD-ON buddy-dependencies]
  build [config]         build js and css sources
  watch [config]         watch js and css source files and build changes
  deploy [config]        build compressed js and css sources
  ls                     list all previously created files and directories
  clean                  remove all previously created files and directories

Options:

  -h, --help             output usage information
  -V, --version          output the version number
  -t, --targets [types]  optional comma separated list of target(s) to build [js,css,html]
  -c, --compress         compress output for production deployment
  -l, --lint             check output for syntax and logic errors
  -r, --reload           reload all connected live-reload clients on file change during watch [ADD-ON buddy-server]
  -s, --serve            create a webserver to serve static files during watch [ADD-ON buddy-server]
  -S, --script           run script on build completion
  -L, --lazy             convert js modules for lazy evaluation
  -v, --verbose          print all messages for debugging

The init command will walk you through the basic set-up of a package.json file, installing a local copy of buddy in the process:

$ buddy init
This utility will walk you through a basic buddy package.json set-up.
+ project name:
  ...

Once installed, run buddy as described here:

Keywords

FAQs

Last updated on 06 Jun 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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc