
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
grunt-exec
Advanced tools
Grunt task for executing shell commands.
Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-exec
Then add this line to your project's grunt.js
gruntfile:
task.loadNpmTasks('grunt-exec');
This task is a multi task, meaning that grunt will automatically iterate over all exec
targets if a target is not specified.
true
if you want the stdout to be printed. Defaults to false
.true
if you want the stderr to be printed. Defaults to false
. grunt.initConfig({
exec: {
remove_logs: {
command: 'rm -f *.log'
}
list_files: {
command: 'ls -l **',
stdout: true
}
}
});
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) 2012 Jake Harding
Licensed under the MIT license.
FAQs
Grunt task for executing shell commands.
The npm package grunt-exec receives a total of 44,583 weekly downloads. As such, grunt-exec popularity was classified as popular.
We found that grunt-exec demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.