Add filters so 'npm pack' and publish contains just enough

This commit is contained in:
Arnout Engelen 2020-04-14 15:40:57 +02:00
parent e7daeab93d
commit 7f992e9d73
No known key found for this signature in database
GPG key ID: 061107B0F74A6DAA

View file

@ -15,6 +15,12 @@
"devDependencies": { "devDependencies": {
"shadow-cljs": "^2.8.37" "shadow-cljs": "^2.8.37"
}, },
"directories": {
"lib": "."
},
"files": [
"mastodon_bot/*"
],
"scripts": { "scripts": {
"start": "./mastodon_bot/core.cljs", "start": "./mastodon_bot/core.cljs",
"test": "MASTODON_BOT_CONFIG=test.edn ./mastodon_bot/core_test.cljs" "test": "MASTODON_BOT_CONFIG=test.edn ./mastodon_bot/core_test.cljs"