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-cli-babel
Advanced tools
Grunt CLI wrapper around the Babel!
If you haven't used Grunt before, be sure to check out the Getting Started guide.
import path from 'path';
export default grunt => {
let clean = {
test: [
path.resolve('cache')
]
};
grunt.initConfig({ clean });
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.registerTask('test', ['clean']);
grunt.registerTask('default', ['test']);
};
Yeah, you can write the Gruntfile using ECMAScript 6th edition!
There're two ways!
sudo npm install -g grunt-cli-babel
grunt clean
There's an alternative and more preferred way based on package.json
.
{
"private": true,
"scripts": {
"clean": "grunt clean"
},
"dependencies": {
"grunt-contrib-clean": "^0.6.0",
"grunt-cli-babel" : "^0.0.2"
}
}
npm run clean
See more details about npm run.
MIT
Task submitted by Alexander Abashkin
FAQs
Grunt CLI wrapper around Babel
We found that grunt-cli-babel 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.