WordPress.org

Make WordPress Core

Changeset 45445 for trunk/package.json


Ignore:
Timestamp:
05/26/2019 07:34:24 PM (15 months ago)
Author:
johnbillion
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package.json

    r45342 r45445  
    2020        "copy-webpack-plugin": "^4.6.0",
    2121        "cssnano": "4.1.8",
    22         "grunt": "~1.0.3",
     22        "grunt": "1.0.4",
    2323        "grunt-banner": "^0.6.0",
    2424        "grunt-contrib-clean": "~2.0.0",
     
    4747        "node-sass": "~4.12.0",
    4848        "source-map-loader": "^0.2.4",
    49         "uglify-js": "^3.4.9",
     49        "uglify-js": "3.5.15",
    5050        "uglifyjs-webpack-plugin": "2.1.1",
    5151        "webpack": "4.29.2",
     
    114114    },
    115115    "scripts": {
     116        "build": "grunt build",
     117        "dev": "grunt build --dev",
     118        "test": "grunt test",
     119        "watch": "grunt watch",
    116120        "grunt": "grunt"
    117121    }
Note: See TracChangeset for help on using the changeset viewer.