UNPKG

grunt-nsp-shrinkwrap

Version:

Grunt plugin for Node Security Project npm-shrinkwrap.json validation

25 lines (16 loc) 570 B
# grunt-nsp-shrinkwrap # DANGER WILL ROBINSON - THIS MODULE IS DEPRECATED Submits your npm-shrinkwrap.json file to the nodesecurity.io API for validation that dependencies or dependencies of dependencies are not vulnerable to known vulnerabilities. # Installation $ npm install grunt-nsp-shrinkwrap --save-dev # Usage Add this line to your project's grunt.js gruntfile: ```js grunt.loadNpmTasks('grunt-nsp-shrinkwrap'); ``` Then use the task `validate-shrinkwrap` build tasks eg. ```js grunt.registerTask("default", 'validate-shrinkwrap'); ``` # License MIT