Skip to content

Commit

Permalink
ADD: First Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Aguiar committed Nov 28, 2018
0 parents commit 8271910
Show file tree
Hide file tree
Showing 37 changed files with 10,015 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .env.build-test
@@ -0,0 +1,2 @@
NODE_ENV=production
IS_BUILD_TEST = true
14 changes: 14 additions & 0 deletions .eslintrc.js
@@ -0,0 +1,14 @@
module.exports = {
parserOptions: {
parser: 'babel-eslint',
ecmaVersion: 6,
sourceType: 'module',
ecmaFeatures: {
modules: true,
}
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
}
}
25 changes: 25 additions & 0 deletions .gitignore
@@ -0,0 +1,25 @@
.DS_Store
node_modules
/dist

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*

dist
.cache
data.json
7 changes: 7 additions & 0 deletions LICENSE
@@ -0,0 +1,7 @@
Copyright 2018 Kevin de Faveri Aguiar

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:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10 changes: 10 additions & 0 deletions README.md
@@ -0,0 +1,10 @@
# CoolTextArea - A plug-n-play [Tw]emoji Picker and Textarea for Vue

![alt text](https://i.imgur.com/kd7JPiC.png "CoolTextArea Demo")


## Documentation
Documentation and demo is available here: https://cooltextarea.github.io

## License
MIT 2018 Kevin de Faveri Aguiar
5 changes: 5 additions & 0 deletions babel.config.js
@@ -0,0 +1,5 @@
module.exports = {
presets: [
'@vue/app'
]
}
3 changes: 3 additions & 0 deletions index.js
@@ -0,0 +1,3 @@
import CoolTextArea from "./src/components/cooltextarea/cooltextarea.vue";

export default CoolTextArea;
63 changes: 63 additions & 0 deletions package.json
@@ -0,0 +1,63 @@
{
"name": "cooltextarea",
"version": "0.1.0",
"private": true,
"main": "./index.js",
"keywords": [
"emoji-data",
"twemoji",
"emoji-picker",
"emoji-textarea",
"sanitize-textarea",
"vue"
],
"scripts": {
"serve:app": "vue-cli-service serve",
"build:comp": "vue-cli-service build --target lib --name cooltextarea ./index.js",
"build:app": "vue-cli-service build --mode production",
"build:test": "vue-cli-service build --mode build-test",
"lint": "vue-cli-service lint"
},
"dependencies": {
"twemoji": "^11.2.0",
"vue-observe-visibility": "^0.4.3",
"vue-popperjs": "^1.6.1"
},
"devDependencies": {
"@babel/core": "^7.1.6",
"@vue/cli-plugin-babel": "^3.1.1",
"@vue/cli-plugin-eslint": "^3.1.5",
"@vue/cli-service": "^3.1.4",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.4",
"babel-preset-vue": "^2.0.2",
"emojibase-data": "^3.2.0",
"eslint": "^5.8.0",
"eslint-plugin-vue": "^5.0.0-0",
"node-sass": "^4.10.0",
"sass-loader": "^7.1.0",
"vue": "^2.5.17",
"vue-template-compiler": "^2.5.17",
"webpack-bundle-analyzer": "^3.0.3"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended"
]
},
"postcss": {
"plugins": {
"autoprefixer": {}
}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
]
}
Binary file added public/favicon.ico
Binary file not shown.
34 changes: 34 additions & 0 deletions public/index.html
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="shortcut icon" href="<%= BASE_URL %>favicon.ico"/>
<title>CoolTextArea</title>

<!-- Common -->
<meta name="title" content="CoolTextArea"/>
<meta name="description" content="A plug-n-play (Tw)emoji Picker + Textarea!">
<meta name="keywords" content="emoji-data,twemoji,emoji-picker,emoji-textarea,sanitize-textarea,vue">
<!-- Twitter -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@kevinfaguiar" />
<meta name="twitter:title" content="CoolTextArea" />
<meta name="twitter:description" content="A plug-n-play (Tw)emoji Picker + Textarea!" />
<meta name="twitter:image" content="https://i.imgur.com/Oq6wKkV.png" />
<!-- Facebook -->
<meta property="og:url" content="https://github.com/kevinfaguiar/cooltextarea" />
<meta property="og:type" content="website" />
<meta property="og:title" content="CoolTextArea" />
<meta property="og:description" content="A plug-n-play (Tw)emoji Picker + Textarea!" />
<meta property="og:image" content="https://i.imgur.com/Oq6wKkV.png" />
<!-- Common -->
<meta itemprop="name" content="CoolTextArea"/>
<meta itemprop="description" content="A plug-n-play (Tw)emoji Picker + Textarea!"/>
<meta itemprop="image" content="https://i.imgur.com/Oq6wKkV.png"/>
</head>
<body>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>
Binary file added src/assets/send-icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/simple-grid.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8271910

Please sign in to comment.