Socket
Socket
Sign inDemoInstall

browserslist-config-wikimedia

Package Overview
Dependencies
0
Maintainers
5
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    browserslist-config-wikimedia

Wikimedia shareable Browserslist configuration


Version published
Weekly downloads
44K
decreased by-26.45%
Maintainers
5
Install size
5.07 kB
Created
Weekly downloads
 

Readme

Source

Wikimedia Browserslist browserslist-config-wikimedia

Shareable Browserslist configuration for Wikimedia projects.

Configuration list to target the Wikimedia and MediaWiki supported browsers.

Install

$ npm install --save-dev browserslist-config-wikimedia

Use

  1. To use this package in an application, add this to your package.json:
{
	"browserslist": [
		"extends browserslist-config-wikimedia/modern"
	]
}
  1. Or add this line into your Browserslist config file .browserslistrc:
extends browserslist-config-wikimedia/modern
  1. To manually configure a tool that uses Browserslist, importing this package returns the array of supported browsers.

For example, when configuring @babel/preset-env via JavaScript:

{
  presets: [
	[ 'env', {
		targets: {
			browsers: require( 'browserslist-config-wikimedia/modern' )
		}
	} ]
  ]
}
  1. To override or slightly adapt one of the available Browserslist configurations, modern or basic, add your overrides to the list. Exemplified with .browerslistrc:
extends browserslist-config-wikimedia/basic
not Android <= 8

License

This is available under the MIT LICENSE.

Keywords

FAQs

Last updated on 01 Mar 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc