Security News
Python Overtakes JavaScript as Top Programming Language on GitHub
Python becomes GitHub's top language in 2024, driven by AI and data science projects, while AI-powered security tools are gaining adoption.
browserslist-config-anolilab
Advanced tools
Shareable browserlist config for Anolilab projects.
It helps you maintain consistency across different projects and ensures that your projects support the same set of browsers.
Daniel Bannert's open source work is supported by the community on GitHub Sponsors
Our package aims to simplify and streamline the configuration process for your projects, ensuring efficiency and minimizing errors. By implementing the following strategies, we achieve this goal:
Centralized Browser Targeting: Say goodbye to the hassle of defining target browsers for each individual project. Our package eliminates this need, providing a single, consistent configuration.
Widely Used Target Browsers: We offer a carefully curated selection of popular target browsers. You can rely on our pre-defined set to cover a wide range of user preferences.
Effortless Updates: Keeping up with evolving browser requirements is effortless with our package. You can easily update the target browsers across all your projects whenever necessary, saving valuable time and effort.
In summary, our Browserslist Config ensures a superior user experience across various browsers, making it a vital tool for maintaining high-quality standards. Your users will enjoy a seamless browsing experience, regardless of their chosen platform.
Install the package using your preferred package manager:
npm install browserslist-config-anolilab --save-dev
pnpm add -D browserslist-config-anolilab
yarn add -D browserslist-config-anolilab
Optionally, you can install browserslist
to use the browserslist
CLI.
Adding the following script to your root package.json file makes it easier to run the browserslist command in your mono-repository:
pnpm pkg set scripts.lint:browsers="browserslist"
For npm
users, replace pnpm
with npm
in the above command.
This script allows you to run the browserslist
command by simply typing pnpm run lint:browsers
(or npm run lint:browsers
for npm users) in the terminal.
{
"browserslist": ["extends browserslist-config-anolilab"]
}
Alternatively, add this to .browserslistrc
file:
extends browserslist-config-anolilab
Or when using babel-preset-env
module.exports = {
presets: [
[
'env',
{
targets: {
// eslint-disable-next-line global-require
browsers: require('browserslist-config-anolilab'),
},
},
],
],
}
Browserslist is a library to share a browsers list between different front end tools, like Autoprefixer, Eslint, and Stylelint.
{
"production": [
"> 1%",
"last 2 versions",
"Firefox ESR"
],
"legacyBrowsers": [
"> 1%",
"last 2 versions",
"Firefox ESR"
],
"modernBrowsers": [
"last 2 Chrome versions",
"not Chrome < 60",
"last 2 Safari versions",
"not Safari < 10.1",
"last 2 iOS versions",
"not iOS < 10.3",
"last 2 Firefox versions",
"not Firefox < 54",
"last 2 Edge versions",
"not Edge < 15"
],
"ssr": [
"node 12"
]
}
Libraries in this ecosystem make the best effort to track Node.js’ release schedule. Here’s a post on why we think this is important.
If you would like to help take a look at the list of issues and check our Contributing guild.
Note: please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
The anolilab javascript-style-guide is open-sourced software licensed under the MIT license
FAQs
Shareable browserlist config for Anolilab projects.
We found that browserslist-config-anolilab demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Python becomes GitHub's top language in 2024, driven by AI and data science projects, while AI-powered security tools are gaining adoption.
Security News
Dutch National Police and FBI dismantle Redline and Meta infostealer malware-as-a-service operations in Operation Magnus, seizing servers and source code.
Research
Security News
Socket is tracking a new trend where malicious actors are now exploiting the popularity of LLM research to spread malware through seemingly useful open source packages.