Skip to content

Respect main package.json parameter if it exists for Node.js project #161

@akalipetis

Description

@akalipetis

Currently, we only check the index.js file and the start package.json script when we initialize the configuration for an Express Node.js project. We should also make use of the main1 package.json property instead of the static index.js file.

Footnotes

  1. https://docs.npmjs.com/cli/v10/configuring-npm/package-json#main

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions