+1 for that.
On Tue, Apr 23, 2013 at 10:13 AM, Andrew Pennebaker < [email protected]> wrote: > It would be nice to not have to type "run-script" to refer to custom > scripts. Some package managers like leiningen expose custom scripts without > any fuss ("lein cust"). Could we do the same with NPM ("npm cust")? > > Yes, security may be a concern, for package.json files that attempt to > overwrite NPM built-ins like "install", "update", "help", etc. We have > several options for handling collisions. My solution is for NPM to strip > out scripts that would overwrite these built-ins, and print a warning along > the lines of: > > "WARN: package.json attempted to overwrite npm built-in script "install". > Ignoring custom script..." > > Just an idea. > > -- > -- > 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 > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- 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 --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
