forked from sindresorhus/emoj
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
165c7a4
commit 052a350
Showing
9 changed files
with
72 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
* text=auto | ||
*.js text eol=lf | ||
* text=auto eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
language: node_js | ||
node_js: | ||
- '8' | ||
- '12' | ||
- '10' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
MIT License | ||
|
||
Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com) | ||
Copyright (c) Sindre Sorhus <[email protected]> (https://sindresorhus.com) | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,14 +4,15 @@ | |
"description": "Find relevant emoji from text on the command-line", | ||
"license": "MIT", | ||
"repository": "sindresorhus/emoj", | ||
"funding": "https://github.com/sponsors/sindresorhus", | ||
"author": { | ||
"name": "Sindre Sorhus", | ||
"email": "[email protected]", | ||
"url": "sindresorhus.com" | ||
"url": "https://sindresorhus.com" | ||
}, | ||
"bin": "cli.js", | ||
"engines": { | ||
"node": ">=8" | ||
"node": ">=10" | ||
}, | ||
"scripts": { | ||
"test": "xo && ava" | ||
|
@@ -36,31 +37,33 @@ | |
"networks" | ||
], | ||
"dependencies": { | ||
"auto-bind": "^1.1.0", | ||
"clipboardy": "^1.1.4", | ||
"conf": "^1.0.0", | ||
"got": "^7.1.0", | ||
"import-jsx": "^1.2.0", | ||
"ink": "^2.0.0-2", | ||
"ink-text-input": "^3.0.0-0", | ||
"auto-bind": "^4.0.0", | ||
"clipboardy": "^2.2.0", | ||
"conf": "^6.2.1", | ||
"got": "^10.6.0", | ||
"import-jsx": "^3.1.0", | ||
"ink": "^2.7.1", | ||
"ink-text-input": "^3.2.2", | ||
"lodash.debounce": "^4.0.6", | ||
"mem": "^1.1.0", | ||
"meow": "^3.7.0", | ||
"mem": "^6.0.1", | ||
"meow": "^6.0.1", | ||
"react": "^16.5.2", | ||
"skin-tone": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"ava": "*", | ||
"eslint-config-xo-react": "^0.13.0", | ||
"ava": "^1.4.0", | ||
"eslint-config-xo-react": "^0.23.0", | ||
"eslint-plugin-react": "^7.1.0", | ||
"xo": "^0.18.2" | ||
"eslint-plugin-react-hooks": "^2.4.0", | ||
"xo": "^0.26.1" | ||
}, | ||
"xo": { | ||
"extends": [ | ||
"xo-react" | ||
], | ||
"rules": { | ||
"react/prop-types": 0 | ||
"react/prop-types": "off", | ||
"react/state-in-constructor": "off" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import test from 'ava'; | ||
import m from '.'; | ||
import emoj from '.'; | ||
|
||
test(async t => { | ||
const [unicornEmoji] = await m('unicorn'); | ||
test('main', async t => { | ||
const [unicornEmoji] = await emoj('unicorn'); | ||
t.is(unicornEmoji, '🦄'); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters