diff options
author | Rebecca Turner <me@re-becca.org> | 2015-05-22 11:33:46 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2015-06-26 03:27:03 +0300 |
commit | d3c858ce4cfb3aee515bb299eb034fe1b5e44344 (patch) | |
tree | e7714c839934a729b68038f4c7dc5ec3ed877638 /node_modules/npm-cache-filename | |
parent | 24564b9654528d23c726cf9ea82b1aef2044b692 (diff) |
deps: deduplicate npm@3 style
Diffstat (limited to 'node_modules/npm-cache-filename')
-rw-r--r-- | node_modules/npm-cache-filename/package.json | 80 |
1 files changed, 59 insertions, 21 deletions
diff --git a/node_modules/npm-cache-filename/package.json b/node_modules/npm-cache-filename/package.json index 979450bc6..6c9120cd9 100644 --- a/node_modules/npm-cache-filename/package.json +++ b/node_modules/npm-cache-filename/package.json @@ -1,33 +1,71 @@ { - "name": "npm-cache-filename", - "version": "1.0.1", - "description": "Given a cache folder and url, return the appropriate cache folder.", - "main": "index.js", - "dependencies": {}, - "devDependencies": { - "tap": "^0.4.10" - }, - "scripts": { - "test": "tap test.js" + "_args": [ + [ + "npm-cache-filename@~1.0.1", + "/Users/rebecca/code/npm" + ] + ], + "_from": "npm-cache-filename@>=1.0.1 <1.1.0", + "_id": "npm-cache-filename@1.0.1", + "_inCache": true, + "_location": "/npm-cache-filename", + "_npmUser": { + "email": "i@izs.me", + "name": "isaacs" }, - "repository": { - "type": "git", - "url": "git://github.com/npm/npm-cache-filename" + "_npmVersion": "1.4.10", + "_phantomChildren": {}, + "_requested": { + "name": "npm-cache-filename", + "raw": "npm-cache-filename@~1.0.1", + "rawSpec": "~1.0.1", + "scope": null, + "spec": ">=1.0.1 <1.1.0", + "type": "range" }, + "_requiredBy": [ + "/" + ], + "_resolved": "https://registry.npmjs.org/npm-cache-filename/-/npm-cache-filename-1.0.1.tgz", + "_shasum": "9b640f0c1a5ba1145659685372a9ff71f70c4323", + "_shrinkwrap": null, + "_spec": "npm-cache-filename@~1.0.1", + "_where": "/Users/rebecca/code/npm", "author": { - "name": "Isaac Z. Schlueter", "email": "i@izs.me", + "name": "Isaac Z. Schlueter", "url": "http://blog.izs.me/" }, - "license": "ISC", "bugs": { "url": "https://github.com/npm/npm-cache-filename/issues" }, + "dependencies": {}, + "description": "Given a cache folder and url, return the appropriate cache folder.", + "devDependencies": { + "tap": "^0.4.10" + }, + "directories": {}, + "dist": { + "shasum": "9b640f0c1a5ba1145659685372a9ff71f70c4323", + "tarball": "http://registry.npmjs.org/npm-cache-filename/-/npm-cache-filename-1.0.1.tgz" + }, "homepage": "https://github.com/npm/npm-cache-filename", - "readme": "# npm-cache-filename\n\nGiven a cache folder and url, return the appropriate cache folder.\n\n## USAGE\n\n```javascript\nvar cf = require('npm-cache-filename');\nconsole.log(cf('/tmp/cache', 'https://registry.npmjs.org:1234/foo/bar'));\n// outputs: /tmp/cache/registry.npmjs.org_1234/foo/bar\n```\n\nAs a bonus, you can also bind it to a specific root path:\n\n```javascript\nvar cf = require('npm-cache-filename');\nvar getFile = cf('/tmp/cache');\n\nconsole.log(getFile('https://registry.npmjs.org:1234/foo/bar'));\n// outputs: /tmp/cache/registry.npmjs.org_1234/foo/bar\n```\n", - "readmeFilename": "README.md", - "_id": "npm-cache-filename@1.0.1", - "_shasum": "9b640f0c1a5ba1145659685372a9ff71f70c4323", - "_from": "npm-cache-filename@latest", - "_resolved": "https://registry.npmjs.org/npm-cache-filename/-/npm-cache-filename-1.0.1.tgz" + "license": "ISC", + "main": "index.js", + "maintainers": [ + { + "name": "isaacs", + "email": "i@izs.me" + } + ], + "name": "npm-cache-filename", + "optionalDependencies": {}, + "repository": { + "type": "git", + "url": "git://github.com/npm/npm-cache-filename" + }, + "scripts": { + "test": "tap test.js" + }, + "version": "1.0.1" } |