Sam Therapy
dd0b2e5d69
- Convert to yarn v2 with zero installs - Refactor much of app to use config instead of flags - Add booru support Signed-off-by: Sam Therapy <sam@samtherapy.net>
49 lines
1.5 KiB
JSON
49 lines
1.5 KiB
JSON
{
|
|
"dependencies": {
|
|
"booru": "^2.5.3",
|
|
"command-line-args": "^5.2.1",
|
|
"command-line-usage": "^6.1.1",
|
|
"got-cjs": "^12.0.1",
|
|
"megalodon": "^4.0.1",
|
|
"strip-json-comments": "^3.1.1",
|
|
"typescript": "^4.6.2"
|
|
},
|
|
"name": "fediverse-imagebot",
|
|
"version": "1.1.0",
|
|
"description": "Image bot for the fediverse (Pleroma, Mastodon, Misskey)",
|
|
"exports": "./dist/index.js",
|
|
"bin": "dist/index.js",
|
|
"pkg": {
|
|
"scripts": "dist/**/*.js",
|
|
"targets": [
|
|
"node16-linux-x64",
|
|
"node16-macos-x64",
|
|
"node16-win-x64"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"build": "yarn run clean && tsc",
|
|
"clean": "rm -rf dist",
|
|
"lint": "eslint --ext .ts ./src --fix && prettier --write ./src",
|
|
"lint:ci": "eslint --ext .ts,.js ./src && prettier ./src --check",
|
|
"bot": "node ./dist/index.js",
|
|
"package": "pkg . -o dist/imagebot-x64 -C Gzip",
|
|
"test": "echo \"No tests yet!\" && exit 0"
|
|
},
|
|
"repository": "https://git.froth.zone/Sam/fediverse-imagebot",
|
|
"author": "Sam Therapy <sam@samtherapy.net>",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@types/command-line-args": "^5.2.0",
|
|
"@types/command-line-usage": "^5.0.2",
|
|
"@types/node": "^17.0.21",
|
|
"@types/node-fetch": "^2.6.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.14.0",
|
|
"@typescript-eslint/parser": "^5.14.0",
|
|
"eslint": "^8.11.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"pkg": "^5.5.2",
|
|
"prettier": "^2.5.1"
|
|
}
|
|
}
|