Fixed unrunnable serverless example

This commit is contained in:
Alexander Cerutti
2023-07-04 19:59:20 +02:00
parent f3262591bf
commit e9fcf4b95b
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
"preinstall": "npm run clear:deps",
"postinstall": "npm run service:link-pg && npm link passkit-generator",
"clear:deps": "rm -rf node_modules",
"example": "echo \"test\"; `#specifying host due to WSL limits`"
"example": "npx serverless@3 offline --host 0.0.0.0; :'specifying host due to WSL limits'"
},
"dependencies": {
"aws-sdk": "^2.1092.0",

View File

@@ -1,5 +1,5 @@
service: passkit-generator-test-lambda
frameworkVersion: "2"
frameworkVersion: "3"
plugins:
- serverless-offline