[wp-trac] [WordPress Trac] #45214: Add a build npm script

WordPress Trac noreply at wordpress.org
Mon Oct 29 02:07:35 UTC 2018


#45214: Add a build npm script
------------------------------+-----------------------
 Reporter:  andrew.taylor     |       Owner:  pento
     Type:  enhancement       |      Status:  assigned
 Priority:  normal            |   Milestone:  5.0
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+-----------------------
Changes (by pento):

 * owner:  (none) => pento
 * status:  new => assigned
 * milestone:  Awaiting Review => 5.0


Comment:

 Thank you for the suggestion, @andrew.taylor!

 This is a useful shortcut to using Grunt, I don't think we need to
 shortcuts for every grunt task now, as `npm` defaults to passing any extra
 parameters to the script.

 With that in mind, I'm going to tweak your patch slightly to rename it to
 `grunt`, so `npm run grunt ...` is effectively the same as running `grunt
 ...`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45214#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list