Merge pull request #2376 from tschaub/transitive

Add packages required by the build task to dependencies.
This commit is contained in:
Tim Schaub
2014-07-14 17:59:02 -06:00
2 changed files with 11 additions and 10 deletions
+9 -9
View File
@@ -17,24 +17,24 @@
}, },
"dependencies": { "dependencies": {
"async": "~0.2.10", "async": "~0.2.10",
"htmlparser2": "~3.7.1" "closure-util": "0.19.0",
"fs-extra": "~0.8.1",
"graceful-fs": "~3.0.2",
"htmlparser2": "~3.7.1",
"jsdoc": "~3.3.0-alpha9",
"nomnom": "~1.6.2",
"temp": "~0.7.0",
"walk": "~2.3.3"
}, },
"devDependencies": { "devDependencies": {
"clean-css": "^2.2.7", "clean-css": "^2.2.7",
"closure-util": "0.19.0",
"expect.js": "~0.3.1", "expect.js": "~0.3.1",
"fs-extra": "~0.8.1",
"graceful-fs": "~3.0.2",
"jquery": "~2.1.1", "jquery": "~2.1.1",
"jsdoc": "~3.3.0-alpha9",
"jshint": "~2.5.1", "jshint": "~2.5.1",
"mocha": "~1.20.1", "mocha": "~1.20.1",
"mocha-phantomjs": "~3.5.0", "mocha-phantomjs": "~3.5.0",
"nomnom": "~1.6.2",
"phantomjs": "~1.9.7-5", "phantomjs": "~1.9.7-5",
"proj4": "~2.2.1", "proj4": "~2.2.1",
"sinon": "~1.10.2", "sinon": "~1.10.2"
"temp": "~0.7.0",
"walk": "~2.3.3"
} }
} }
+2 -1
View File
@@ -81,7 +81,8 @@ function spawnJSDoc(paths, callback) {
var output = ''; var output = '';
var errors = ''; var errors = '';
var child = spawn(jsdoc, ['-c', jsdocConfig].concat(paths)); var cwd = path.join(__dirname, '..');
var child = spawn(jsdoc, ['-c', jsdocConfig].concat(paths), {cwd: cwd});
child.stdout.on('data', function(data) { child.stdout.on('data', function(data) {
output += String(data); output += String(data);