Skip to content

Commit

Permalink
Merge branch 'release/1.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
titouanmathis committed May 30, 2020
2 parents 6786025 + b91258f commit 76ae767
Show file tree
Hide file tree
Showing 8 changed files with 6,124 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Editor configuration normalization
# @see http://editorconfig.org/

root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
end_of_line = LF
insert_final_newline = true
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: '@studiometa/eslint-config',
};
1 change: 1 addition & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@studiometa/prettier-config');
49 changes: 47 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,47 @@
# browserslist-config
A shareable Browserlist config.
# Browserslists config

[![NPM Version](https://img.shields.io/npm/v/@studiometa/browserslist-config.svg?style=flat-square)](https://www.npmjs.com/package/@studiometa/browserslist-config)

> A shareable Browserlist configuration.
## Installation

Install the package via NPM:

```bash
npm install --save-dev @studiometa/browserslist-config
```

## Usage

Extend the configuration in your project's `package.json` file:

```json
{
"browserslist": [
"extends @studiometa/browserslist-config"
]
}
```

See the [documentation on shareable configuration](https://github.com/browserslist/browserslist#shareable-configs) for more information.

The exported configuration matches the following:

```
> 0.2%
last 4 versions
not dead
node >= 10
```

If you need to add support for Internet Explorer 10, you can add it to your project's `package.json` file:

```json
{
"browserslist": [
"extends @studiometa/browserslist-config",
"IE 10"
]
}
```
Loading

0 comments on commit 76ae767

Please sign in to comment.