
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
es-scripts
is a set of scripts that manages tooling so you can focus on your application and not on configuration of tooling dependencies. These scripts were inspired by react-scripts
to bring a set of standards to be used across frontend projects.
Install es-scripts
into your project:
npm install --save-dev es-scripts
In your package.json
file, es-scripts
can be invoked in the scripts
section:
{
"name": "my-package",
"scripts": {
"test": "es-scripts test",
"lint": "es-scripts lint",
"prettify": "es-scripts format"
}
}
test
This script invokes the jest test runner using mostly defaults. Use es-scripts test --watch
to invoke the test runner in watch
mode. Including options in the "jest" section within the package.json
allows those options to be merged with the default options that are included in this package.
--watch
- run Jest in watch mode
--cover
- run Jest with a coverage reporter
--report
- run Jest with the jest-teamcity-reporter
lint
This script invokes eslint. ESLint is configured to use the recommended rules from the following packages:
format
This script invokes prettier to format your source code. It will automatically fix any formatting issues it finds. There is one override to enforce a single quotes on all strings. Take a look at the prettier configuration options to get a better idea of what rules prettier enforces.
FAQs
A toolbox of common scripts for managing frontend projects
We found that es-scripts 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.