forked from loafle/openapi-generator-original
* Another approach: extending NodeJS server to support GCF. This does not add a new language, but adding some client options to support Google Cloud Functions (GCF). * Add URLs for how to deploy the generated code. Adds the client options help message and the README.md file.
25 lines
497 B
Plaintext
25 lines
497 B
Plaintext
{
|
|
"name": "{{projectName}}",
|
|
"version": "{{appVersion}}",
|
|
"description": "{{{appDescription}}}",
|
|
"main": "index.js",
|
|
{{^googleCloudFunctions}}
|
|
"scripts": {
|
|
"prestart": "npm install",
|
|
"start": "node index.js"
|
|
},
|
|
{{/googleCloudFunctions}}
|
|
"keywords": [
|
|
"swagger"
|
|
],
|
|
"license": "Unlicense",
|
|
"private": true,
|
|
"dependencies": {
|
|
{{^googleCloudFunctions}}
|
|
"connect": "^3.2.0",
|
|
{{/googleCloudFunctions}}
|
|
"js-yaml": "^3.3.0",
|
|
"swagger-tools": "0.10.1"
|
|
}
|
|
}
|