Created
March 3, 2016 11:02
-
-
Save microadam/b1082c4d7da4cde8d66c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "scripts": | |
{ "prepare": "nave use 4.3.1 npm install" | |
}, | |
"dependencies": | |
{ "multi-glob": "1.0.1" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var cp = require('child_process') | |
var dir = __dirname + '/test/' | |
var childProcess = cp.spawn('npm', [ 'run', 'prepare' ], { cwd: dir }) | |
childProcess.stdout.pipe(process.stdout) | |
childProcess.stderr.pipe(process.stderr) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment