Skip to content

Latest commit

 

History

History
69 lines (57 loc) · 2.18 KB

File metadata and controls

69 lines (57 loc) · 2.18 KB

@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