Skip to content
This repository was archived by the owner on Aug 11, 2022. It is now read-only.
This repository was archived by the owner on Aug 11, 2022. It is now read-only.

npm install --production installs dev packages #11166

@saxicek

Description

@saxicek

I am using npm version 3.3.12 and it is installing unnecessary dev packages:
npm install cloudant --production

Check for installed packages:
ls node_modules/cloudant/node_modules/nano/node_modules/

It includes package e.g. istanbul which is development package.

I saw issue #9024 which says that development packages will not be installed. My OS is Ubuntu 14.04, Node version 5.4.1, nvm 0.30.1.

Trouble is that with this behavior my package with included dependencies is unnecessary big. Am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions