Socket
Socket
Sign inDemoInstall

zx

Package Overview
Dependencies
94
Maintainers
1
Versions
119
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    zx

A CLI tool for running command shortcuts.


Version published
Weekly downloads
492K
increased by6.37%
Maintainers
1
Install size
1.87 MB
Created
Weekly downloads
 

Readme

Source

zx

A CLI tool for running command shortcuts.

Dependency Status Build Status npm version

Installation

npm install -g zx

Usage

Create a file called zx.yaml containing the shortcuts. E.g.:

minify: gulp minify
clear: rm -rf dist
run: node server
reminify:
  - rm -rf dist
  - gulp minify

# You can also optionally specify the working directory of the command
minify:
  cwd: ./my-project
  command: gulp minify

# or set some environment variables for the child process
minify:
  env:
    NODE_ENV: production
  command: gulp minify

Execute the shortcuts by running zx and the name of the shortcut in the console. E.g.: zx minify.

License

The MIT License (MIT)

Keywords

FAQs

Last updated on 15 Jan 2016

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