Skip to content

Latest commit

 

History

History
 
 

xerox-browserslist-config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@xerox/browserslist-config

Browserslist shareable configuration for Xerox projects.

ci status npm package license MIT commit style angular semantic-release

Usage

  1. Install this config and prettier as a devDependency:
yarn add @xerox/browserslist-config --dev
# or
npm install @xerox/browserslist-config --save-dev
  1. Add the following to your package.json:
{
  // ...
  "browserslist": [
    "extends @xerox/browserslist-config"
  ]
  // ...
}

If you're using environments:

{
  // ...
  "browserslist": {
    "build": [
      "extends @xerox/browserslist-config"
    ],
    "test": [
      "extends @xerox/browserslist-config/node"
    ]
  }
  // ...
}

Configurations

Currently there are 3 different browserslist configurations:

  1. @xerox/browserslist-config which uses Adobe Analytics data to get the most appropriate browsers to be supported across Xerox websites.
  2. @xerox/browserslist-config/node which gets the current node version that is expected to be supported across Xerox projects.
  3. @xerox/browserslist-config/browserstack which gets the browsers to be test against in browserstack.

LICENSE | CHANGELOG