From b4c987399f7cbb170aed529b78c2dd967c579fca Mon Sep 17 00:00:00 2001 From: Chris Breiding Date: Thu, 16 Mar 2017 10:10:32 -0400 Subject: [PATCH] move cli bin to root --- {packages/core-cli/bin => bin}/cypress | 2 +- package.json | 3 +++ packages/core-cli/package.json | 3 --- 3 files changed, 4 insertions(+), 4 deletions(-) rename {packages/core-cli/bin => bin}/cypress (56%) diff --git a/packages/core-cli/bin/cypress b/bin/cypress similarity index 56% rename from packages/core-cli/bin/cypress rename to bin/cypress index ca17f8ad7e..a8dc9335fa 100755 --- a/packages/core-cli/bin/cypress +++ b/bin/cypress @@ -1,4 +1,4 @@ #!/usr/bin/env node require("coffee-script/register") -require("../lib/cli.coffee")() \ No newline at end of file +require("../packages/core-cli/lib/cli")() diff --git a/package.json b/package.json index 661ed25232..0496a99853 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,9 @@ "name": "cypress-monorepo", "version": "0.0.0", "main": "index.js", + "bin": { + "cypress": "bin/cypress" + }, "scripts": { "postinstall": "npm run all install", "start": "node lib/run.js", diff --git a/packages/core-cli/package.json b/packages/core-cli/package.json index c8dce96349..2e6bddf465 100644 --- a/packages/core-cli/package.json +++ b/packages/core-cli/package.json @@ -37,9 +37,6 @@ "xvfb": "cypress-io/node-xvfb", "yauzl": "^2.4.1" }, - "bin": { - "cypress": "bin/cypress" - }, "devDependencies": { "@cypress/core-releaser": "0.1.8", "chai": "^3.2.0",