From 99ac8c1b515929346612dc3d457ff895c8aeaa39 Mon Sep 17 00:00:00 2001 From: Igor Klopov Date: Mon, 1 May 2017 17:07:31 -0700 Subject: [PATCH] dictionary: googleapis --- dictionary/googleapis.js | 9 +++++++++ test/test-79-npm/googleapis/googleapis.js | 7 +++++++ test/test-79-npm/googleapis/package.json | 1 + 3 files changed, 17 insertions(+) create mode 100644 dictionary/googleapis.js create mode 100644 test/test-79-npm/googleapis/googleapis.js create mode 100644 test/test-79-npm/googleapis/package.json 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 }