Build: switch from win-spawn to cross-spawn

The win-spawn package is deprecated.

Refs gh-2877
Refs 67c96a59f5
This commit is contained in:
Michał Gołębiowski 2016-01-27 13:02:58 +01:00
parent 67c96a59f5
commit abb5715807
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
// See the comment in ../node_smoke_tests.js for more information.
module.exports = function spawnTest( done ) {
var testPaths = [].slice.call( arguments, 1 ),
spawn = require( "win-spawn" );
spawn = require( "cross-spawn" );
spawn( "node", testPaths, { stdio: "inherit" } )
.on( "close", function( code ) {

View File

@ -28,6 +28,7 @@
"babel-preset-es2015": "6.3.13",
"commitplease": "2.3.0",
"core-js": "2.0.3",
"cross-spawn": "2.1.5",
"grunt": "0.4.5",
"grunt-babel": "6.0.0",
"grunt-cli": "0.1.13",
@ -51,8 +52,7 @@
"sinon": "1.17.3",
"sizzle": "2.3.0",
"strip-json-comments": "2.0.0",
"testswarm": "1.1.0",
"win-spawn": "2.0.0"
"testswarm": "1.1.0"
},
"scripts": {
"build": "npm install && grunt",