Package Exports
- cies
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 (cies) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
dependencies
List dependencies (in your terminal)
Simple CLI to list (different types of) dependencies from a package.json file.
Why? Because:
- I think
cat package.json | json dependencies | json -kais a bit convoluted - I'm tired of using the alias
node -e '\''Object.keys(require("./package.json").dependencies).forEach(x => console.log(x))'\''on every machine - I want something slightly more robust (support for devDependencies and directories other than cwd).
Combine this CLI with nfo to easily query npm:
$ cies | xargs nfo dist-tags
next
{ latest: '4.1.0', beta: '4.0.0-beta.6' }
react
{ latest: '16.0.0',
'0.10.0-rc1': '0.10.0-rc1',
'0.11.0-rc1': '0.11.0-rc1',
next: '16.0.0-rc.3',
dev: '15.5.0-rc.2',
'0.14-stable': '0.14.9',
'15-next': '15.6.0-rc.1' }
react-dom
{ latest: '16.0.0',
next: '16.0.0-rc.3',
dev: '15.5.0-rc.2',
'0.14-stable': '0.14.9',
'15-next': '15.6.0-rc.1' }Install
$ npm i -g cies$ cies --help
List dependencies from package.json
Usage: cies [dir] [options]
Arguments:
[dir] Optional path to directory containing package.json [dir]
Options:
-d, --dev Include devDependencies [boolean]
-p, --peer Include peerDependencies [boolean]
-b, --bundled Include bundledDependencies [boolean]
-o, --optional Include optionalDependencies [boolean]
-a, --all Include dependencies from all types [boolean]
-x, --exclusive Exclude production dependencies [boolean]
-s, --sort Sort list before printing [boolean]
-h, --help Print this help content [boolean]
-v, --version Print cies program version [boolean]License
ISC © Contributors