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
This commit is contained in:
AJ Jordan 2018-03-14 14:19:16 -04:00
parent 75b679a533
commit 8bf710dd61
No known key found for this signature in database
GPG key ID: 26794034633DBBC0

View file

@ -4,7 +4,11 @@
"repository": "https://github.com/yogthos/mastodon-bot", "repository": "https://github.com/yogthos/mastodon-bot",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"lumo-cljs": "^1.8.0",
"mastodon-api": "1.3.0", "mastodon-api": "1.3.0",
"twitter": "1.7.1" "twitter": "1.7.1"
},
"scripts": {
"start": "./mastodon-bot.cljs"
} }
} }