From 439f7d753e861e7988c2e40c809b8ae58e2bcd21 Mon Sep 17 00:00:00 2001 From: Adhidarma Hadiwinoto <gua@adhisimon.org> Date: Mon, 15 Jan 2018 11:38:35 +0700 Subject: [PATCH] config.sample.json --- config.sample.json | 19 +++++++++++++++++++ package.json | 3 ++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 config.sample.json diff --git a/config.sample.json b/config.sample.json new file mode 100644 index 0000000..754ff43 --- /dev/null +++ b/config.sample.json @@ -0,0 +1,19 @@ +{ + "origin": "TELEGRAM0", + "core_url": "http://localhost:32972/apikey/PLEASE_CHANGE_ME", + "listen_port": 14232, + "commands": { + "balance": ["S", "SAL", "SALDO", "BAL", "BALANCE", "CEKSALDO"], + "price": ["H", "HP", "CH", "HARGA", "CEKHARGA", "PRICE"], + "postpaid_inquiry": ["INQUIRY", "INQ", "CEKTAGIHAN"], + "postpaid_pay": ["PAYMENT", "PAY", "BAYAR", "BAYARTAGIHAN"] + }, + "transport": { + "token": "PLEASE_CHANGE_ME", + "username_suffix": "@telegram.org" + }, + "control_panel": { + "listen_port": 14233, + "url": "http://localhost:14233/" + } +} diff --git a/package.json b/package.json index f09ceb0..4213f1a 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "Komodo Center using Telegram transport", "main": "index.js", "scripts": { - "test": "mocha" + "test": "mocha", + "postversion": "git push && git push --tags" }, "repository": { "type": "git", -- 1.9.0