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-07 16:23:05 +00:00
|
|
|
"version": "1.0.8",
|
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-02-21 15:10:52 +00:00
|
|
|
"dependencies": {},
|
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",
|
|
|
|
"@types/express": "^4.17.11",
|
|
|
|
"@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-04-08 01:47:55 +00:00
|
|
|
"decache": "^4.6.0",
|
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-02-18 14:13:30 +00:00
|
|
|
"peertube": ">=3.0.1"
|
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/",
|
|
|
|
"build": "npm-run-all -s clean -p build:converse build:images build:webpack build:server build:serverconverse",
|
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": {
|
|
|
|
"fr-FR": "./languages/fr.json"
|
|
|
|
}
|
2019-07-16 14:39:36 +00:00
|
|
|
}
|