From 30a0ce27b149f842c5ac0635249e19dd0a99a48d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radovan=20=C5=A0mitala?= Date: Wed, 17 Apr 2019 13:50:22 -0700 Subject: [PATCH] Move Yargs to devDependencies (#24496) Summary: Yargs package is used only in test scripts and script for bumping version. Based on this https://github.com/facebook/react-native/search?q=yargs&unscoped_q=yargs Yargs is not really required in production build and should be moved as development dependency. [General] [Changed] - Moved Yargs to devDepencies Pull Request resolved: https://github.com/facebook/react-native/pull/24496 Differential Revision: D14982834 Pulled By: cpojer fbshipit-source-id: 81b6be413b2037e1b852cba91f4a2c04267ae930 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 82373a8e334342..e5360cb403b373 100644 --- a/package.json +++ b/package.json @@ -107,8 +107,7 @@ "prop-types": "^15.7.2", "react-devtools-core": "^3.6.0", "regenerator-runtime": "^0.13.2", - "stacktrace-parser": "^0.1.3", - "yargs": "^9.0.0" + "stacktrace-parser": "^0.1.3" }, "devDependencies": { "@babel/core": "^7.0.0", @@ -143,6 +142,7 @@ "react-native-dummy": "0.2.0", "react-test-renderer": "16.8.6", "shelljs": "^0.7.8", + "yargs": "^9.0.0", "ws": "^6.1.4" }, "detox": {