Skip to content

Commit

Permalink
bump emojilib version
Browse files Browse the repository at this point in the history
  • Loading branch information
notwaldorf committed Oct 5, 2016
1 parent 7fb8331 commit 13bd96a
Show file tree
Hide file tree
Showing 10 changed files with 7,740 additions and 3,806 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "emoji-translate",
"version": "1.0.1",
"version": "1.0.2",
"description": "A library that translates english words to emoji",
"authors": [
"Monica Dinculescu <[email protected]>"
Expand All @@ -20,6 +20,6 @@
"index.html"
],
"dependencies": {
"emojilib": "~1.0.0"
"emojilib": "^2.0.0"
}
}
18 changes: 9 additions & 9 deletions bower_components/emojilib/.bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "emojilib",
"version": "1.0.0",
"version": "2.0.2",
"homepage": "https://github.com/muan/emojilib",
"authors": [
"Mu-An Chiou <[email protected]>"
Expand All @@ -15,16 +15,16 @@
"test.js",
"*.yml",
"package.json",
"CONTRIBUTING.md"
"CONTRIBUTING.md",
"**/.*"
],
"_release": "1.0.0",
"_release": "2.0.2",
"_resolution": {
"type": "version",
"tag": "v1.0.0",
"commit": "6512c2387c7ce82d49b4e451d877002fe7239150"
"tag": "2.0.2",
"commit": "5222cbc4887053e8b94fa30ed2f5e9c840697f28"
},
"_source": "git://github.com/muan/emojilib.git",
"_target": "~1.0.0",
"_originalSource": "emojilib",
"_direct": true
"_source": "https://github.com/muan/emojilib.git",
"_target": "^2.0.0",
"_originalSource": "emojilib"
}
1 change: 0 additions & 1 deletion bower_components/emojilib/.gitignore

This file was deleted.

19 changes: 10 additions & 9 deletions bower_components/emojilib/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :book: emojilib [![Travis CI](https://travis-ci.org/muan/emojilib.svg?branch=master)](https://travis-ci.org/muan/emojilib)
# :book: emojilib [![Travis CI](https://travis-ci.org/muan/emojilib.svg?branch=master)](https://travis-ci.org/muan/emojilib) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)

Emoji keyword library.

Expand All @@ -16,14 +16,11 @@ bower install emojilib
npm install emojilib --save
```

```javascript
var emojis = require("emojilib")
```

## Usage

```javascript
> emojis
> var emoji = require("emojilib")
> emoji.lib
{
"grinning": {
"keywords": ["face", "smile", "happy", "joy"],
Expand All @@ -38,15 +35,19 @@ var emojis = require("emojilib")
...
}

> emojis.keys
[ 'grinning', 'grin', 'joy', 'smiley', 'smile', 'sweat_smile', ...]
> emoji.ordered
[ 'grinning', 'grimacing', 'grin', 'joy', 'smiley', 'smile', 'sweat_smile', ...]
```

## :electric_plug: Powered by emojilib

* [Emoji Searcher](http://emoji.muan.co)[muan/emoji](https://github.com/muan/emoji)
* [Megamoji](http://megamoji.muan.co)[muan/megamoji](https://github.com/muan/megaemoji)
* [Megamoji](http://megamoji.muan.co)[muan/megamoji](https://github.com/muan/megamoji)
* [Emoji-translate](http://meowni.ca/emoji-translate) - [notwaldorf/emoji-translate](https://github.com/notwaldorf/emoji-translate)
* [\<emo-ji\> Custom Element](https://github.com/wbinnssmith/emo-ji)
* [Menubar emoji search: Mojibar](https://github.com/muan/mojibar)[muan/mojibar](https://github.com/muan/mojibar)
* [Emoji CLI](https://github.com/muan/emoji-cli)[muan/emoji-cli](https://github.com/muan/emoji-cli)
* [Emoji Lookup for Launchbar](https://github.com/jasonrudolph/launchbar-emoji-lookup)[jasonrudolph/launchbar-emoji-lookup](https://github.com/jasonrudolph/launchbar-emoji-lookup)

## :heart: YES

Expand Down
5 changes: 3 additions & 2 deletions bower_components/emojilib/bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "emojilib",
"version": "1.0.0",
"version": "2.0.2",
"homepage": "https://github.com/muan/emojilib",
"authors": [
"Mu-An Chiou <[email protected]>"
Expand All @@ -15,6 +15,7 @@
"test.js",
"*.yml",
"package.json",
"CONTRIBUTING.md"
"CONTRIBUTING.md",
"**/.*"
]
}
16 changes: 16 additions & 0 deletions bower_components/emojilib/build.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
var fs = require('fs')
var path = require('path')
var JSONStream = require('JSONStream')
var format = require('format-json-stream')

var simplemap = fs.createWriteStream(path.join(__dirname, 'simplemap.json'))

fs.createReadStream(path.join(__dirname, 'emojis.json'))
.pipe(JSONStream.parse('*', function (val, key) {
if (val.char) {
return [key[0], val.char]
}
}))
.pipe(JSONStream.stringifyObject())
.pipe(format())
.pipe(simplemap)
Loading

3 comments on commit 13bd96a

@PeterDaveHello
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@notwaldorf maybe you'll also like to tag it? (git tag) 😄

@notwaldorf
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, done!

@PeterDaveHello
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @notwaldorf

Please sign in to comment.