Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My module has no dependency on its own but for running tests you need to install jasmine-node module. Should I include that module as a dependency?

share|improve this question
up vote 2 down vote accepted

Most package management systems have a special way of specifying dependencies that are needed only for the development. Python's setuptools has extras_require, Clojure's leiningen has profiles, and npm has devDependencies: see docs.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.