Website/node_modules/win-fork/package.json
2015-12-02 18:21:44 -05:00

74 lines
3.2 KiB
JSON

{
"_args": [
[
"win-fork@^1.1.1",
"/Users/okennedy/Desktop/Website/node_modules/metalsmith"
]
],
"_from": "win-fork@>=1.1.1 <2.0.0",
"_id": "win-fork@1.1.1",
"_inCache": true,
"_installable": true,
"_location": "/win-fork",
"_npmUser": {
"email": "forbes@lindesay.co.uk",
"name": "forbeslindesay"
},
"_npmVersion": "1.2.2",
"_phantomChildren": {},
"_requested": {
"name": "win-fork",
"raw": "win-fork@^1.1.1",
"rawSpec": "^1.1.1",
"scope": null,
"spec": ">=1.1.1 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/metalsmith"
],
"_resolved": "https://registry.npmjs.org/win-fork/-/win-fork-1.1.1.tgz",
"_shasum": "8f58e0656fca00adc8c86a2b89e3cd2d6a2d5e5e",
"_shrinkwrap": null,
"_spec": "win-fork@^1.1.1",
"_where": "/Users/okennedy/Desktop/Website/node_modules/metalsmith",
"author": {
"name": "ForbesLindesay"
},
"bin": {
"win-fork": "./bin/win-spawn",
"win-line-endings": "./bin/win-line-endings",
"win-spawn": "./bin/win-spawn"
},
"dependencies": {},
"description": "Spawn for node.js but in a way that works regardless of which OS you're using",
"devDependencies": {
"win-spawn": "*"
},
"directories": {},
"dist": {
"shasum": "8f58e0656fca00adc8c86a2b89e3cd2d6a2d5e5e",
"tarball": "http://registry.npmjs.org/win-fork/-/win-fork-1.1.1.tgz"
},
"license": "BSD",
"main": "index.js",
"maintainers": [
{
"name": "forbeslindesay",
"email": "forbes@lindesay.co.uk"
}
],
"name": "win-fork",
"optionalDependencies": {},
"readme": "# win-spawn\n\n Spawn for node.js but in a way that works regardless of which OS you're using. Use this if you want to use spawn with a JavaScript file. It works by explicitly invoking node on windows. It also shims support for environment variable setting by attempting to parse the command with a regex. Since all modification is wrapped in `if (os === 'Windows_NT')` it can be safely used on non-windows systems and will not break anything.\n\n## Installation\n\n $ npm install win-spawn\n\n## Usage\n\n### Command Line\n\n All the following will work exactly as if the 'win-spawn ' prefix was ommitted when on unix.\n\n $ win-spawn foo\n $ win-spawn ./bin/foo\n $ win-spawn NODE_PATH=./lib foo\n $ win-spawn NODE_PATH=./lib foo arg1 arg2\n\n You can also transform all the line endings in a directory from `\\r\\n` to `\\n` just by running:\n\n $ win-line-endings\n\n You can preview the changes by running:\n\n $ win-line-endings -p\n\n It will ignore `node_modules` and `.git` by default, but is not clever enough to recognise binary files yet.\n\n### API\n\nThis will just pass through to `child_process.spawn` on unix systems, but will correctly parse the arguments on windows.\n\n```javascript\nspawn('foo', [], {stdio: 'inherit'});\nspawn('./bin/foo', [], {stdio: 'inherit'});\nspawn('NODE_PATH=./lib foo', [], {stdio: 'inherit'});\nspawn('NODE_PATH=./lib foo', [arg1, arg2], {stdio: 'inherit'});\n```",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "https://github.com/ForbesLindesay/win-spawn.git"
},
"scripts": {
"prepublish": "win-line-endings"
},
"version": "1.1.1"
}