Commit 88231d57 authored by Melroy van den Berg's avatar Melroy van den Berg

move to src

parent 1cea696a
......@@ -2,15 +2,15 @@
"name": "lbry-bot",
"version": "0.1.0",
"description": "A Botfather chat bot for LBRY. The one that rule them all!",
"main": "app.js",
"main": "src/index.js",
"directories": {
"doc": "docs"
},
"scripts": {
"start": "export $(cat tokens.env | xargs) && node app.js",
"start": "export $(cat tokens.env | xargs) && node .",
"test": "mocha --reporter spec",
"lint": "eslint . --ext .js",
"fix": "eslint . --ext .js --fix"
"lint": "eslint src --ext .js",
"fix": "eslint src --ext .js --fix"
},
"repository": {
"type": "git",
......
......@@ -19,9 +19,9 @@ global.TelegramSecretHash = crypto.randomBytes(20).toString('hex')
const TelegramBot = require('node-telegram-bot-api')
const express = require('express')
const bodyParser = require('body-parser')
const LBRY = require('./src/lbry')
const Exchange = require('./src/exchange')
const Telegram = require('./src/telegram')
const LBRY = require('./lbry')
const Exchange = require('./exchange')
const Telegram = require('./telegram')
const routes = require('./routes')
if (!TELEGRAM_TOKEN) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment