Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@types/debug as a devDependency #55

Closed
jmendiara opened this issue Apr 10, 2021 · 2 comments
Closed

@types/debug as a devDependency #55

jmendiara opened this issue Apr 10, 2021 · 2 comments

Comments

@jmendiara
Copy link

Currently, in package.json...

  "dependencies": {
    "@types/debug": "^4.0.0",
    "debug": "^4.0.0"
  },

Is @types/debug a needed dependency, or could be moved to devDependencies ?

Having it in dependencies causes @types/debug to be installed in production builds, and the package is just typescript typings that are not needed in runtime

@jmendiara
Copy link
Author

I guess you are saying that having in dependencies is intended. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants