aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorTimmy Willison <4timmywil@gmail.com>2021-03-01 17:48:55 -0500
committerTimmy Willison <4timmywil@gmail.com>2021-03-01 17:48:55 -0500
commitaed59da0c936b39b1c8cfd6cc30caa688103e074 (patch)
tree813ecb5e8f8eaaea0ea8be2652c7bd0eb1cbc8b5 /build
parent8606ce4292be98efddc2233a9a3609441e91eeba (diff)
downloadjquery-aed59da0c936b39b1c8cfd6cc30caa688103e074.tar.gz
jquery-aed59da0c936b39b1c8cfd6cc30caa688103e074.zip
Release: remove the need to install grunt globally
Diffstat (limited to 'build')
-rw-r--r--build/release.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/release.js b/build/release.js
index b95e2b62f..6b22d95c0 100644
--- a/build/release.js
+++ b/build/release.js
@@ -51,10 +51,10 @@ module.exports = function( Release ) {
* @param {Function} callback
*/
generateArtifacts: function( callback ) {
- Release.exec( "grunt", "Grunt command failed" );
+ Release.exec( "npx grunt", "Grunt command failed" );
Release.exec(
- "grunt custom:slim --filename=jquery.slim.js && " +
- "grunt remove_map_comment --filename=jquery.slim.js",
+ "npx grunt custom:slim --filename=jquery.slim.js && " +
+ "npx grunt remove_map_comment --filename=jquery.slim.js",
"Grunt custom failed"
);
cdn.makeReleaseCopies( Release );