mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Build: switch from win-spawn to cross-spawn
The win-spawn package is deprecated.
Refs gh-2877
Refs 67c96a59f5
This commit is contained in:
parent
67c96a59f5
commit
abb5715807
@ -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 ) {
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user