@xerox/browserslist-config

2.0.5 • Public • Published

@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

/@xerox/browserslist-config/

    Package Sidebar

    Install

    npm i @xerox/browserslist-config

    Weekly Downloads

    76

    Version

    2.0.5

    License

    MIT

    Unpacked Size

    14.8 kB

    Total Files

    8

    Last publish

    Collaborators

    • xerox_digital
    • andrewleedham
    • phawxby