@wordpress/browserslist-config
Advanced tools
Comparing version
### WordPress - Web publishing software | ||
Copyright 2011-2018 by the contributors | ||
Copyright 2011-2019 by the contributors | ||
@@ -5,0 +5,0 @@ This program is free software; you can redistribute it and/or modify |
{ | ||
"name": "@wordpress/browserslist-config", | ||
"version": "2.2.3", | ||
"version": "2.3.0", | ||
"description": "WordPress Browserslist shared configuration.", | ||
@@ -15,3 +15,4 @@ "author": "The WordPress Contributors", | ||
"type": "git", | ||
"url": "https://github.com/WordPress/gutenberg.git" | ||
"url": "https://github.com/WordPress/gutenberg.git", | ||
"directory": "packages/browserslist-config" | ||
}, | ||
@@ -28,3 +29,3 @@ "bugs": { | ||
}, | ||
"gitHead": "c59ef56fe16bdcc1fffd70b6e8a2fda4bf9c28fe" | ||
"gitHead": "80d228669adadb8dfcd24b8421517fed3be2d474" | ||
} |
@@ -10,3 +10,3 @@ # Browserslist Config | ||
```shell | ||
$ npm install @wordpress/browserslist-config | ||
$ npm install browserslist @wordpress/browserslist-config --save-dev | ||
``` | ||
@@ -24,4 +24,10 @@ | ||
Alternatively, add this to `.browserslistrc` file: | ||
``` | ||
extends @wordpress/browserslist-config | ||
``` | ||
This package when imported returns an array of supported browsers, for more configuration examples including Autoprefixer, Babel, ESLint, PostCSS, and stylelint see the [Browserslist examples](https://github.com/ai/browserslist-example#browserslist-example) repo. | ||
<br/><br/><p align="center"><img src="https://s.w.org/style/images/codeispoetry.png?1" alt="Code is Poetry." /></p> |
22677
0.76%32
23.08%