Skip to content
Permalink
Browse files

Base commit

  • Loading branch information...
julioolvr committed Jun 15, 2016
0 parents commit 91f4413d2ae33f643825a75596a19b03895549bc
Showing with 85 additions and 0 deletions.
  1. +5 −0 .babelrc
  2. +5 −0 .editorconfig
  3. +32 −0 .eslintrc
  4. +3 −0 .gitignore
  5. +1 −0 .nvmrc
  6. +11 −0 index.js
  7. +23 −0 package.json
  8. +5 −0 src/bot.js
@@ -0,0 +1,5 @@
{
"presets": [
"es2015"
]
}
@@ -0,0 +1,5 @@
root = true

[*]
indent_style = space
indent_size = 2
@@ -0,0 +1,32 @@
{
"rules": {
"indent": [
2,
2
],
"quotes": [
2,
"single"
],
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"never"
],
"camelcase": [
2,
{ "properties": "never" }
],
"consistent-return": [
0
]
},
"env": {
"es6": true,
"node": true
},
"parser": "babel-eslint"
}
@@ -0,0 +1,3 @@
node_modules/
.env
npm-debug.log
1 .nvmrc
@@ -0,0 +1 @@
v4.4.4
@@ -0,0 +1,11 @@
var dotenv = require('dotenv')
dotenv.config({ silent: true })
dotenv.load()

var path = require('path')

require('babel-register')

var Bot = require('./src/bot').default
var bot = new Bot()
bot.start()
@@ -0,0 +1,23 @@
{
"name": "telegram-bot-example",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"lint": "eslint index.js src/",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Julio Olivera",
"license": "ISC",
"dependencies": {
"babel": "^6.5.2",
"babel-preset-es2015": "^6.9.0",
"babel-register": "^6.9.0",
"dotenv": "^2.0.0"
},
"devDependencies": {
"babel-eslint": "^6.0.4",
"eslint": "^2.12.0",
"nodemon": "^1.9.2"
}
}
@@ -0,0 +1,5 @@
export default class Bot {
start() {
console.log('build me!')
}
}

0 comments on commit 91f4413

Please sign in to comment.
You can’t perform that action at this time.