Skip to content

Instantly share code, notes, and snippets.

@isaacs
Created February 2, 2013 01:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaacs/4695409 to your computer and use it in GitHub Desktop.
Save isaacs/4695409 to your computer and use it in GitHub Desktop.
$ npm view glob devDependencies
npm http GET https://registry.npmjs.org/glob
npm http 200 https://registry.npmjs.org/glob
{ tap: '~0.4.0',
mkdirp: '0',
rimraf: '1' }
$ cat package.json
{
"name": "{{example}}",
"version": "0.1.0",
"description": "{{example}}",
"author": "{{author}}",
"main": "index",
"dependencies": {
},
"devDependencies": {
"glob": ""
},
"scripts": {
"build": "make all"
}
}
$ rm -rf node_modules
$ npm install
npm WARN package.json {{example}}@0.1.0 No README.md file found!
npm http GET https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/inherits
npm http 200 https://registry.npmjs.org/inherits
npm http 200 https://registry.npmjs.org/graceful-fs
npm http 200 https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http 200 https://registry.npmjs.org/sigmund
npm http 200 https://registry.npmjs.org/lru-cache
glob@3.1.17 node_modules/glob
├── inherits@1.0.0
├── graceful-fs@1.1.14
└── minimatch@0.2.9 (sigmund@1.0.0, lru-cache@2.0.4)
$ npm ls tap
npm WARN package.json {{example}}@0.1.0 No README.md file found!
{{example}}@0.1.0 /Users/isaacs/dev/js/x
└── (empty)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment