> Transpiling and minification are better handled by a prepublish script
> anyway: https://npmjs.org/doc/scripts.html That way, the module doesn't
> need to depend on CoffeeScript just to install and deployment will happen
> that much faster.


Unless I am mistaken, `prepublish` is only called when doing `npm publish`,
which you would never do for a web application.

Most PaaS providers accept git bundles of your project, and then deploy
from there with `npm install`. The `prestart` key also is not a good fit if
you are using a Procfile.

Perhaps `scripts.install` needs to be replaced with a `scripts.predeploy`
or something specific for preparing an application for production.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to