@cerner/browserslist-config-terra

4.0.0 • Public • Published

BrowsersList Config Terra

NPM version Build Status

This configuration reflects Terra's supported browser policy for their UI library and build tools.

What is Browserslist

Browserslist is a library to share a browsers list between different front-end tools, like Autoprefixer, Eslint, and Stylelint.

Supported Browsers

Browser Version
Chrome & Chrome for Android Current
Edge Current
Firefox Current
Internet Explorer 10 & 11
Safari Current
iOS >= 12

Installation

Install the module

npm install @cerner/browserslist-config-terra --save-dev

Usage

Terra's browserslist configuration should be extended from within a .browserslistrc file. Create a .browserslistrc if one does not already exist and extend from @cerner/browserslist-config-terra.

.browserslistrc

extends @cerner/browserslist-config-terra

Additional Notes

The .browserslist file should be added to .npmignore to prevent being released. Projects that implement the files key in the package.json do not need to add the .browserslist file to the .npmignore.

Do not extend the browserslist from within the package.json. This will create an implicit dependency that impacts all downstream consumers of the project.

LICENSE

Copyright 2018 - 2020 Cerner Innovation, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Package Sidebar

Install

npm i @cerner/browserslist-config-terra

Weekly Downloads

54

Version

4.0.0

License

Apache-2.0

Unpacked Size

17.2 kB

Total Files

6

Last publish

Collaborators

  • xenoworf
  • jessierandle
  • supreethmr
  • cerner-oss
  • kpshek
  • sambao21
  • kol