bot/package.json

33 lines
915 B
JSON

{
"name": "spam-ml-bot",
"version": "0.1.0",
"description": "A Matrix Bot that warns admins about possible spam",
"main": "dist/index.js",
"type": "module",
"scripts": {
"build": "tsc",
"lint": "eslint src/**/*.ts",
"run": "node --experimental-specifier-resolution=node ./dist/index.js"
},
"author": "MTRNord <mtrnord@nordgedanken.dev>",
"license": "Apache-2.0",
"devDependencies": {
"@types/html-to-text": "^8.1.1",
"@types/js-yaml": "^4.0.5",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0",
"eslint": "^8.30.0",
"typescript": "^4.9.4"
},
"dependencies": {
"@tensorflow/tfjs-node": "^4.1.0",
"@types/node": "^18.11.17",
"html-entities": "^2.3.3",
"html-to-text": "^9.0.3",
"js-yaml": "^4.1.0",
"matrix-bot-sdk": "^0.6.3",
"short-uuid": "^4.2.2",
"string-strip-html": "^13.0.6"
}
}