Updated serverless example to run on ESM

This commit is contained in:
Alexander Cerutti
2025-01-11 15:43:32 +01:00
parent 4044125e6a
commit 8c8763f8cd
11 changed files with 156 additions and 141 deletions

View File

@@ -6,20 +6,22 @@
"author": "Alexander P. Cerutti <cerutti.alexander@gmail.com>",
"license": "ISC",
"main": "src/index.js",
"type": "module",
"scripts": {
"clear:deps": "rm -rf node_modules",
"example": "pnpm serverless@3 offline --host 0.0.0.0; :'specifying host due to WSL limits'"
"example": "pnpm serverless offline --host 0.0.0.0; :'specifying host due to WSL limits'"
},
"dependencies": {
"aws-sdk": "^2.1691.0",
"tslib": "^2.7.0",
"aws-sdk": "^2.1692.0",
"tslib": "^2.8.1",
"passkit-generator": "workspace:*"
},
"devDependencies": {
"@types/aws-lambda": "^8.10.145",
"@types/aws-lambda": "^8.10.147",
"serverless-offline": "^8.8.1",
"serverless-plugin-typescript": "^2.1.5",
"serverless-s3-local": "^0.8.5",
"typescript": "^5.7.3"
"typescript": "^5.7.3",
"@types/node": "^18"
}
}