diff --git a/dictionary/googleapis.js b/dictionary/googleapis.js new file mode 100644 index 000000000..6e08b6c98 --- /dev/null +++ b/dictionary/googleapis.js @@ -0,0 +1,9 @@ +'use strict'; + +module.exports = { + pkg: { + scripts: [ + 'apis/**/*.js' + ] + } +}; diff --git a/test/test-79-npm/googleapis/googleapis.js b/test/test-79-npm/googleapis/googleapis.js new file mode 100644 index 000000000..225071c3e --- /dev/null +++ b/test/test-79-npm/googleapis/googleapis.js @@ -0,0 +1,7 @@ +'use strict'; + +var google = require('googleapis'); +var urlshortener = google.urlshortener('v1'); +if (urlshortener.url) { + console.log('ok'); +} diff --git a/test/test-79-npm/googleapis/package.json b/test/test-79-npm/googleapis/package.json new file mode 100644 index 000000000..101d327bd --- /dev/null +++ b/test/test-79-npm/googleapis/package.json @@ -0,0 +1 @@ +{ "private": true }