We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 355e7f7 commit 5702bb3Copy full SHA for 5702bb3
function/package.json
@@ -5,7 +5,7 @@
5
"main": "index.js",
6
"scripts": {
7
"test": "echo \"Error: no test specified\" && exit 1",
8
- "pack": "zip -r code.zip *",
+ "pack": "rm -Rf node_modules && npm install --production && zip -rq code.zip *",
9
"dev": "sam local invoke -e ./dev/event.json -t ../template.yaml",
10
"local": "LOCAL=true node index.js"
11
},
0 commit comments