Socket
Book a DemoInstallSign in
Socket

@github/browserslist-config

Package Overview
Dependencies
Maintainers
20
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@github/browserslist-config

The GitHub browserslist config.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
20
Created
Source

browserslist-config

The GitHub browserslist config.

How is this used on GitHub?

We use browserslist to power tools that guide developers to use APIs and syntax that is implemented by the browsers we support. These tools include eslint-plugin-compat, eslint-plugin-escompat and postcss-preset-env.

Usage

Install the package using npm.

npm install --save-dev @github/browserslist-config

Add the browserslist key to your package.json.

diff --git a/package.json b/package.json
index 2ecef3d..260838f 100644
--- a/package.json
+++ b/package.json
@@ -5,6 +5,7 @@
   "keywords": [
     "prettier"
   ],
+  "browserslist": "extends @github/browserslist-config",
   "license": "MIT",
   "author": "GitHub Inc.",
   "main": "index.js"

Check out the browserslist documentation for more info on sharing configurations.

Contributing

Contributing should only be done by GitHub staff and PRs are approved by @github/web-systems as the CODEOWNERS of this library. GitHub Staff can use github/browser-support-cli to get production data on browser usage for github.com.

License

Distributed under the MIT license. See LICENSE for details.

FAQs

Package last updated on 11 Oct 2022

Did you know?

Socket

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.

Install

Related posts