diff --git a/bin/cmd.js b/bin/cmd.js index 1357ec6..15da3fc 100755 --- a/bin/cmd.js +++ b/bin/cmd.js @@ -1,6 +1,6 @@ #!/usr/bin/env node var http = require('http'); -var spawn = require('child_process').spawn; +var spawn = require('win-spawn'); var fs = require('fs'); var qs = require('querystring'); diff --git a/package.json b/package.json index 9280e54..b7e0d49 100644 --- a/package.json +++ b/package.json @@ -1,52 +1,55 @@ { - "name" : "testling", - "description" : "write tests for browser code", + "name": "testling", + "description": "write tests for browser code", "version" : "1.6.1", - "repository" : { - "type" : "git", - "url" : "git://github.com/substack/testling.git" - }, - "main" : "index.js", - "browserify" : "browser.js", - "bin" : { - "testling" : "bin/cmd.js" - }, - "keywords" : [ - "test", - "browser", - "headless" - ], - "scripts" : { - "prepublish" : "mkdir -p bundle && browserify browser/prelude.js -o bundle/prelude.js" - }, - "dependencies" : { - "jsonify" : "~0.0.0", - "optimist" : "~0.5.2", - "xhr-write-stream" : "~0.1.2", - "concat-stream" : "~1.0.0", - "tap-finished" : "~0.0.0", - "ecstatic": "~0.4.5", - "browser-launcher": "~0.3.2", - "browserify": "3.x.x", - "resolve": "~0.4.0", - "glob": "~3.2.1", - "shell-quote": "~1.3.1", - "ent": "~0.0.5", - "bouncy": "~3.2.0", - "shallow-copy": "~0.0.0", - "object-inspect": "~0.1.3" - }, - "bundledDependencies" : [ "browser-launcher" ], - "devDependencies": { - "tape": "~0.3.3" - }, - "engines" : { - "node" : ">=0.6" - }, - "license" : "MIT/X11", - "author" : { - "name" : "James Halliday", - "email" : "mail@substack.net", - "url" : "http://substack.net" - } + "repository": { + "type": "git", + "url": "git://github.com/substack/testling.git" + }, + "main": "index.js", + "browserify": "browser.js", + "bin": { + "testling": "bin/cmd.js" + }, + "keywords": [ + "test", + "browser", + "headless" + ], + "scripts": { + "prepublish": "mkdir -p bundle && browserify browser/prelude.js -o bundle/prelude.js" + }, + "dependencies": { + "jsonify": "~0.0.0", + "optimist": "~0.5.2", + "xhr-write-stream": "~0.1.2", + "concat-stream": "~1.0.0", + "tap-finished": "~0.0.0", + "ecstatic": "~0.4.5", + "browser-launcher": "~0.3.2", + "browserify": "3.x.x", + "resolve": "~0.4.0", + "glob": "~3.2.1", + "shell-quote": "~1.3.1", + "ent": "~0.0.5", + "bouncy": "~3.2.0", + "shallow-copy": "~0.0.0", + "object-inspect": "~0.1.3", + "win-spawn": "~2.0.0" + }, + "bundledDependencies": [ + "browser-launcher" + ], + "devDependencies": { + "tape": "~0.3.3" + }, + "engines": { + "node": ">=0.6" + }, + "license": "MIT/X11", + "author": { + "name": "James Halliday", + "email": "mail@substack.net", + "url": "http://substack.net" + } }