repackage on publish

This commit is contained in:
Elizabeth Cray 2024-10-04 18:50:21 -04:00
parent bc044f21d9
commit ff7ada7973

View File

@ -4,7 +4,7 @@
"description": "Trigger notif from matching WorkMail email",
"main": "index.mjs",
"scripts": {
"deploy": "package && aws lambda update-function-code --fuction-name Deliveries --region us-west-2 --zip-file fileb://./lambda.zip",
"deploy": "npm run package && aws lambda update-function-code --fuction-name Deliveries --region us-west-2 --zip-file fileb://./lambda.zip",
"package": "zip -r -9 lambda.zip ."
},
"repository": {