Commit 439f7d753e861e7988c2e40c809b8ae58e2bcd21
1 parent
24c1272a4f
Exists in
master
config.sample.json
Showing 2 changed files with 21 additions and 1 deletions Inline Diff
config.sample.json
File was created | 1 | { | |
2 | "origin": "TELEGRAM0", | ||
3 | "core_url": "http://localhost:32972/apikey/PLEASE_CHANGE_ME", | ||
4 | "listen_port": 14232, | ||
5 | "commands": { | ||
6 | "balance": ["S", "SAL", "SALDO", "BAL", "BALANCE", "CEKSALDO"], | ||
7 | "price": ["H", "HP", "CH", "HARGA", "CEKHARGA", "PRICE"], | ||
8 | "postpaid_inquiry": ["INQUIRY", "INQ", "CEKTAGIHAN"], | ||
9 | "postpaid_pay": ["PAYMENT", "PAY", "BAYAR", "BAYARTAGIHAN"] | ||
10 | }, | ||
11 | "transport": { | ||
12 | "token": "PLEASE_CHANGE_ME", | ||
13 | "username_suffix": "@telegram.org" | ||
14 | }, | ||
15 | "control_panel": { | ||
16 | "listen_port": 14233, | ||
17 | "url": "http://localhost:14233/" | ||
18 | } | ||
19 | } | ||
20 |
package.json
1 | { | 1 | { |
2 | "name": "komodo-center-telegram", | 2 | "name": "komodo-center-telegram", |
3 | "version": "0.9.1", | 3 | "version": "0.9.1", |
4 | "description": "Komodo Center using Telegram transport", | 4 | "description": "Komodo Center using Telegram transport", |
5 | "main": "index.js", | 5 | "main": "index.js", |
6 | "scripts": { | 6 | "scripts": { |
7 | "test": "mocha" | 7 | "test": "mocha", |
8 | "postversion": "git push && git push --tags" | ||
8 | }, | 9 | }, |
9 | "repository": { | 10 | "repository": { |
10 | "type": "git", | 11 | "type": "git", |
11 | "url": "git@gitlab.kodesumber.com:komodo/komodo-center-telegram.git" | 12 | "url": "git@gitlab.kodesumber.com:komodo/komodo-center-telegram.git" |
12 | }, | 13 | }, |
13 | "keywords": [ | 14 | "keywords": [ |
14 | "ppob", | 15 | "ppob", |
15 | "komodo", | 16 | "komodo", |
16 | "telegram" | 17 | "telegram" |
17 | ], | 18 | ], |
18 | "author": "Adhidarma Hadiwinoto <me@adhisimon.org>", | 19 | "author": "Adhidarma Hadiwinoto <me@adhisimon.org>", |
19 | "license": "ISC", | 20 | "license": "ISC", |
20 | "devDependencies": { | 21 | "devDependencies": { |
21 | "should": "^13.2.1" | 22 | "should": "^13.2.1" |
22 | }, | 23 | }, |
23 | "dependencies": { | 24 | "dependencies": { |
24 | "komodo-sdk": "git+http://gitlab.kodesumber.com/komodo/komodo-sdk.git", | 25 | "komodo-sdk": "git+http://gitlab.kodesumber.com/komodo/komodo-sdk.git", |
25 | "lru-cache": "^4.1.1", | 26 | "lru-cache": "^4.1.1", |
26 | "node-telegram-bot-api": "^0.30.0", | 27 | "node-telegram-bot-api": "^0.30.0", |
27 | "request": "^2.83.0" | 28 | "request": "^2.83.0" |
28 | } | 29 | } |
29 | } | 30 | } |
30 | 31 |