Skip to content

Commit

Permalink
declare express packages as optional peer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Grmiade committed Jan 28, 2025
1 parent 81ecc85 commit cf73930
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@
"@slack/socket-mode": "^2.0.3",
"@slack/types": "^2.13.0",
"@slack/web-api": "^7.8.0",
"@types/express": "^5.0.0",
"@types/express-serve-static-core": "^5.0.0",
"axios": "^1.7.8",
"express": "^5.0.0",
"path-to-regexp": "^8.1.0",
"raw-body": "^3",
"tsscmp": "^1.0.6"
Expand All @@ -73,5 +70,21 @@
"ts-node": "^10.9.2",
"tsd": "^0.31.2",
"typescript": "5.3.3"
},
"peerDependencies": {
"express": "^5.0.0",
"@types/express": "^5.0.0",
"@types/express-serve-static-core": "^5.0.0"
},
"peerDependenciesMeta": {
"express": {
"optional": true
},
"@types/express": {
"optional": true
},
"@types/express-serve-static-core": {
"optional": true
}
}
}

0 comments on commit cf73930

Please # to comment.