WordPress.org

Make WordPress Core

Changeset 44176


Ignore:
Timestamp:
12/14/2018 09:46:30 AM (3 years ago)
Author:
atimmer
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, pento.
Merges [43836] to trunk.
See #45214.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/package.json

    r44163 r44176  
    107107        "underscore": "1.8.3",
    108108        "whatwg-fetch": "^3.0.0"
     109    },
     110    "scripts":{
     111        "grunt": "grunt"
    109112    }
    110113}
Note: See TracChangeset for help on using the changeset viewer.