{ "name": "peertube-plugin-livechat", "description": "PeerTube plugin livechat: create chat rooms for your Peertube lives! Comes with many features: federation, moderation tools, chat bot, chat persistence, OBS integration, ...", "version": "10.0.2", "license": "AGPL-3.0", "author": { "name": "John Livingston", "url": "https://github.com/JohnXLivingston" }, "bugs": "https://github.com/JohnXLivingston/peertube-plugin-livechat/issues", "clientScripts": [ { "script": "dist/client/videowatch-client-plugin.js", "scopes": [ "video-watch" ] }, { "script": "dist/client/common-client-plugin.js", "scopes": [ "common" ] }, { "script": "dist/client/admin-plugin-client-plugin.js", "scopes": [ "admin-plugin" ] } ], "css": [ "dist/assets/styles/style.css", "dist/assets/styles/configuration.css" ], "dependencies": { "@lit/context": "^1.1.1", "@lit/task": "^1.0.0", "@xmpp/jid": "^0.13.1", "async": "^3.2.2", "decache": "^4.6.0", "escape-html": "^1.0.3", "got": "^11.8.2", "http-proxy": "^1.18.1", "lit": "^3.1.3", "log-rotate": "^0.2.8", "openid-client": "^5.6.5", "validate-color": "^2.2.1", "xmppjs-chat-bot": "^0.3.0" }, "devDependencies": { "@peertube/feed": "^5.1.0", "@peertube/peertube-types": "^5.2.0", "@tsconfig/node12": "^1.0.9", "@types/async": "^3.2.9", "@types/escape-html": "^1.0.4", "@types/express": "^4.17.13", "@types/got": "^9.6.12", "@types/http-proxy": "^1.17.9", "@types/mustache": "^4.2.2", "@types/node": "^16.11.6", "@types/winston": "^2.4.4", "@types/xmpp__jid": "^1.3.5", "@typescript-eslint/eslint-plugin": "^4.29.0", "@typescript-eslint/parser": "^4.29.0", "commander": "^11.0.0", "esbuild": "^0.16.1", "eslint": "^7.32.0", "eslint-config-standard": "^16.0.3", "eslint-config-standard-with-typescript": "^20.0.0", "eslint-plugin-import": "^2.25.2", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^5.1.1", "eslint-plugin-standard": "^5.0.0", "mustache": "^4.2.0", "npm-run-all": "^4.1.5", "sass": "^1.43.4", "sharp": "^0.33.2", "stylelint": "^14.0.1", "stylelint-config-recommended-scss": "^5.0.1", "stylelint-config-standard-scss": "^2.0.1", "svgo": "^2.8.0", "typescript": "^5.0.0", "yaml": "^2.2.1" }, "engine": { "peertube": ">=4.2.0" }, "engines": { "npm": ">=7" }, "homepage": "https://livingston.frama.io/peertube-plugin-livechat/", "repository": "github:JohnXLivingston/peertube-plugin-livechat", "keywords": [ "peertube", "plugin" ], "library": "./dist/server/main.js", "scripts": { "clean": "rm -rf dist/* build/* support/documentation/content/translations/* support/documentation/i18n/*", "clean:light": "rm -rf dist/* support/documentation/content/translations/* support/documentation/i18n/*", "prepare": "npm run clean && npm run build", "build:converse": "bash conversejs/build-conversejs.sh", "build:converse-no-loc": "bash conversejs/build-conversejs.sh no-loc", "build:prosody": "bash build-prosody.sh", "build:images": "mkdir -p dist/client/images && npx svgo -f assets/images/ -o dist/client/images/", "build:avatars": "./build-avatars.js", "check:client:tsc": "npx tsc --p client/ --noEmit --skipLibCheck && npx tsc --p conversejs/ --noemit --skipLibCheck", "build:client": "node ./build-client.js --mode=production", "build:server": "npx tsc --build server/tsconfig.json", "build:serverconverse": "mkdir -p dist/server/conversejs && cp conversejs/index.html dist/server/conversejs/", "build:prosodymodules": "mkdir -p dist/server/prosody-modules && cp -r prosody-modules/* dist/server/prosody-modules/", "build:styles": "sass assets/styles:dist/assets/styles", "build:languages": "node ./build-languages.js", "build": "npm-run-all -s clean:light build:languages check:client:tsc -s build:client build:server build:images build:styles build:avatars build:serverconverse build:prosodymodules build:converse build:prosody", "lint": "npm-run-all -s lint:script lint:styles lint:reuse", "lint:script": "npx eslint --ext .js --ext .ts .", "lint:styles": "stylelint 'conversejs/**/*.scss' 'assets/styles/**/*.scss'", "lint:reuse": "reuse lint", "show:npmfiles": "npx npm-packlist", "doc:translate": "bash doc-translate.sh" }, "staticDirs": { "static": "dist/client/static", "conversejs": "dist/client/conversejs/", "images": "dist/client/images/", "settings": "dist/client/settings" }, "translations": { "ar": "./dist/languages/ar.json", "is": "./dist/languages/is.json", "fa-IR": "./dist/languages/fa.json", "vi-VN": "./dist/languages/vi.json", "hu-HU": "./dist/languages/hu.json", "th-TH": "./dist/languages/th.json", "fi-FI": "./dist/languages/fi.json", "nl-NL": "./dist/languages/nl.json", "gd": "./dist/languages/gd.json", "el-GR": "./dist/languages/el.json", "es-ES": "./dist/languages/es.json", "oc": "./dist/languages/oc.json", "pt-BR": "./dist/languages/pt.json", "sv-SE": "./dist/languages/sv.json", "ru-RU": "./dist/languages/ru.json", "fr-FR": "./dist/languages/fr.json", "ja-JP": "./dist/languages/ja.json", "eu-ES": "./dist/languages/eu.json", "ca-ES": "./dist/languages/ca.json", "gl-ES": "./dist/languages/gl.json", "cs-CZ": "./dist/languages/cs.json", "hr": "./dist/languages/hr.json", "eo": "./dist/languages/eo.json", "de-DE": "./dist/languages/de.json", "it-IT": "./dist/languages/it.json", "uk-UA": "./dist/languages/uk.json", "sq": "./dist/languages/sq.json", "tok": "./dist/languages/tok.json", "tr-TR": "./dist/languages/tr.json", "nn": "./dist/languages/nn.json", "nb-NO": "./dist/languages/nb.json", "kab": "./dist/languages/kab.json", "pl-PL": "./dist/languages/pl.json", "zh-Hans-CN": "./dist/languages/zh-Hans.json", "zh-Hans-TW": "./dist/languages/zh-Hant.json" } }