0.1.1 • Published 2 years ago

reach-installer v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

reach-installer

A simple Node.js installer for the Reach command line tool. Can be used to install reach globally or within your local package to e.g. automate package scripts.

Installation

To install locally:

$ npm install -D reach-installer

To install globally:

$ npm install -g reach-installer

Usage

You can use reach in your package scripts like this:

// package.json:

{
  ...
  "scripts": {
    "compile": "REACH_CONNECTOR_MODE=ALGO reach compile"
  }
}

Alternatively, you can run the local reach executable using npx:

$ npx reach compile

If you installed the package globally it should be available in your PATH and you should be able to just run reach from your terminal emulator.