Skip to content

Commit

Permalink
Build Tools: Add an npm script shortcut to run grunt.
Browse files Browse the repository at this point in the history
Rather than needing to install grunt globally, this allows running grunt from `node_modules`, instead.

`npm run grunt ...` is effectively the equivalent of running `grunt ...`.

Props andrew.taylor.
See #45214.



git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43836 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
pento committed Oct 29, 2018
1 parent 25928ac commit a46ea4a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Expand Up @@ -92,5 +92,8 @@
"react": "^16.5.2",
"react-dom": "^16.5.2",
"whatwg-fetch": "^3.0.0"
},
"scripts":{
"grunt": "grunt"
}
}

0 comments on commit a46ea4a

Please sign in to comment.