* added getProxy
getProxy checks proxy settings from process.env.https_proxy or Yarn (NPM) config (.npmrc)
* changed yarn for npm to get https-proxy
default value for https-proxy is null, not undefined like in yarn
awk splits lines based on spaces, which causes directory names with spaces to end up in other fields. Using a for loop allows us to print from the 9th field onwards instead of just the 9th field.
Added some more documentation to install the babel-preset-react-app making it more clear on how to get started with this preset outside of create-react-app.
* Better documentation for setupTests.js when ejecting
When running `npm run eject` before creating `src/setupTests.js`, the resulting `package.json` file, won't contain any entry for it - and this is correct in my opinion, since otherwise Jest will crash - but it's useful to have it documented and avoid pointless waste of time.
* Added additional note about src/setupTests.js
Added another note about src/setupTests.js and `npm run eject` in Testing Components section
* Update README.md
* Update README.md
If create-react-app project is ejected and webpack configuration is
modified to multi build setup FileSizeReporter would fail.
In those situations `webpackStats` parameter would contain stats array
for each build. This fix will try to access stats and then falls back
to using plaing webpackStats object.
* Update the string that clears the console.
#1914
I've tested it with Windows 10 and 7, node versions from ~5.0.0 up to 7.7.0.
Didn't managed to test it on 8 but it should be fine.
* Update windows string
Add windows specific string for clearing the console.
* add support to set REACT_EDITOR to none
* change README message
* change condition to avoid problems with editor being null
* move condition to avoid extra code
* Fix path regex match bug
* Use the escape-string-regexp package to escape regex characters
* Remove redundant character escape from path
* Add removed escape of backslashes