peertube-plugin-livechat/package.json
John Livingston b6298c165d
5.0.1
2021-12-01 15:12:13 +01:00

113 lines
3.7 KiB
JSON

{
"name": "peertube-plugin-livechat",
"description": "PeerTube plugin livechat: offers a way to embed a chat system into Peertube.",
"version": "5.0.1",
"author": {
"name": "John Livingston",
"url": "https://github.com/JohnXLivingston"
},
"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": [
"dist/assets/style.css"
],
"dependencies": {
"async": "^3.2.2",
"body-parser": "^1.19.0",
"decache": "^4.6.0",
"express-http-proxy": "^1.6.3",
"got": "^11.8.2",
"log-rotate": "^0.2.8",
"validate-color": "^2.2.1"
},
"devDependencies": {
"@purtuga/esm-webpack-plugin": "^1.5.0",
"@tsconfig/node12": "^1.0.9",
"@types/async": "^3.2.9",
"@types/express": "^4.17.13",
"@types/express-http-proxy": "^1.6.3",
"@types/got": "^9.6.12",
"@types/node": "^16.11.6",
"@types/winston": "^2.4.4",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"@typescript-eslint/parser": "^4.29.0",
"eslint": "^7.32.0",
"eslint-config-standard": "^16.0.3",
"eslint-config-standard-with-typescript": "^20.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.1",
"eslint-plugin-standard": "^5.0.0",
"npm-run-all": "^4.1.5",
"sass": "^1.43.4",
"stylelint": "^14.0.1",
"stylelint-config-recommended-scss": "^5.0.1",
"stylelint-config-standard-scss": "^2.0.1",
"svgo": "^2.8.0",
"ts-loader": "^8.3.0",
"typescript": "^4.3.5",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12"
},
"engine": {
"peertube": ">=3.2.0"
},
"homepage": "https://github.com/JohnXLivingston/peertube-plugin-livechat",
"repository": "github:JohnXLivingston/peertube-plugin-livechat",
"keywords": [
"peertube",
"plugin"
],
"library": "./dist/server/main.js",
"scripts": {
"clean": "rm -rf dist/* build/*",
"clean:light": "rm -rf dist/*",
"prepare": "npm run clean && npm run build",
"build:converse": "bash conversejs/build-conversejs.sh",
"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:styles": "sass assets:dist/assets",
"build": "npm-run-all -s clean:light -p build:converse build:images build:webpack build:server build:serverconverse build:prosodymodules build:styles",
"lint": "npm-run-all -s lint:script lint:styles",
"lint:script": "npx eslint --ext .js --ext .ts .",
"lint:styles": "stylelint 'conversejs/**/*.scss' 'assets/**/*.css'",
"show:npmfiles": "npx npm-packlist"
},
"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"
}
}