Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
User committed Feb 13, 2019
1 parent f2bfb2a commit 2c33fde
Show file tree
Hide file tree
Showing 5 changed files with 5,763 additions and 30 deletions.
7 changes: 4 additions & 3 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{
"presets": [
["@babel/preset-env", {
["@babel/env", {
"loose": true,
"spec": true,
"targets": {
"browsers": [
"last 3 Chrome versions",
"last 3 Firefox versions",
"Safari >= 7",
"Explorer >= 10",
"Explorer >= 9",
"Edge >= 12",
"iOS >= 10",
"Android >= 6"
]
},
"useBuiltIns": "usage",
"debug": false
"debug": false,
"modules": false
}]
],
"plugins": [
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ slugify('你好, world!');

```html
<!-- UMD build -->
<script async defer src="https://cdn.jsdelivr.net/npm/transliteration@2.1.1/dist/browser/bundle.umd.min.js"></script>
<script async defer src="https://cdn.jsdelivr.net/npm/transliteration@2.1.3/dist/browser/bundle.umd.min.js"></script>
<script>
console.log(transliterate('你好'));
</script>
Expand All @@ -51,7 +51,7 @@ slugify('你好, world!');
```html
<!-- ESM build -->
<script type="module">
import { transliterate } from 'https://cdn.jsdelivr.net/npm/transliteration@2.1.1/dist/browser/bundle.esm.min.js';
import { transliterate } from 'https://cdn.jsdelivr.net/npm/transliteration@2.1.3/dist/browser/bundle.esm.min.js';
console.log(transliterate('你好'));
</script>
```
Expand Down Expand Up @@ -234,7 +234,7 @@ console.log(slugify.config());

```

### CLI
### CLI Usage

```
➜ ~ transliterate --help
Expand Down

0 comments on commit 2c33fde

Please sign in to comment.