
Research
/Security News
Coruna Respawned: Compromised art-template npm Package Leads to iOS Browser Exploit Kit
Compromised npm package art-template delivered a Coruna-like iOS Safari exploit framework through a watering-hole attack.
babel-build
Advanced tools
基于webpack的react项目编译工具,支持babel+es6+less,内置webpack dev server,支持热加载。内置测试框架karma+mocha+chai+PhantomJS
# 安装在全局,并link到项目中
npm install -g babel-build
npm link babel-build
# 直接安装到项目中
npm install babel-build --save-dev
在项目中创建aegis.config 开发版本: aegis.config.dev.js 上线版本: aegis.config.js 单元测试: aegis.config.test.js
开发与线上版本配置说明
{
web: {
// 同webpack配置,已内置babel、ts及必要loaders/plugins
// 此处仅需要配置entry/output等必要自定义配置
// 若需要使用其他配置,同webpack配置可与默认配置合并,例如CommonChunkPlugin/HtmlWebpackPlugin等
},
node: {
同web配置,内置target: node,为node服务端配置
},
autoprefixer: [
//autoprefixer的配置,以下为默认配置
'last 2 versions',
'> 1%',
'Explorer >= 9',
],
copy: { // 复制功能, watch模式时会监听变化
source: xxx,
target: xxx
}
}
单元测试配置说明
{
testPath: './test', // 测试代码所在路径,必填
src: './src', // 源码所在路径,必填
output: './coverage/', // 测试报告输出路径,必填
files: ['test/loadTest.js'] // 包含测试代码,必填
}
FAQs
babel+es6编译工具
We found that babel-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.

Research
/Security News
Compromised npm package art-template delivered a Coruna-like iOS Safari exploit framework through a watering-hole attack.

Company News
As AI accelerates how code is written and shipped, Socket is scaling to protect the software supply chain from the growing wave of attacks targeting open source dependencies.

Company News
Socket is scaling to defend open source against supply chain attacks as AI accelerates software development.