WordPress.org

Make WordPress Core

Changeset 43836


Ignore:
Timestamp:
10/29/2018 02:11:35 AM (13 months ago)
Author:
pento
Message:

Build Tools: Add an npm script shortcut to run grunt.

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/package.json

    r43835 r43836  
    9393        "react-dom": "^16.5.2",
    9494        "whatwg-fetch": "^3.0.0"
     95    },
     96    "scripts":{
     97        "grunt": "grunt"
    9598    }
    9699}
Note: See TracChangeset for help on using the changeset viewer.