e17257a90f
This commit concerns the first subtask of this issue: https://github.com/JohnXLivingston/peertube-plugin-livechat/issues/117 It provide a brand new documentation website, that replace the previous markdown files. The website is auto-generated using CI/CD, and can be found here: https://johnxlivingston.github.io/peertube-plugin-livechat/
122 lines
4.1 KiB
JSON
122 lines
4.1 KiB
JSON
{
|
|
"name": "peertube-plugin-livechat",
|
|
"description": "PeerTube plugin livechat: offers a way to embed a chat system into Peertube.",
|
|
"version": "6.1.0",
|
|
"license": "AGPL-3.0",
|
|
"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",
|
|
"decache": "^4.6.0",
|
|
"got": "^11.8.2",
|
|
"http-proxy": "^1.18.1",
|
|
"log-rotate": "^0.2.8",
|
|
"validate-color": "^2.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@peertube/peertube-types": "^4.2.2",
|
|
"@tsconfig/node12": "^1.0.9",
|
|
"@types/async": "^3.2.9",
|
|
"@types/express": "^4.17.13",
|
|
"@types/got": "^9.6.12",
|
|
"@types/http-proxy": "^1.17.9",
|
|
"@types/node": "^16.11.6",
|
|
"@types/winston": "^2.4.4",
|
|
"@typescript-eslint/eslint-plugin": "^4.29.0",
|
|
"@typescript-eslint/parser": "^4.29.0",
|
|
"esbuild": "^0.16.1",
|
|
"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",
|
|
"sharp": "^0.31.2",
|
|
"stylelint": "^14.0.1",
|
|
"stylelint-config-recommended-scss": "^5.0.1",
|
|
"stylelint-config-standard-scss": "^2.0.1",
|
|
"svgo": "^2.8.0",
|
|
"typescript": "^4.3.5"
|
|
},
|
|
"engine": {
|
|
"peertube": ">=4.2.0"
|
|
},
|
|
"engines": {
|
|
"npm": ">=7"
|
|
},
|
|
"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:prosody": "bash build-prosody.sh",
|
|
"build:images": "mkdir -p dist/client/images && npx svgo -f public/images/ -o dist/client/images/",
|
|
"build:avatars": "mkdir -p dist/server/avatars && ./build-avatars.js",
|
|
"check:client:tsc": "npx tsc --p client/ --noEmit --skipLibCheck",
|
|
"build:client": "node ./build-client.js --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 check:client:tsc -p build:converse build:prosody build:images build:avatars build:client 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",
|
|
"doc:generatemissingtranslations": "bash doc-generate-missing-translations.sh"
|
|
},
|
|
"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",
|
|
"oc": "./languages/oc.json",
|
|
"pl-PL": "./languages/pl.json",
|
|
"de-DE": "./languages/de.json",
|
|
"it-IT": "./languages/it.json",
|
|
"ja-JP": "./languages/ja.json"
|
|
}
|
|
}
|