From b231fc5209a166a7a8a58b1ca02e6aa776890733 Mon Sep 17 00:00:00 2001 From: jem Date: Mon, 29 Jun 2020 18:47:55 +0200 Subject: [PATCH] works :-) --- README.md | 8 ++++++-- package.json | 6 +++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 104b856..07455c0 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,12 @@ the bot will post the timeline from the specified Twitter/Tumblr accounts and RS ### installation -1. install [Node.js](https://nodejs.org/en/) -2. run `npm install` to install Node modules +1. prerequisits +1.1 [Node.js](https://nodejs.org/en/) +1.2 npm +2. install with `sudo npm install mastodon-bot -g` +3. run with `mastodon-bot -h` + ### usage diff --git a/package.json b/package.json index 8fce2f1..7cbb33d 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "mastodon-bot", "description": "Bot to publish twitter, tumblr or rss posts to an mastodon account.", "author": "Dmitri Sotnikov", - "version": "0.1.0-dev-0", + "version": "0.1.0-dev-1", "homepage": "https://github.com/yogthos/mastodon-bot", "repository": "https://github.com/yogthos/mastodon-bot", "license": "MIT", @@ -18,8 +18,8 @@ "shadow-cljs": "^2.8.37" }, "main": "mastodon-bot.js", - "scripts": { - "start": "node mastodon-bot.js" + "bin": { + "mastodon-bot": "./mastodon-bot.js" }, "keywords": [ "cljs",