I'm not actually interested in supporting any scripts other than
`test` and `prepublish`.  Anything else is a mistake that we only
support for backwards compatibility.

So, what I'm saying is, thanks for the suggestion.  We're not going to
make that change.

On Tue, Apr 23, 2013 at 3:18 PM, Arnout Kazemier <[email protected]> wrote:
> You are trying to fix a non existing problem. Just create an alias to `npm
> run` and be done with it.
> Theres nothing wrong with using `npm run` and the solution that's suggested
> here only adds more
> un-needed complexity.
>
> Founder: Observe.it
>
> Lead Software Engineer: Nodejitsu.com
>
>
> Twitter: @3rdEden
>
> Github: @3rd-Eden
>
> Skype: arnoutkazemier
>
> Mobile: +31623254031
>
> On Tuesday, April 23, 2013 at 7:13 PM, Andrew Pennebaker 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.
>
>

-- 
-- 
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.


Reply via email to