Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
Update gemoji
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Mar 10, 2020
1 parent 6a0ac77 commit abfe083
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var fs = require('fs')
var afinn = require('afinn-165')
var emojiEmotion = require('emoji-emotion')
var emoticons = require('emoticon')
var gemoji = require('gemoji')
var emoji2gemoji = require('gemoji/emoji-to-name')

var list = {}

Expand All @@ -19,7 +19,7 @@ emojiEmotion.forEach(function(info) {
})

emojiEmotion.forEach(function(info) {
list[':' + gemoji.unicode[info.emoji].name + ':'] = info.polarity
list[':' + emoji2gemoji[info.emoji] + ':'] = info.polarity
})

emoticons.forEach(function(emoticon) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"browserify": "^16.0.0",
"emoji-emotion": "^2.0.0",
"emoticon": "^3.0.0",
"gemoji": "^4.0.0",
"gemoji": "^5.0.0",
"nyc": "^15.0.0",
"prettier": "^1.0.0",
"remark-cli": "^7.0.0",
Expand Down

0 comments on commit abfe083

Please sign in to comment.