maybe try publishing this to the Gitea NPM
Some checks failed
continuous-integration/drone/push Build is failing

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2022-10-25 17:11:10 +02:00
parent 58fdb3beda
commit 39266ee162
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
2 changed files with 13 additions and 7 deletions

View file

@ -2,8 +2,7 @@
"dependencies": {
"command-line-args": "5.2.1",
"command-line-usage": "6.1.3",
"megalodon": "4.1.0",
"typescript": "4.8.4"
"megalodon": "4.1.0"
},
"devDependencies": {
"@types/command-line-args": "5.2.0",
@ -14,10 +13,11 @@
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.2.1",
"pkg": "5.8.0",
"prettier": "2.7.1"
"prettier": "2.7.1",
"typescript": "4.8.4"
},
"name": "feditoken",
"version": "1.2.0",
"version": "1.2.1",
"description": "Token Generation for the fediverse (Pleroma, Mastodon, Misskey)",
"main": "dist/token.js",
"bin": "dist/token.js",
@ -28,9 +28,13 @@
"lint:ci": "eslint --ext .ts,.js ./src && prettier ./src --check",
"package": "pkg . -C Gzip",
"test": "echo \"No tests yet!\" && exit 0",
"token": "node ./dist/token.js"
"token": "node ./dist/token.js",
"prepublishOnly": "pnpm build"
},
"repository": "https://git.froth.zone/Sam/js-feditoken",
"author": "Sam Therapy <sam@samtherapy.net>",
"license": "0BSD"
}
"license": "0BSD",
"files": [
"dist"
]
}

View file

@ -1,3 +1,5 @@
#!/usr/bin/env node
// Takes a user inputted fediverse instance and generates a token for the bot, and adds it to the configuration file
import generator, { detector } from "megalodon";