Skip to content

babel-jest should live in devDependencies #32

@MitchLillie

Description

@MitchLillie

Description

babel-jest appears in the regular dependencies, so it's getting installed along with the rest of the code.

What type of issue is this? (place an x in one of the [ ])

  • bug
  • enhancement (feature request)
  • question
  • documentation related
  • testing related
  • discussion

Requirements (place an x in each of the [ ])

  • I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've searched for any related issues and avoided creating a duplicate issue.

Bug Report

Filling out the following details about bugs will help us solve your issue sooner.

Reproducible in:

slackhq/csp-html-webpack-plugin version: 3.0.0

node version: 8, 10

OS version(s): macOS 10.14 (Mojave)

Steps to reproduce:

  1. npm i csp-html-webpack-plugin
  2. Inspect node_modules directory

Expected result:

Only the deps which are actually consumed are installed along with csp-html-webpack-plugin

Actual result:

babel-jest is present. Also you get a warning if you don't satisfy babel-jest's peerDependency for babel-core.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions