2019-07-16 14:39:36 +00:00
|
|
|
{
|
2021-02-18 14:13:30 +00:00
|
|
|
"name": "peertube-plugin-livechat",
|
2021-11-02 14:39:28 +00:00
|
|
|
"description": "PeerTube plugin livechat: offers a way to embed a chat system into Peertube.",
|
2021-11-02 14:45:26 +00:00
|
|
|
"version": "4.0.2",
|
2021-11-03 17:13:00 +00:00
|
|
|
"author": {
|
|
|
|
"name": "John Livingston",
|
|
|
|
"url": "https://github.com/JohnXLivingston"
|
|
|
|
},
|
2021-02-18 14:13:30 +00:00
|
|
|
"bugs": "https://github.com/JohnXLivingston/peertube-plugin-livechat/issues",
|
2019-11-19 16:08:04 +00:00
|
|
|
"clientScripts": [
|
|
|
|
{
|
2021-04-07 13:53:22 +00:00
|
|
|
"script": "dist/client/videowatch-client-plugin.js",
|
2019-11-19 16:08:04 +00:00
|
|
|
"scopes": [
|
2021-02-18 17:31:12 +00:00
|
|
|
"video-watch"
|
2019-11-19 16:08:04 +00:00
|
|
|
]
|
2021-02-20 14:41:00 +00:00
|
|
|
},
|
|
|
|
{
|
2021-04-07 13:53:22 +00:00
|
|
|
"script": "dist/client/common-client-plugin.js",
|
2021-02-20 14:41:00 +00:00
|
|
|
"scopes": [
|
|
|
|
"common"
|
|
|
|
]
|
2021-05-10 19:04:04 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"script": "dist/client/admin-plugin-client-plugin.js",
|
|
|
|
"scopes": [
|
|
|
|
"admin-plugin"
|
|
|
|
]
|
2019-11-19 16:08:04 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"css": [
|
|
|
|
"assets/style.css"
|
|
|
|
],
|
2021-04-15 13:21:58 +00:00
|
|
|
"dependencies": {
|
2021-11-02 14:24:59 +00:00
|
|
|
"async": "^3.2.2",
|
2021-04-16 11:42:07 +00:00
|
|
|
"body-parser": "^1.19.0",
|
2021-04-16 18:58:58 +00:00
|
|
|
"decache": "^4.6.0",
|
2021-11-02 14:24:59 +00:00
|
|
|
"express-http-proxy": "^1.6.3",
|
2021-06-22 08:26:45 +00:00
|
|
|
"got": "^11.8.2",
|
2021-05-12 12:59:52 +00:00
|
|
|
"log-rotate": "^0.2.8"
|
2021-04-15 13:21:58 +00:00
|
|
|
},
|
2019-11-19 16:08:04 +00:00
|
|
|
"devDependencies": {
|
2021-08-06 14:40:20 +00:00
|
|
|
"@purtuga/esm-webpack-plugin": "^1.5.0",
|
|
|
|
"@tsconfig/node12": "^1.0.9",
|
2021-11-02 14:24:59 +00:00
|
|
|
"@types/async": "^3.2.9",
|
2021-08-06 14:40:20 +00:00
|
|
|
"@types/express": "^4.17.13",
|
2021-11-02 14:24:59 +00:00
|
|
|
"@types/express-http-proxy": "^1.6.3",
|
2021-08-06 14:40:20 +00:00
|
|
|
"@types/got": "^9.6.12",
|
2021-11-02 14:24:59 +00:00
|
|
|
"@types/node": "^16.11.6",
|
2021-04-08 00:43:13 +00:00
|
|
|
"@types/winston": "^2.4.4",
|
2021-08-06 14:40:20 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.29.0",
|
|
|
|
"@typescript-eslint/parser": "^4.29.0",
|
|
|
|
"converse.js": "^7.0.6",
|
|
|
|
"eslint": "^7.32.0",
|
|
|
|
"eslint-config-standard": "^16.0.3",
|
2021-04-07 15:20:28 +00:00
|
|
|
"eslint-config-standard-with-typescript": "^20.0.0",
|
2021-11-02 14:24:59 +00:00
|
|
|
"eslint-plugin-import": "^2.25.2",
|
2021-02-20 10:55:00 +00:00
|
|
|
"eslint-plugin-node": "^11.1.0",
|
2021-11-02 14:24:59 +00:00
|
|
|
"eslint-plugin-promise": "^5.1.1",
|
2021-04-07 15:20:28 +00:00
|
|
|
"eslint-plugin-standard": "^5.0.0",
|
2021-03-01 17:38:39 +00:00
|
|
|
"npm-run-all": "^4.1.5",
|
2021-11-02 14:24:59 +00:00
|
|
|
"svgo": "^2.8.0",
|
2021-08-06 14:40:20 +00:00
|
|
|
"ts-loader": "^8.3.0",
|
|
|
|
"typescript": "^4.3.5",
|
|
|
|
"webpack": "^4.46.0",
|
|
|
|
"webpack-cli": "^3.3.12"
|
2019-11-19 16:08:04 +00:00
|
|
|
},
|
2019-07-16 14:39:36 +00:00
|
|
|
"engine": {
|
2021-06-02 10:08:11 +00:00
|
|
|
"peertube": ">=3.2.0"
|
2019-07-16 14:39:36 +00:00
|
|
|
},
|
2021-02-18 14:13:30 +00:00
|
|
|
"homepage": "https://github.com/JohnXLivingston/peertube-plugin-livechat",
|
2021-08-21 00:42:28 +00:00
|
|
|
"repository": "github:JohnXLivingston/peertube-plugin-livechat",
|
2019-07-16 14:39:36 +00:00
|
|
|
"keywords": [
|
|
|
|
"peertube",
|
|
|
|
"plugin"
|
|
|
|
],
|
2021-04-07 13:53:22 +00:00
|
|
|
"library": "./dist/server/main.js",
|
2019-11-19 17:09:41 +00:00
|
|
|
"scripts": {
|
2021-03-01 17:38:39 +00:00
|
|
|
"clean": "rm -rf dist/*",
|
2020-01-28 11:43:33 +00:00
|
|
|
"prepare": "npm run build",
|
2021-04-07 13:53:22 +00:00
|
|
|
"build:converse": "mkdir -p dist/client/conversejs && cp -r node_modules/converse.js/dist/* dist/client/conversejs/",
|
|
|
|
"build:images": "mkdir -p dist/client/images && npx svgo -f public/images/ -o dist/client/images/",
|
2021-03-01 17:38:39 +00:00
|
|
|
"build:webpack": "webpack --mode=production",
|
2021-04-07 14:52:38 +00:00
|
|
|
"build:server": "npx tsc --build server/tsconfig.json",
|
2021-04-07 13:53:22 +00:00
|
|
|
"build:serverconverse": "mkdir -p dist/server/conversejs && cp conversejs/index.html dist/server/conversejs/",
|
2021-04-29 14:50:30 +00:00
|
|
|
"build:prosodymodules": "mkdir -p dist/server/prosody-modules && cp -r prosody-modules/* dist/server/prosody-modules/",
|
|
|
|
"build": "npm-run-all -s clean -p build:converse build:images build:webpack build:server build:serverconverse build:prosodymodules",
|
2021-04-07 15:20:28 +00:00
|
|
|
"lint": "npx eslint --ext .js --ext .ts ."
|
2019-11-19 17:09:41 +00:00
|
|
|
},
|
2021-02-20 19:42:41 +00:00
|
|
|
"staticDirs": {
|
2021-04-07 13:53:22 +00:00
|
|
|
"static": "dist/client/static",
|
|
|
|
"conversejs": "dist/client/conversejs/",
|
2021-04-09 19:28:16 +00:00
|
|
|
"images": "dist/client/images/",
|
|
|
|
"settings": "dist/client/settings"
|
2021-02-20 19:42:41 +00:00
|
|
|
},
|
2019-07-26 12:48:18 +00:00
|
|
|
"translations": {
|
2021-04-12 12:37:32 +00:00
|
|
|
"ca-ES": "./languages/ca.json",
|
|
|
|
"fr-FR": "./languages/fr.json",
|
|
|
|
"eo": "./languages/eo.json",
|
|
|
|
"eu-ES": "./languages/eu.json",
|
2021-04-12 13:11:15 +00:00
|
|
|
"pl-PL": "./languages/pl.json",
|
|
|
|
"it-IT": "./languages/it.json"
|
2019-07-26 12:48:18 +00:00
|
|
|
}
|
2019-07-16 14:39:36 +00:00
|
|
|
}
|