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.",
|
2023-03-06 11:10:08 +00:00
|
|
|
"version": "6.2.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": [
|
2023-02-14 09:19:55 +00:00
|
|
|
"dist/assets/styles/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 18:58:58 +00:00
|
|
|
"decache": "^4.6.0",
|
2021-06-22 08:26:45 +00:00
|
|
|
"got": "^11.8.2",
|
2022-08-23 18:34:03 +00:00
|
|
|
"http-proxy": "^1.18.1",
|
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-12-07 15:55:44 +00:00
|
|
|
"@peertube/peertube-types": "^4.2.2",
|
2021-08-06 14:40:20 +00:00
|
|
|
"@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",
|
|
|
|
"@types/got": "^9.6.12",
|
2022-08-23 18:34:03 +00:00
|
|
|
"@types/http-proxy": "^1.17.9",
|
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",
|
2022-12-07 17:36:16 +00:00
|
|
|
"esbuild": "^0.16.1",
|
2021-08-06 14:40:20 +00:00
|
|
|
"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-12-07 17:43:17 +00:00
|
|
|
"sharp": "^0.31.2",
|
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",
|
2023-02-15 10:54:48 +00:00
|
|
|
"typescript": "^4.3.5",
|
|
|
|
"yaml": "^2.2.1"
|
2019-11-19 16:08:04 +00:00
|
|
|
},
|
2019-07-16 14:39:36 +00:00
|
|
|
"engine": {
|
2022-12-07 17:36:16 +00:00
|
|
|
"peertube": ">=4.2.0"
|
2019-07-16 14:39:36 +00:00
|
|
|
},
|
2022-10-10 14:41:50 +00:00
|
|
|
"engines": {
|
2022-10-31 16:27:46 +00:00
|
|
|
"npm": ">=7"
|
2022-10-10 14:41:50 +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-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-11-14 15:54:08 +00:00
|
|
|
"build:prosody": "bash build-prosody.sh",
|
2023-02-14 09:19:55 +00:00
|
|
|
"build:images": "mkdir -p dist/client/images && npx svgo -f assets/images/ -o dist/client/images/",
|
2022-01-06 23:53:54 +00:00
|
|
|
"build:avatars": "mkdir -p dist/server/avatars && ./build-avatars.js",
|
2022-12-07 17:36:16 +00:00
|
|
|
"check:client:tsc": "npx tsc --p client/ --noEmit --skipLibCheck",
|
|
|
|
"build:client": "node ./build-client.js --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/",
|
2023-02-14 09:19:55 +00:00
|
|
|
"build:styles": "sass assets/styles:dist/assets/styles",
|
2023-02-15 10:54:48 +00:00
|
|
|
"build:languages": "node ./build-languages.js",
|
|
|
|
"build": "npm-run-all -s clean:light check:client:tsc -p build:converse build:prosody build:images build:avatars build:client build:server build:languages 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 .",
|
2023-02-14 09:19:55 +00:00
|
|
|
"lint:styles": "stylelint 'conversejs/**/*.scss' 'assets/styles/**/*.css'",
|
2023-02-13 16:58:06 +00:00
|
|
|
"show:npmfiles": "npx npm-packlist",
|
|
|
|
"doc:generatemissingtranslations": "bash doc-generate-missing-translations.sh"
|
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": {
|
2023-02-15 10:54:48 +00:00
|
|
|
"ca-ES": "./dist/languages/ca.json",
|
|
|
|
"fr-FR": "./dist/languages/fr.json",
|
|
|
|
"eo": "./dist/languages/eo.json",
|
|
|
|
"eu-ES": "./dist/languages/eu.json",
|
|
|
|
"oc": "./dist/languages/oc.json",
|
|
|
|
"pl-PL": "./dist/languages/pl.json",
|
|
|
|
"de-DE": "./dist/languages/de.json",
|
|
|
|
"it-IT": "./dist/languages/it.json",
|
|
|
|
"ja-JP": "./dist/languages/ja.json"
|
2019-07-26 12:48:18 +00:00
|
|
|
}
|
2019-07-16 14:39:36 +00:00
|
|
|
}
|