Skip to content
This repository has been archived by the owner on Nov 8, 2019. It is now read-only.

Use the standard "npm start" hook to launch Node applications #198

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ryanj
Copy link
Contributor

@ryanj ryanj commented Apr 6, 2016

NodeJS applications are usually initialized by running npm start

https://docs.npmjs.com/cli/start

This allows developers to specify their own custom init process using the scripts.start section of their included package.json file.

WARNING: For users who fail to include a package.json file, or who fail to define a valid scripts.start section: The new default server init file will now be changed to npm's fallback value of server.js (rather than index.js, which is default init file for npm module packages)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant