Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
grunt-loadnpmtasks
Advanced tools
A Node module (not a Grunt task itself) to help in loading NPM-based tasks without requiring a "package.json" file next to every Gruntfile. To be used as an alternative to `grunt.loadNpmTasks`/`grunt.task.loadNpmTasks`.
A Node module (not a Grunt task itself) to help in loading NPM-based tasks without requiring a "package.json" file next to every Gruntfile.
To be used as an alternative to grunt.loadNpmTasks
/grunt.task.loadNpmTasks
.
Install the module with: npm install grunt-loadnpmtasks
Within your Gruntfile (or Node.js code, if you are using Grunt programmatically), you can then do:
var loader = require('grunt-loadnpmtasks')(grunt); // Where `grunt` is an instance of Grunt
loader.loadNpmTasks('grunt-contrib-jshint');
Alternatively, you can have grunt-loadNpmTasks
actually override Grunt's loadNpmTasks
method:
require('grunt-loadnpmtasks').extend(grunt); // Where `grunt` is an instance of Grunt
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.task.loadNpmTasks('grunt-contrib-uglify');
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
Copyright (c) 2013 James M. Greene
Licensed under the MIT license.
FAQs
A Node module (not a Grunt task itself) to help in loading NPM-based tasks without requiring a "package.json" file next to every Gruntfile. To be used as an alternative to `grunt.loadNpmTasks`/`grunt.task.loadNpmTasks` within large, hierarchical codebases
The npm package grunt-loadnpmtasks receives a total of 3,293 weekly downloads. As such, grunt-loadnpmtasks popularity was classified as popular.
We found that grunt-loadnpmtasks demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.