diff options
author | isaacs <i@izs.me> | 2013-10-24 10:23:42 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2013-10-24 10:23:42 +0400 |
commit | 98679c4c50b08d7a49dcc5209e2b0920643098ff (patch) | |
tree | f8d8d58ec0827b7ef9a374c711e42c4b4b3d285f /node_modules/cmd-shim/package.json | |
parent | f9280d488b1e364e52fb00a5f821760d8a98e653 (diff) |
cmd-shim@1.1.1
Diffstat (limited to 'node_modules/cmd-shim/package.json')
-rw-r--r-- | node_modules/cmd-shim/package.json | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/node_modules/cmd-shim/package.json b/node_modules/cmd-shim/package.json index e9e941105..cf6c9525d 100644 --- a/node_modules/cmd-shim/package.json +++ b/node_modules/cmd-shim/package.json @@ -1,6 +1,6 @@ { "name": "cmd-shim", - "version": "1.0.1", + "version": "1.1.1", "description": "Used in npm for command line application support", "scripts": { "test": "tap test/*.js" @@ -21,11 +21,15 @@ "tap": "~0.4.1", "rimraf": "~2.1.4" }, - "readme": "# cmd-shim\n\nThe cmd-shim used in npm to create executable scripts on Windows,\nsince symlinks are not suitable for this purpose there.\n\nOn Unix systems, you should use a symbolic link instead.\n\n## Installation\n\n```\nnpm install cmd-shim\n```\n\n## API\n\n### cmdShim(from, to, cb)\n\nCreate a cmd shim at `to` for the command line program at `from`.\ne.g.\n\n```javascript\nvar cmdShim = require('cmd-shim');\ncmdShim(__dirname + '/cli.js', '/usr/bin/command-name', function (err) {\n if (err) throw err;\n});\n```\n\n### cmdShim.ifExists(from, to, cb)\n\nThe same as above, but will just continue if the file does not exist.\nSource:\n\n```javascript\nfunction cmdShimIfExists (from, to, cb) {\n fs.stat(from, function (er) {\n if (er) return cb()\n cmdShim(from, to, cb)\n })\n}\n```\n", + "readme": "# cmd-shim\r\n\r\nThe cmd-shim used in npm to create executable scripts on Windows,\r\nsince symlinks are not suitable for this purpose there.\r\n\r\nOn Unix systems, you should use a symbolic link instead.\r\n\r\n[![Build Status](https://travis-ci.org/ForbesLindesay/cmd-shim.png?branch=master)](https://travis-ci.org/ForbesLindesay/cmd-shim) [![Dependency Status](https://gemnasium.com/ForbesLindesay/cmd-shim.png)](https://gemnasium.com/ForbesLindesay/cmd-shim)\r\n\r\n## Installation\r\n\r\n```\r\nnpm install cmd-shim\r\n```\r\n\r\n## API\r\n\r\n### cmdShim(from, to, cb)\r\n\r\nCreate a cmd shim at `to` for the command line program at `from`.\r\ne.g.\r\n\r\n```javascript\r\nvar cmdShim = require('cmd-shim');\r\ncmdShim(__dirname + '/cli.js', '/usr/bin/command-name', function (err) {\r\n if (err) throw err;\r\n});\r\n```\r\n\r\n### cmdShim.ifExists(from, to, cb)\r\n\r\nThe same as above, but will just continue if the file does not exist.\r\nSource:\r\n\r\n```javascript\r\nfunction cmdShimIfExists (from, to, cb) {\r\n fs.stat(from, function (er) {\r\n if (er) return cb()\r\n cmdShim(from, to, cb)\r\n })\r\n}\r\n```\r\n", "readmeFilename": "README.md", "bugs": { "url": "https://github.com/ForbesLindesay/cmd-shim/issues" }, - "_id": "cmd-shim@1.0.1", - "_from": "cmd-shim@latest" + "_id": "cmd-shim@1.1.1", + "dist": { + "shasum": "87741e2a8b6307ea1ea8bf1f65287cb4a9ca977a" + }, + "_from": "cmd-shim@latest", + "_resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-1.1.1.tgz" } |