Package Exports
- envinfo
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (envinfo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
envinfo
Reporting issues is a pain. Responding to issues is a pain. Make it a bit better.
Installation
You can either install this package globally:
npm install -g envinfo
Or just install npx!
npm install -g npx
No need to install envinfo - npx will install and run it for you!
Usage
Installed globally: envinfo
Via npx: npx envinfo
Environment:
OS: macOS Sierra
Node: v8.0.0
Yarn: 0.24.5
npm: 5.0.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
Node: v7.10.0
Yarn: 0.24.5
npm: 4.2.0
Xcode: Xcode 8.3.3 Build version 8E3004b
Android Studio: 2.3 AI-162.3934792
react: 16.0.0-alpha.6
react-native: 0.44.0
Or all of your packages like this:
envinfo --packages
Environment:
OS: macOS Sierra
Node: v7.10.0
Yarn: 0.24.5
npm: 4.2.0
Xcode: Xcode 8.3.3 Build version 8E3004b
Android Studio: 2.3 AI-162.3934792
eslint: ^4.0.0
prettier-eslint-cli: ^4.1.1
chalk: ^1.1.3
minimist: ^1.2.0
os-name: ^2.0.1
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.