peertube-plugin-livechat/package.json
2021-05-12 14:59:52 +02:00

98 lines
3.0 KiB
JSON

{
"name": "peertube-plugin-livechat",
"description": "PeerTube plugin livechat",
"version": "2.2.0",
"author": "John Livingston",
"bugs": "https://github.com/JohnXLivingston/peertube-plugin-livechat/issues",
"clientScripts": [
{
"script": "dist/client/videowatch-client-plugin.js",
"scopes": [
"video-watch"
]
},
{
"script": "dist/client/common-client-plugin.js",
"scopes": [
"common"
]
},
{
"script": "dist/client/admin-plugin-client-plugin.js",
"scopes": [
"admin-plugin"
]
}
],
"css": [
"assets/style.css"
],
"dependencies": {
"async": "^3.2.0",
"body-parser": "^1.19.0",
"decache": "^4.6.0",
"express-http-proxy": "^1.6.2",
"log-rotate": "^0.2.8"
},
"devDependencies": {
"@purtuga/esm-webpack-plugin": "^1.1.1",
"@tsconfig/node12": "^1.0.7",
"@types/async": "^3.2.6",
"@types/express": "^4.17.11",
"@types/express-http-proxy": "^1.6.1",
"@types/node": "^14.14.37",
"@types/winston": "^2.4.4",
"@typescript-eslint/eslint-plugin": "^4.21.0",
"@typescript-eslint/parser": "^4.21.0",
"converse.js": "^7.0.5",
"eslint": "^7.20.0",
"eslint-config-standard": "^16.0.2",
"eslint-config-standard-with-typescript": "^20.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-standard": "^5.0.0",
"npm-run-all": "^4.1.5",
"svgo": "^2.2.1",
"ts-loader": "^8.1.0",
"typescript": "^4.2.3",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10"
},
"engine": {
"peertube": ">=3.1.0"
},
"homepage": "https://github.com/JohnXLivingston/peertube-plugin-livechat",
"keywords": [
"peertube",
"plugin"
],
"library": "./dist/server/main.js",
"scripts": {
"clean": "rm -rf dist/*",
"prepare": "npm run build",
"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/",
"build:webpack": "webpack --mode=production",
"build:server": "npx tsc --build server/tsconfig.json",
"build:serverconverse": "mkdir -p dist/server/conversejs && cp conversejs/index.html dist/server/conversejs/",
"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",
"lint": "npx eslint --ext .js --ext .ts ."
},
"staticDirs": {
"static": "dist/client/static",
"conversejs": "dist/client/conversejs/",
"images": "dist/client/images/",
"settings": "dist/client/settings"
},
"translations": {
"ca-ES": "./languages/ca.json",
"fr-FR": "./languages/fr.json",
"eo": "./languages/eo.json",
"eu-ES": "./languages/eu.json",
"pl-PL": "./languages/pl.json",
"it-IT": "./languages/it.json"
}
}