dougmoscrop / serverless-http

Use your existing middleware framework (e.g. Express, Koa) in AWS Lambda 🎉
Other
1.74k stars 167 forks source link

chai-as-promised dependency #91

Closed jbarrus closed 5 years ago

jbarrus commented 5 years ago

NPM is showing chai-as-promised as a dependency in 2.0.1. I'm not sure how that happened, as the code here indicates that it's a devDependency. In any case, since most people wouldn't want chai running in production code, I think this should be removed.

from yarn info serverless-http

dependencies:
   { 'chai-as-promised':
      '^7.1.1',
     '@types/aws-lambda':
      '^8.10.19' },

in package.json in node_modules after installing

  "dependencies": {
    "chai-as-promised": "^7.1.1"
  }
dougmoscrop commented 5 years ago

dupe of #90