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
+6 -2
View File
@@ -19,7 +19,7 @@
"check-node-version": "3.2.0",
"copy-webpack-plugin": "^4.6.0",
"cssnano": "4.1.8",
"grunt": "~1.0.3",
"grunt": "1.0.4",
"grunt-banner": "^0.6.0",
"grunt-contrib-clean": "~2.0.0",
"grunt-contrib-concat": "~1.0.0",
@@ -46,7 +46,7 @@
"matchdep": "~2.0.0",
"node-sass": "~4.12.0",
"source-map-loader": "^0.2.4",
"uglify-js": "^3.4.9",
"uglify-js": "3.5.15",
"uglifyjs-webpack-plugin": "2.1.1",
"webpack": "4.29.2",
"webpack-dev-server": "3.1.14",
@@ -113,6 +113,10 @@
"whatwg-fetch": "3.0.0"
},
"scripts": {
"build": "grunt build",
"dev": "grunt build --dev",
"test": "grunt test",
"watch": "grunt watch",
"grunt": "grunt"
}
}