[OE-core] npm thoughts
Trevor Woerner
twoerner at gmail.com
Tue Feb 28 18:19:24 UTC 2017
In face-to-face conversations there was an expressed opinion that it would be
great if npm had a "--dry-run" -type option to list off the dependencies of a
package.json file.
As it turns out, it does!
$ npm install --dry-run
electron-quick-start at 1.0.0 /z/npm/source/electron-quick-start.git
└─┬ electron at 1.4.15
├─┬ electron-download at 3.3.0
│ ├─┬ debug at 2.6.1
│ │ └── ms at 0.7.2
│ ├─┬ fs-extra at 0.30.0
│ │ ├── graceful-fs at 4.1.11
│ │ ├── jsonfile at 2.4.0
│ │ ├── klaw at 1.3.1
│ │ ├── path-is-absolute at 1.0.1
│ │ └─┬ rimraf at 2.6.1
│ │ └─┬ glob at 7.1.1
│ │ ├── fs.realpath at 1.0.0
│ │ ├─┬ inflight at 1.0.6
│ │ │ └── wrappy at 1.0.2
│ │ ├─┬ minimatch at 3.0.3
│ │ │ └─┬ brace-expansion at 1.1.6
│ │ │ ├── balanced-match at 0.4.2
│ │ │ └── concat-map at 0.0.1
│ │ └── once at 1.4.0
│ ├── home-path at 1.0.3
│ ├── minimist at 1.2.0
│ ├─┬ nugget at 2.0.1
│ │ ├─┬ pretty-bytes at 1.0.4
│ │ │ ├── get-stdin at 4.0.1
│ │ │ └─┬ meow at 3.7.0
│ │ │ ├─┬ camelcase-keys at 2.1.0
│ │ │ │ └── camelcase at 2.1.1
│ │ │ ├── decamelize at 1.2.0
│ │ │ ├─┬ loud-rejection at 1.6.0
│ │ │ │ ├─┬ currently-unhandled at 0.4.1
│ │ │ │ │ └── array-find-index at 1.0.2
│ │ │ │ └── signal-exit at 3.0.2
│ │ │ ├── map-obj at 1.0.1
│ │ │ ├─┬ normalize-package-data at 2.3.5
│ │ │ │ ├── hosted-git-info at 2.2.0
│ │ │ │ ├─┬ is-builtin-module at 1.0.0
│ │ │ │ │ └── builtin-modules at 1.1.1
│ │ │ │ └─┬ validate-npm-package-license at 3.0.1
│ │ │ │ ├─┬ spdx-correct at 1.0.2
│ │ │ │ │ └── spdx-license-ids at 1.2.2
│ │ │ │ └── spdx-expression-parse at 1.0.4
│ │ │ ├── object-assign at 4.1.1
│ │ │ ├─┬ read-pkg-up at 1.0.1
│ │ │ │ ├── find-up at 1.1.2
│ │ │ │ └─┬ read-pkg at 1.1.0
│ │ │ │ ├─┬ load-json-file at 1.1.0
│ │ │ │ │ ├─┬ parse-json at 2.2.0
│ │ │ │ │ │ └─┬ error-ex at 1.3.0
│ │ │ │ │ │ └── is-arrayish at 0.2.1
│ │ │ │ │ ├── pify at 2.3.0
│ │ │ │ │ └─┬ strip-bom at 2.0.0
│ │ │ │ │ └── is-utf8 at 0.2.1
│ │ │ │ └── path-type at 1.1.0
│ │ │ ├─┬ redent at 1.0.0
│ │ │ │ ├─┬ indent-string at 2.1.0
│ │ │ │ │ └─┬ repeating at 2.0.1
│ │ │ │ │ └── is-finite at 1.0.2
│ │ │ │ └── strip-indent at 1.0.1
│ │ │ └── trim-newlines at 1.0.0
│ │ ├─┬ progress-stream at 1.2.0
│ │ │ ├── speedometer at 0.1.4
│ │ │ └─┬ through2 at 0.2.3
│ │ │ ├─┬ readable-stream at 1.1.14
│ │ │ │ └── isarray at 0.0.1
│ │ │ └─┬ xtend at 2.1.2
│ │ │ └── object-keys at 0.4.0
│ │ ├─┬ request at 2.79.0
│ │ │ ├── aws-sign2 at 0.6.0
│ │ │ ├── aws4 at 1.6.0
│ │ │ ├── caseless at 0.11.0
│ │ │ ├─┬ combined-stream at 1.0.5
│ │ │ │ └── delayed-stream at 1.0.0
│ │ │ ├── extend at 3.0.0
│ │ │ ├── forever-agent at 0.6.1
│ │ │ ├─┬ form-data at 2.1.2
│ │ │ │ └── asynckit at 0.4.0
│ │ │ ├─┬ har-validator at 2.0.6
│ │ │ │ ├─┬ chalk at 1.1.3
│ │ │ │ │ ├── ansi-styles at 2.2.1
│ │ │ │ │ ├── escape-string-regexp at 1.0.5
│ │ │ │ │ ├── has-ansi at 2.0.0
│ │ │ │ │ └── supports-color at 2.0.0
│ │ │ │ ├─┬ commander at 2.9.0
│ │ │ │ │ └── graceful-readlink at 1.0.1
│ │ │ │ └─┬ is-my-json-valid at 2.16.0
│ │ │ │ ├── generate-function at 2.0.0
│ │ │ │ ├─┬ generate-object-property at 1.2.0
│ │ │ │ │ └── is-property at 1.0.2
│ │ │ │ ├── jsonpointer at 4.0.1
│ │ │ │ └── xtend at 4.0.1
│ │ │ ├─┬ hawk at 3.1.3
│ │ │ │ ├── boom at 2.10.1
│ │ │ │ ├── cryptiles at 2.0.5
│ │ │ │ ├── hoek at 2.16.3
│ │ │ │ └── sntp at 1.0.9
│ │ │ ├─┬ http-signature at 1.1.1
│ │ │ │ ├── assert-plus at 0.2.0
│ │ │ │ ├─┬ jsprim at 1.3.1
│ │ │ │ │ ├── extsprintf at 1.0.2
│ │ │ │ │ ├── json-schema at 0.2.3
│ │ │ │ │ └── verror at 1.3.6
│ │ │ │ └─┬ sshpk at 1.10.2
│ │ │ │ ├── asn1 at 0.2.3
│ │ │ │ ├── assert-plus at 1.0.0
│ │ │ │ ├── bcrypt-pbkdf at 1.0.1
│ │ │ │ ├─┬ dashdash at 1.14.1
│ │ │ │ │ └── assert-plus at 1.0.0
│ │ │ │ ├── ecc-jsbn at 0.1.1
│ │ │ │ ├─┬ getpass at 0.1.6
│ │ │ │ │ └── assert-plus at 1.0.0
│ │ │ │ ├── jodid25519 at 1.0.2
│ │ │ │ ├── jsbn at 0.1.1
│ │ │ │ └── tweetnacl at 0.14.5
│ │ │ ├── is-typedarray at 1.0.0
│ │ │ ├── isstream at 0.1.2
│ │ │ ├── json-stringify-safe at 5.0.1
│ │ │ ├─┬ mime-types at 2.1.14
│ │ │ │ └── mime-db at 1.26.0
│ │ │ ├── oauth-sign at 0.8.2
│ │ │ ├── qs at 6.3.1
│ │ │ ├── stringstream at 0.0.5
│ │ │ ├─┬ tough-cookie at 2.3.2
│ │ │ │ └── punycode at 1.4.1
│ │ │ ├── tunnel-agent at 0.4.3
│ │ │ └── uuid at 3.0.1
│ │ ├─┬ single-line-log at 1.1.2
│ │ │ └─┬ string-width at 1.0.2
│ │ │ ├── code-point-at at 1.1.0
│ │ │ ├─┬ is-fullwidth-code-point at 1.0.0
│ │ │ │ └── number-is-nan at 1.0.1
│ │ │ └─┬ strip-ansi at 3.0.1
│ │ │ └── ansi-regex at 2.1.1
│ │ └── throttleit at 0.0.2
│ ├─┬ path-exists at 2.1.0
│ │ └─┬ pinkie-promise at 2.0.1
│ │ └── pinkie at 2.0.4
│ ├─┬ rc at 1.1.7
│ │ ├── deep-extend at 0.4.1
│ │ ├── ini at 1.3.4
│ │ └── strip-json-comments at 2.0.1
│ ├── semver at 5.3.0
│ └─┬ sumchecker at 1.3.0
│ └── es6-promise at 4.0.5
└─┬ extract-zip at 1.6.0
├─┬ concat-stream at 1.5.0
│ ├── inherits at 2.0.3
│ ├─┬ readable-stream at 2.0.6
│ │ ├── core-util-is at 1.0.2
│ │ ├── isarray at 1.0.0
│ │ ├── process-nextick-args at 1.0.7
│ │ ├── string_decoder at 0.10.31
│ │ └── util-deprecate at 1.0.2
│ └── typedarray at 0.0.6
├── debug at 0.7.4
├─┬ mkdirp at 0.5.0
│ └── minimist at 0.0.8
└─┬ yauzl at 2.4.1
└─┬ fd-slicer at 1.0.1
└── pend at 1.2.0
More information about the Openembedded-core
mailing list