1.0.0 • Published 4 years ago

@ifings/browserslist-config v1.0.0

Weekly downloads
15
License
MIT
Repository
github
Last release
4 years ago

@ifings/browserslist-config

package version package downloads standard-readme compliant package license make a pull request JavaScript Style Guide

Shareable Browserslist config for Full Facing.

Table of Contents

Usage

Usage

If you're directly consuming this package in an application, add this to your package.json:

{
  "browserslist": [
    "extends @ifings/browserslist-config"
  ]
}

When manually configuring a tool that uses Browserslist, importing this package returns the array of supported browsers.

For example, when configuring babel-preset-env via JavaScript:

{
  presets: [
    ['env', {
      targets: {
        browsers: require('@ifings/browserslist-config')
      }
    }]
  ]
}

Install

This project uses node and npm.

$ npm install @ifings/browserslist-config

Contribute

  1. Fork it and create your feature branch: git checkout -b my-new-feature
  2. Commit your changes: git commit -am "Add some feature"
  3. Push to the branch: git push origin my-new-feature
  4. Submit a pull request

License

MIT