Skip to content

npm package contains too many dependencies #236

@dizco

Description

@dizco

The package.json contains a big number of dependencies:

unicons/package.json

Lines 46 to 62 in e394b01

"dependencies": {
"async": "^2.6.1",
"axios": "^1.7.7",
"cheerio": "^1.0.0",
"fontello-cli": "^0.6.2",
"fs-plus": "^3.1.1",
"glob": "^7.1.3",
"insertion-query": "^1.1.0",
"lodash": "^4.17.21",
"parse-svg-path": "^0.1.2",
"scale-svg-path": "^0.0.1",
"serialize-svg-path": "^0.1.0",
"svgo": "1.1.1",
"svgstore": "^3.0.0-2",
"ttf2woff2": "^5.0.0",
"uuid": "^3.3.2"
}

This means that every projet that installs unicons also has to download all those dependencies.

I have calculated that this downloads approximately 10 000 files. This does not feel necessary for an icon package. I would expect most of these dependencies to be moved to devDependencies of the package.

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