Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
grunt-bitballoon
Advanced tools
This plugin lets you deploy your sites to BitBalloon with a Grunt task.
npm install grunt-bitballoon --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-bitballoon');
Before configuring the Gruntfile you'll need to get a BitBalloon API access_token and do an initial manual deploy to create the site.
The grunt-bitballoon task is a multi-task; meaning you can specify different targets for this task to run as.
A quick reference of options
By default the plugin will look for BB_TOKEN and BB_SITE environment variables. You should always keep the access_token out of your Github repository either by using environment variables or by using template strings as in the example below.
Template strings in grunt will allow you to easily include values from other files. The below example demonstrates loading BitBalloon settings from another file, Where grunt-bitballoon.json is just a json key:value file like package.json.
This is important because you should never check in your BitBalloon token to github! Load them from an external file that is outside of the repo.
grunt.initConfig({
bb: grunt.file.readJSON('./grunt-bitballoon.json'),
bitballoon: {
options: {
token: '<%= bb.token %>',
src: 'dist'
},
dev: {
site: "http://my-staging-site.bitballoon.com"
},
prod: {
site: "http://my-production-site.bitballoon.com"
}
}
});
FAQs
Deploy to BitBalloon
The npm package grunt-bitballoon receives a total of 0 weekly downloads. As such, grunt-bitballoon popularity was classified as not popular.
We found that grunt-bitballoon 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.