
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@borf/build
Advanced tools
Build system in a box for Borf projects.
First, install this package in your project as a dev dependency.
npm i --save-dev @borf/build
Installing this package makes the bbuild command (and alias borf-build) available in package.json scripts:
{
"scripts": {
"build": "bbuild --minify",
"start": "bbuild --watch"
}
}
--watch or -wStarts an HTTP server with live reload. Visit this server in your browser to see your app.
--minifyShortens variable names and removes whitespace in an effort to reduce bundle size as much as possible. Recommended for production builds.
--config or -cBuild against a specific config. Takes the path to the desired config file:
bbuild -c borf.build.prod.js
bbuild -c borf.build.dev.js
Build will look for a borf.build.js file in your project root by default:
project/
...
package.json
borf.build.js
The config file exports a builder configuration. You can create as many of these as you like as separate files and build against a specific one with the --config command line option.
import { Builder } from "@borf/build";
export default Builder.configure({
client: {
entry: "./client/app.jsx",
},
server: {
entry: "./server/app.ts",
},
static: {
path: "./static",
},
output: {
path: "./output",
},
optimize: {
minify: true,
compress: "production",
},
});
🦆
FAQs
Build system in a box for Borf apps.
The npm package @borf/build receives a total of 2 weekly downloads. As such, @borf/build popularity was classified as not popular.
We found that @borf/build 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.