diff --git a/package.json b/package.json index b985ee18ae4..83fb628b910 100644 --- a/package.json +++ b/package.json @@ -29,13 +29,14 @@ "docs": "node ./scripts/docs/packages.js", "bundle": "node ./scripts/docs/bundle.js", "lint": "jshint scripts/ packages/ system-test/ test/ && jscs packages/ system-test/ test/", - "test": "npm run docs && npm run bundle && mocha --timeout 5000 test/docs.js packages/*/test/*.js", + "test": "npm run docs && npm run bundle && mocha --timeout 5000 --bail test/docs.js packages/*/test/*.js", "system-test": "mocha packages/*/system-test/*.js --no-timeouts --bail", "cover": "istanbul cover _mocha --report lcovonly -x 'packages/*/src/v*/*.js' -- --no-timeouts --bail packages/*/test/*.js -R spec", "coveralls": "npm run cover && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage" }, "license": "Apache-2.0", "engines": { - "node": ">=0.12.0" + "node": ">=0.12.0", + "npm": ">3.0.0" } } diff --git a/packages/bigquery/src/table.js b/packages/bigquery/src/table.js index a608652ce24..b554686e593 100644 --- a/packages/bigquery/src/table.js +++ b/packages/bigquery/src/table.js @@ -726,6 +726,9 @@ Table.prototype.getRows = function(options, callback) { * //- * // Load data from a file in your Cloud Storage bucket. * //- + * var gcs = require('@google-cloud/storage')({ + * projectId: 'grape-spaceship-123' + * }); * var data = gcs.bucket('institutions').file('data.csv'); * table.import(data, function(err, job, apiResponse) {}); *