Skip to content

Commit

Permalink
Move Yargs to devDependencies (#24496)
Browse files Browse the repository at this point in the history
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: #24496

Differential Revision: D14982834

Pulled By: cpojer

fbshipit-source-id: 81b6be413b2037e1b852cba91f4a2c04267ae930
  • Loading branch information
radeno authored and facebook-github-bot committed Apr 17, 2019
1 parent 62bac80 commit 30a0ce2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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": {
Expand Down

0 comments on commit 30a0ce2

Please sign in to comment.