peertube-plugin-livechat/package.json
2021-04-16 13:42:07 +02:00

88 lines
2.7 KiB
JSON

{
"name": "peertube-plugin-livechat",
"description": "PeerTube plugin livechat",
"version": "1.0.8",
"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"
]
}
],
"css": [
"assets/style.css"
],
"dependencies": {
"body-parser": "^1.19.0",
"express-http-proxy": "^1.6.2"
},
"devDependencies": {
"@purtuga/esm-webpack-plugin": "^1.1.1",
"@tsconfig/node12": "^1.0.7",
"@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",
"decache": "^4.6.0",
"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.0.1"
},
"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": "npm-run-all -s clean -p build:converse build:images build:webpack build:server build:serverconverse",
"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"
}
}