Skip to content

Commit

Permalink
fix: reduces final deployment size in serverless 3 by removing server…
Browse files Browse the repository at this point in the history
…less as a peer dependency

* Removes serverless as a peer dependency (see serverless/serverless#10863)
* Deletes package-lock.json
* fixes #139 
Co-authored-by: Scott Willeke <scott@willeke.com>
  • Loading branch information
tomchiverton committed Apr 22, 2022
1 parent c284174 commit 22be6b7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "serverless-aws-static-file-handler",
"description": "Easily serve static files with the Serverless Framework on AWS Lambda.",
"homepage": "https://github.com/activescott/serverless-aws-static-file-handler#readme",
"version": "0.0.0",
"version": "0.0.1",
"main": "src/StaticFileHandler.js",
"author": {
"name": "Scott Willeke",
Expand Down Expand Up @@ -42,9 +42,6 @@
"sinon": "^11.1.2",
"husky": "^7.0.0"
},
"peerDependencies": {
"serverless": "^3.1.0 || ^2.63.0 || ^1.46.1"
},
"engines": {
"node": ">=10"
},
Expand Down

0 comments on commit 22be6b7

Please sign in to comment.