Skip to content

User server.js for single executables #19

@piranna

Description

@piranna

The default value for the start script is to exec node server.js, so if there's no specific start script on package.json and the package has only a single executable (like a CLI), that executable file should be named server.js so it can be launched with npm in a standard and homogeneous way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions