2019-07-16 14:39:36 +00:00
|
|
|
{
|
2021-02-18 14:13:30 +00:00
|
|
|
"name": "peertube-plugin-livechat",
|
|
|
|
"description": "PeerTube plugin livechat",
|
2021-04-18 15:48:43 +00:00
|
|
|
"version": "2.0.3",
|
2021-02-18 14:13:30 +00:00
|
|
|
"author": "John Livingston",
|
|
|
|
"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"
|
|
|
|
]
|
2019-11-19 16:08:04 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"css": [
|
|
|
|
"assets/style.css"
|
|
|
|
],
|
2021-04-15 13:21:58 +00:00
|
|
|
"dependencies": {
|
2021-05-03 18:06:36 +00:00
|
|
|
"async": "^3.2.0",
|
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-04-15 13:21:58 +00:00
|
|
|
"express-http-proxy": "^1.6.2"
|
|
|
|
},
|
2019-11-19 16:08:04 +00:00
|
|
|
"devDependencies": {
|
|
|
|
"@purtuga/esm-webpack-plugin": "^1.1.1",
|
2021-04-07 14:52:38 +00:00
|
|
|
"@tsconfig/node12": "^1.0.7",
|
2021-05-03 18:06:36 +00:00
|
|
|
"@types/async": "^3.2.6",
|
2021-04-07 14:52:38 +00:00
|
|
|
"@types/express": "^4.17.11",
|
2021-04-15 13:21:58 +00:00
|
|
|
"@types/express-http-proxy": "^1.6.1",
|
2021-04-07 14:52:38 +00:00
|
|
|
"@types/node": "^14.14.37",
|
2021-04-08 00:43:13 +00:00
|
|
|
"@types/winston": "^2.4.4",
|
2021-04-07 15:20:28 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.21.0",
|
|
|
|
"@typescript-eslint/parser": "^4.21.0",
|
2021-04-07 13:14:36 +00:00
|
|
|
"converse.js": "^7.0.5",
|
2021-02-20 10:55:00 +00:00
|
|
|
"eslint": "^7.20.0",
|
|
|
|
"eslint-config-standard": "^16.0.2",
|
2021-04-07 15:20:28 +00:00
|
|
|
"eslint-config-standard-with-typescript": "^20.0.0",
|
2021-02-20 10:55:00 +00:00
|
|
|
"eslint-plugin-import": "^2.22.1",
|
|
|
|
"eslint-plugin-node": "^11.1.0",
|
|
|
|
"eslint-plugin-promise": "^4.3.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-03-08 10:54:29 +00:00
|
|
|
"svgo": "^2.2.1",
|
2021-04-07 16:14:58 +00:00
|
|
|
"ts-loader": "^8.1.0",
|
2021-04-07 14:52:38 +00:00
|
|
|
"typescript": "^4.2.3",
|
2019-11-19 16:08:04 +00:00
|
|
|
"webpack": "^4.41.2",
|
|
|
|
"webpack-cli": "^3.3.10"
|
|
|
|
},
|
2019-07-16 14:39:36 +00:00
|
|
|
"engine": {
|
2021-04-30 15:39:27 +00:00
|
|
|
"peertube": ">=3.1.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",
|
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
|
|
|
}
|