Build/Test Tools: Remove the dependency on a globally installed Grunt.

The existing `"grunt": "grunt"` script in `package.json` allows for the use of `npm run grunt ...` which uses the local `grunt` binary in the project's `node_modules`.

Fixes #47380


git-svn-id: https://develop.svn.wordpress.org/trunk@45445 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2019-05-26 19:34:24 +00:00
parent 68f7c2d7a5
commit 814aa7149f
8 changed files with 21 additions and 21 deletions

View File

@@ -5520,7 +5520,7 @@ function _print_emoji_detection_script() {
/*
* If you're looking at a src version of this file, you'll see an "include"
* statement below. This is used by the `grunt build` process to directly
* statement below. This is used by the `npm run build` process to directly
* include a minified version of wp-emoji-loader.js, instead of using the
* readfile() method from above.
*
@@ -5736,7 +5736,7 @@ function wp_staticize_emoji_for_email( $mail ) {
* Returns arrays of emoji data.
*
* These arrays are automatically built from the regex in twemoji.js - if they need to be updated,
* you should update the regex there, then run the `grunt precommit:emoji` job.
* you should update the regex there, then run the `npm run grunt precommit:emoji` job.
*
* @since 4.9.0
* @access private