
Product
Introducing Supply Chain Attack Campaigns Tracking in the Socket Dashboard
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.
battlemake
Advanced tools
Front-end build system with web server and watchers, using jade+browserify+less+webfonts.
This is my first use of Gulp, so it's probably terrible.
I created a build system for use with simple projects. It uses Less.js for stylesheets, Jade for templates, and Browserify for JavaScript.
var config = {
paths: {
/* Relative path to output directory */
out: 'out'
},
bundles: {
/* Client javascript bundle and source-map*/
client: 'client.js',
clientMap: 'client.json',
/* Vendor javascript bundle */
vendor: 'vendor.js',
/* Stylesheet */
styles: 'style.css'
},
globs: {
/* Passed to BROWSERIFY entry point(s) */
js: ['./script.js'],
/* Glob for LESS entry point(s) */
less: ['style.less'],
/* Glob for JADE templates */
jade: ['pages/*.jade', 'pages/**/*.jade'],
/* Glob for NPM files to copy to output folder */
npmAssets: ['./node_modules/**/*.@(png|jpg|jpeg|gif|woff|woff2|eot|ttf|otf|svg)']
},
/*
* Path to list of Google Webfonts to install
* See my battlesnake/gulp-google-webfonts gulp plugin
*/
fonts: 'fonts.list',
/*
* Used to generate vendor script bundle - simply globbing in
* node_modules would pull in devDependencies too, which we do not want
*/
dependencies: require('./package.json').dependencies,
/*
* Dependencies which contain no JavaScript, and thus which shouldn't be
* added to the vendor bundle
*/
jsFreeDependencies: ['font-awesome'],
/* Parameters for testing (gulp test) */
test: {
/* Port for test HTTP server to listen on */
port: 1234
}
};
/* Generate the build system */
var battlemake = require('battlemake')(config);
live=1 gulp - build files for deployment (takes ages), exit afterwards instead
of watching for changes.
gulp where live is empty or zero - build files for testing (no minification,
much quicker), start watchers to do incremental rebuilds when files change.
gulp test - As before, but a connect.js web server is also launched from the
output directory.
FAQs
Front-end build system with web server and watchers, using jade+browserify+less+webfonts.
The npm package battlemake receives a total of 4 weekly downloads. As such, battlemake popularity was classified as not popular.
We found that battlemake 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.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.

Security News
Node.js 25.4.0 makes require(esm) stable, formalizing CommonJS and ESM compatibility across supported Node versions.