Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
ez-build-lib
Advanced tools
A command line tool to pack ES2015+ libraries.
Usage: ez-build-lib [options] [command]
Commands:
init <entry> Sets reasonable properties in the package.json, .gitignore, and bower.json files (optional)
build <entry> Builds your project
build:watch Builds the project whenever a file changes
publish <dir> Publish the project including distribution files:
Build > version bump > commit > create git tag > publish to npm
*
A command line tool to pack ES2015+ libraries
Options:
-h, --help output usage information
-V, --version output the version number
Example:
$ ez-build-lib init ./src/test.js
Updated package.json:
..
"main": "./dist/test.cjs.js",
"jsnext:main": "./dist/test.mjs",
"browser": "./dist/test.umd.js",
"scripts": {
"lint": "standard",
"build": "ez-build-lib build src/test.js",
"build:watch": "ez-build-lib watch src/test.js",
"publish": "npm run lint && npm run build && ez-build-lib publish ."
..
}
..
Updated bower.json:
..
"main": "./dist/test.umd.js"
..
Updated .gitignore
..
./dist/
..
It is encouraged to use `npm run <cmd>` from now on:
$ npm run build
$ npm run build:watch % for development
FAQs
A command line tool to pack ES2015+ libraries
The npm package ez-build-lib receives a total of 1 weekly downloads. As such, ez-build-lib popularity was classified as not popular.
We found that ez-build-lib 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.