mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 16:25:21 +00:00
Renamed Serverless example startup command to example instead of run-offline
This commit is contained in:
@@ -38,7 +38,7 @@ Install the dependencies and run serverless. Installing the dependencies will li
|
||||
|
||||
```sh
|
||||
$ npm install;
|
||||
$ npm run run-offline;
|
||||
$ npm run example;
|
||||
```
|
||||
|
||||
This will start `serverless offline` with an additional host option (mainly for WSL environment).
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"preinstall": "npm run clear:deps && npm unlink --no-save passkit-generator",
|
||||
"postinstall": "npm --prefix ../.. run build && npm --prefix ../.. link && npm link passkit-generator",
|
||||
"clear:deps": "rm -rf node_modules",
|
||||
"run-offline": "npx serverless offline --host 0.0.0.0; :'specifying host due to WSL limits'"
|
||||
"example": "npx serverless offline --host 0.0.0.0; :'specifying host due to WSL limits'"
|
||||
},
|
||||
"dependencies": {
|
||||
"aws-sdk": "^2.1058.0",
|
||||
|
||||
@@ -51,8 +51,6 @@ export async function pkpasses(event: ALBEvent) {
|
||||
return err;
|
||||
}
|
||||
|
||||
console.log(event.queryStringParameters);
|
||||
|
||||
const [certificates, iconFromModel, s3] = await Promise.all([
|
||||
getCertificates(),
|
||||
getSpecificFileInModel(
|
||||
|
||||
Reference in New Issue
Block a user