From 144d28781e4d06f8144989da83dcb6272ef62fbe Mon Sep 17 00:00:00 2001 From: Sachin Raja Date: Sun, 11 Sep 2022 15:53:03 -0700 Subject: [PATCH] make all peer dependencies optional --- package.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/package.json b/package.json index c06ab1e..6069fa1 100644 --- a/package.json +++ b/package.json @@ -51,6 +51,20 @@ "h3": "*", "koa": "^2" }, + "peerDependenciesMeta": { + "express": { + "optional": true + }, + "fastify": { + "optional": true + }, + "h3": { + "optional": true + }, + "koa": { + "optional": true + } + }, "devDependencies": { "@sachinraja/eslint-config": "0.1.1", "@types/aws-lambda": "8.10.102",