Published to npm

This commit is contained in:
Sagi Dayan 2020-03-19 15:57:26 -04:00
parent 7a98dbf411
commit 2d80268b42
4 changed files with 10 additions and 6 deletions

2
.gitignore vendored
View file

@ -193,3 +193,5 @@ $RECYCLE.BIN/
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option) # Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)
.npmrc

1
.npmignore Normal file
View file

@ -0,0 +1 @@
.npmrc

View file

@ -1,12 +1,9 @@
# **telme** # **telme**
#### CLI inline telegram bot notifications #### CLI inline telegram bot notifications
> This tool is still not published to npm. The best way to use it until then:
> `npm i && npm link` This will install the dependencies and create a link to execute `telme` globally
## TL;DR ## TL;DR
1. Get a bot token ( [BotFather](https://telegram.me/botfather) ) 1. Get a bot token ( [BotFather](https://telegram.me/botfather) )
2. `$ npm install -g telme` 2. `$ npm install -g node-telme`
3. `$ telme --init` 3. `$ telme --init`
4. Do something :) 4. Do something :)

View file

@ -1,10 +1,14 @@
{ {
"name": "telme", "name": "node-telme",
"version": "0.0.1", "version": "0.0.2",
"bin": "bin/telme", "bin": "bin/telme",
"description": "A CLI tool that will report to you via telegram when a task is done", "description": "A CLI tool that will report to you via telegram when a task is done",
"main": "index.js", "main": "index.js",
"author": "Sagi Dayan", "author": "Sagi Dayan",
"repository": {
"type": "git",
"url": "https://git.sagidayan.com/sagi/telme"
},
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"node-telegram-bot-api": "^0.40.0" "node-telegram-bot-api": "^0.40.0"