Skip to content
This repository was archived by the owner on Feb 5, 2020. It is now read-only.

Commit 380f57f

Browse files
committed
Adds "functionName" and "description" to npm run deploy
1 parent dc0ac04 commit 380f57f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "node-lambda-babel-template",
33
"description": "An AWS Lambda boilerplate with ES2015 support.",
4-
"version": "2.0.1",
4+
"version": "2.1.0",
55
"author": "John Flesch <john@fles.ch>",
66
"bugs": {
77
"url": "https://github.com/flesch/node-lambda-babel-template/issues"
@@ -37,7 +37,7 @@
3737
"url": "git+https://github.com/flesch/node-lambda-babel-template.git"
3838
},
3939
"scripts": {
40-
"deploy": "node-lambda deploy --handler dist/index.default --configFile deploy.env --environment production",
40+
"deploy": "node-lambda deploy --handler dist/index.default --configFile deploy.env --functionName $npm_package_name --description \"$npm_package_description\"",
4141
"lambda": "node-lambda",
4242
"postinstall": "node-lambda setup",
4343
"predeploy": "NODE_ENV=production webpack -p",

0 commit comments

Comments
 (0)