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.",
|
2022-10-10 16:08:20 +00:00
|
|
|
"version": "6.0.0",
|
2022-08-01 13:24:55 +00:00
|
|
|
"license": "AGPL-3.0",
|
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": [
|
2021-11-18 14:59:47 +00:00
|
|
|
"dist/assets/style.css"
|
2019-11-19 16:08:04 +00:00
|
|
|
],
|
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-12-01 14:11:56 +00:00
|
|
|
"log-rotate": "^0.2.8",
|
|
|
|
"validate-color": "^2.2.1"
|
2021-04-15 13:21:58 +00:00
|
|
|
},
|
2019-11-19 16:08:04 +00:00
|
|
|
"devDependencies": {
|
2022-01-11 00:29:33 +00:00
|
|
|
"@peertube/peertube-types": "^4.0.0-beta.3",
|
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",
|
|
|
|
"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-18 14:59:47 +00:00
|
|
|
"sass": "^1.43.4",
|
2022-01-06 23:53:54 +00:00
|
|
|
"sharp": "^0.29.3",
|
2021-11-09 16:45:54 +00:00
|
|
|
"stylelint": "^14.0.1",
|
|
|
|
"stylelint-config-recommended-scss": "^5.0.1",
|
|
|
|
"stylelint-config-standard-scss": "^2.0.1",
|
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
|
|
|
},
|
2022-10-10 14:41:50 +00:00
|
|
|
"engines": {
|
|
|
|
"npm": ">=7 <8"
|
|
|
|
},
|
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-11-08 15:35:26 +00:00
|
|
|
"clean": "rm -rf dist/* build/*",
|
|
|
|
"clean:light": "rm -rf dist/*",
|
2021-11-24 16:29:25 +00:00
|
|
|
"prepare": "npm run clean && npm run build",
|
2021-11-08 15:35:26 +00:00
|
|
|
"build:converse": "bash conversejs/build-conversejs.sh",
|
2022-01-06 04:41:17 +00:00
|
|
|
"build:images": "mkdir -p dist/client/images && npx svgo -f public/images/ -o dist/client/images/",
|
2022-01-06 23:53:54 +00:00
|
|
|
"build:avatars": "mkdir -p dist/server/avatars && ./build-avatars.js",
|
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/",
|
2021-11-18 14:59:47 +00:00
|
|
|
"build:styles": "sass assets:dist/assets",
|
2022-01-06 04:41:17 +00:00
|
|
|
"build": "npm-run-all -s clean:light -p build:converse build:images build:avatars build:webpack build:server build:serverconverse build:prosodymodules build:styles",
|
2021-11-09 16:45:54 +00:00
|
|
|
"lint": "npm-run-all -s lint:script lint:styles",
|
|
|
|
"lint:script": "npx eslint --ext .js --ext .ts .",
|
2021-11-18 14:59:47 +00:00
|
|
|
"lint:styles": "stylelint 'conversejs/**/*.scss' 'assets/**/*.css'",
|
2021-11-08 18:16:52 +00:00
|
|
|
"show:npmfiles": "npx npm-packlist"
|
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-12-28 15:21:05 +00:00
|
|
|
"oc": "./languages/oc.json",
|
2021-04-12 13:11:15 +00:00
|
|
|
"pl-PL": "./languages/pl.json",
|
2022-04-02 22:24:33 +00:00
|
|
|
"de-DE": "./languages/de.json",
|
2021-04-12 13:11:15 +00:00
|
|
|
"it-IT": "./languages/it.json"
|
2019-07-26 12:48:18 +00:00
|
|
|
}
|
2019-07-16 14:39:36 +00:00
|
|
|
}
|