Skip to content

Instantly share code, notes, and snippets.

@nylen
Created September 10, 2018 18:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nylen/dbde0401d171e0b2a32accd5b84a8920 to your computer and use it in GitHub Desktop.
Save nylen/dbde0401d171e0b2a32accd5b84a8920 to your computer and use it in GitHub Desktop.
diff --git a/Gruntfile.js b/Gruntfile.js
index 8a984ccdd4..5668c0c744 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -747,9 +747,14 @@ module.exports = function(grunt) {
],
tasks: ['qunit']
}
- }
+ },
+
+ availabletasks: { tasks: {} }
});
+ grunt.loadNpmTasks( 'grunt-available-tasks' );
+ grunt.registerTask( 'tasks', [ 'availabletasks' ] );
+
// Allow builds to be minimal
if( grunt.option( 'minimal-copy' ) ) {
var copyFilesOptions = grunt.config.get( 'copy.files.files' );
diff --git a/package.json b/package.json
index 38a60d9de9..3480160a67 100644
--- a/package.json
+++ b/package.json
@@ -39,5 +39,8 @@
"matchdep": "~1.0.0",
"webpack": "^3.6.0",
"webpack-dev-server": "^2.9.1"
+ },
+ "dependencies": {
+ "grunt-available-tasks": "^0.6.3"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment