UNPKG

rivet

Version:

Suite of utilities for working with the Rivet consumer-driven API contacts testing model.

13 lines (12 loc) 397 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var runCommand_1 = require("../runCommand"); var log_1 = require("../../lib/log"); exports.default = function (argv) { var pkg = argv.pkg; log_1.log('Linking package'); if (!pkg) { return runCommand_1.default('npm link'); } runCommand_1.default("npm link " + pkg, { cwd: process.cwd() }); };