{ "name": "peertube-plugin-livechat", "description": "PeerTube plugin livechat: offers a way to embed a chat system into Peertube.", "version": "7.2.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": { "async": "^3.2.2", "decache": "^4.6.0", "got": "^11.8.2", "http-proxy": "^1.18.1", "log-rotate": "^0.2.8", "validate-color": "^2.2.1", "xmppjs-chat-bot": "^0.2.8" }, "devDependencies": { "@peertube/feed": "^5.1.0", "@peertube/peertube-types": "^5.2.0", "@tsconfig/node12": "^1.0.9", "@types/async": "^3.2.9", "@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", "@typescript-eslint/eslint-plugin": "^4.29.0", "@typescript-eslint/parser": "^4.29.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.31.2", "stylelint": "^14.0.1", "stylelint-config-recommended-scss": "^5.0.1", "stylelint-config-standard-scss": "^2.0.1", "svgo": "^2.8.0", "typescript": "^4.3.5", "yaml": "^2.2.1" }, "engine": { "peertube": ">=4.2.0" }, "engines": { "npm": ">=7" }, "homepage": "https://github.com/JohnXLivingston/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:prosody": "bash build-prosody.sh", "build:images": "mkdir -p dist/client/images && npx svgo -f assets/images/ -o dist/client/images/", "build:avatars": "mkdir -p dist/server/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:script": "npx eslint --ext .js --ext .ts .", "lint:styles": "stylelint 'conversejs/**/*.scss' 'assets/styles/**/*.scss'", "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", "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" } }