JSPM

zx

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1082159
  • Score
    100M100P100Q170776F
  • License MIT

A CLI tool for running command shortcuts.

Package Exports

  • zx

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (zx) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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)