From 8bf710dd61a59b057a4990618130e1c4736199df Mon Sep 17 00:00:00 2001 From: AJ Jordan Date: Wed, 14 Mar 2018 14:19:16 -0400 Subject: [PATCH] Declare Lumo as a dependency This means that we always have the right version, regardless of what's in the global environment. Note that npm scripts (including `npm start`) automatically prepend `./node_modules/.bin` to $PATH, which is how this works. See also http://module.party --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 23529e3..35cece9 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,11 @@ "repository": "https://github.com/yogthos/mastodon-bot", "license": "MIT", "dependencies": { + "lumo-cljs": "^1.8.0", "mastodon-api": "1.3.0", "twitter": "1.7.1" + }, + "scripts": { + "start": "./mastodon-bot.cljs" } }