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

WordPress Trac noreply at wordpress.org
Sun Oct 28 18:18:52 UTC 2018


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

Comment (by andrew.taylor):

 The attached patch file adds a `build` npm script that maps to `grunt`.
 This allows `npm run build` to  be used to build WordPress core files
 without requiring Grunt to be installed globally, assuming `npm install`
 has been run.

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


More information about the wp-trac mailing list