Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

NodeJS: Updates to package.json #1268

Merged
merged 1 commit into from
May 18, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 20 additions & 5 deletions src/main/resources/com/google/api/codegen/nodejs/package.snip
Original file line number Diff line number Diff line change
@@ -1,14 +1,29 @@
@snippet generate(metadata)
{
"url": "{@metadata.homepage}",
"repository": "googlecloudplatform/google-cloud-node",
"name": "{@metadata.identifier}",
"version": "{@metadata.packageVersionBound.lower}",
"author": "{@metadata.author}",
"description": "{@metadata.fullName} client for Node.js",
"url": "{@metadata.homepage}",
"main": "src/index.js",
"files": [
"src"
],
"keywords": [
"google apis client",
"google api client",
"google apis",
"google api",
"google",
"google cloud platform",
"google cloud",
"cloud",
"google {@metadata.shortName}",
"{@metadata.shortName}",
"{@metadata.fullName}",
],

"dependencies": {
@join packageDep : metadata.protoPackageDependencies
"{@packageDep.name}": "^{@packageDep.versionBound.lower}",
Expand All @@ -23,12 +38,12 @@
"mocha": "3.2.0",
"through2": "2.0.3"
},
"license": "{@metadata.licenseName}",
"engines": {
"node": ">=0.12.0"
},
"scripts": {
"test": "mocha"
},
"license": "{@metadata.licenseName}",
"engines": {
"node": ">=4.0.0"
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,29 @@
============== file: package.json ==============
{
"url": "https://github.com/googleapis/googleapis",
"repository": "googlecloudplatform/google-cloud-node",
"name": "@google-cloud/library",
"version": "0.7.1",
"author": "Google, Inc.",
"description": "Google Example Library API client for Node.js",
"url": "https://github.com/googleapis/googleapis",
"main": "src/index.js",
"files": [
"src"
],
"keywords": [
"google apis client",
"google api client",
"google apis",
"google api",
"google",
"google cloud platform",
"google cloud",
"cloud",
"google library",
"library",
"Google Example Library API",
],

"dependencies": {
"google-proto-files": "^0.8.2",
"google-some-other-package-v1": "^0.2.1",
Expand All @@ -19,12 +34,12 @@
"mocha": "3.2.0",
"through2": "2.0.3"
},
"license": "Apache-2.0",
"engines": {
"node": ">=0.12.0"
},
"scripts": {
"test": "mocha"
},
"license": "Apache-2.0",
"engines": {
"node": ">=4.0.0"
}
}

Original file line number Diff line number Diff line change
@@ -1,14 +1,29 @@
============== file: package.json ==============
{
"url": "https://github.com/googleapis/googleapis",
"repository": "googlecloudplatform/google-cloud-node",
"name": "@google-cloud/library",
"version": "0.7.1",
"author": "Google, Inc.",
"description": "Google Example Library API client for Node.js",
"url": "https://github.com/googleapis/googleapis",
"main": "src/index.js",
"files": [
"src"
],
"keywords": [
"google apis client",
"google api client",
"google apis",
"google api",
"google",
"google cloud platform",
"google cloud",
"cloud",
"google library",
"library",
"Google Example Library API",
],

"dependencies": {
"google-proto-files": "^0.8.2",
"google-some-other-package-v1": "^0.2.1",
Expand All @@ -19,12 +34,12 @@
"mocha": "3.2.0",
"through2": "2.0.3"
},
"license": "Apache-2.0",
"engines": {
"node": ">=0.12.0"
},
"scripts": {
"test": "mocha"
},
"license": "Apache-2.0",
"engines": {
"node": ">=4.0.0"
}
}

Original file line number Diff line number Diff line change
@@ -1,14 +1,29 @@
============== file: package.json ==============
{
"url": "https://github.com/googleapis/googleapis",
"repository": "googlecloudplatform/google-cloud-node",
"name": "example",
"version": "0.7.1",
"author": "Google, Inc.",
"description": "Google Fake API client for Node.js",
"url": "https://github.com/googleapis/googleapis",
"main": "src/index.js",
"files": [
"src"
],
"keywords": [
"google apis client",
"google api client",
"google apis",
"google api",
"google",
"google cloud platform",
"google cloud",
"cloud",
"google library",
"library",
"Google Fake API",
],

"dependencies": {
"google-proto-files": "^0.8.2",
"google-some-other-package-v1": "^0.2.1",
Expand All @@ -19,12 +34,12 @@
"mocha": "3.2.0",
"through2": "2.0.3"
},
"license": "Apache-2.0",
"engines": {
"node": ">=0.12.0"
},
"scripts": {
"test": "mocha"
},
"license": "Apache-2.0",
"engines": {
"node": ">=4.0.0"
}
}