Skip to content

Latest commit

 

History

History
59 lines (49 loc) · 1.46 KB

README.md

File metadata and controls

59 lines (49 loc) · 1.46 KB

envinfo

Reporting issues is a pain. Responding to issues is a pain. Make it a bit better.

Installation & Usage

Install this package globally:

npm install -g envinfo envinfo

Environment:
  OS:  macOS Sierra 10.12.5
  Node:  8.1.3
  Yarn:  0.27.5
  npm:  5.1.0
  Xcode:  Xcode 8.3.3 Build version 8E3004b
  Android Studio:  2.3 AI-162.3934792

Optionally add packages from your package.json: envinfo --packages react,react-native

Environment:
  OS:  macOS Sierra 10.12.5
  Node:  8.1.3
  Yarn:  0.27.5
  npm:  5.1.0
  Xcode:  Xcode 8.3.3 Build version 8E3004b
  Android Studio:  2.3 AI-162.3934792
Packages: (wanted => installed)
  react:  16.0.0-alpha.6 => 16.0.0-alpha.6
  react-native:  0.44.0 => 0.44.0

Or all of your packages like this: envinfo --packages

Environment:
  OS:  macOS Sierra 10.12.5
  Node:  8.1.3
  Yarn:  0.27.5
  npm:  5.1.0
  Xcode:  Xcode 8.3.3 Build version 8E3004b
  Android Studio:  2.3 AI-162.3934792
Packages: (wanted => installed)
  eslint: ^4.0.0 => 4.2.0
  prettier-eslint-cli: ^4.1.1 => 4.1.1
  minimist: ^1.2.0 => 1.2.0
  os-name: ^2.0.1 => 2.0.1
  which: ^1.2.14 => 1.2.14

Contributing

PRs for additional features are welcome! Run npm run lint && npm run format before commiting.

This project came out of a PR to the React Native CLI tool - issues are reported frequently without important environment information, like Node/npm versions.