diff --git a/modules/openapi-generator/src/main/resources/nodejs/package.mustache b/modules/openapi-generator/src/main/resources/nodejs/package.mustache index ed296f865c..2f02ec55c2 100644 --- a/modules/openapi-generator/src/main/resources/nodejs/package.mustache +++ b/modules/openapi-generator/src/main/resources/nodejs/package.mustache @@ -5,8 +5,8 @@ "main": "index.js", {{^googleCloudFunctions}} "scripts": { - "prestart": "npm install", - "start": "node index.js" + "prestart": "npm install", + "start": "node index.js" }, {{/googleCloudFunctions}} "keywords": [ diff --git a/samples/server/petstore/nodejs/package.json b/samples/server/petstore/nodejs/package.json index e5fccd69a5..28652fc655 100644 --- a/samples/server/petstore/nodejs/package.json +++ b/samples/server/petstore/nodejs/package.json @@ -4,8 +4,8 @@ "description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.", "main": "index.js", "scripts": { - "prestart": "npm install", - "start": "node index.js" + "prestart": "npm install", + "start": "node index.js" }, "keywords": [ "swagger"