9d18e401a7
Implementing a new translating system, so we can more easily translate settings strings. Indeed, these strings are difficult to embed in JSON format. We still use JSON files for standard strings, but in addition we have dedicated YAML files to translate settings strings. There is a new build-languages.js script that merge all translations in JSON files. Other modifications: * Eslint: ignoring documentation and build scripts. * french settings translations.
124 lines
4.2 KiB
JSON
124 lines
4.2 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/styles/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",
|
|
"yaml": "^2.2.1"
|
|
},
|
|
"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 assets/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/styles:dist/assets/styles",
|
|
"build:languages": "node ./build-languages.js",
|
|
"build": "npm-run-all -s clean:light check:client:tsc -p build:converse build:prosody build:images build:avatars build:client build:server build:languages 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/styles/**/*.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": "./dist/languages/ca.json",
|
|
"fr-FR": "./dist/languages/fr.json",
|
|
"eo": "./dist/languages/eo.json",
|
|
"eu-ES": "./dist/languages/eu.json",
|
|
"oc": "./dist/languages/oc.json",
|
|
"pl-PL": "./dist/languages/pl.json",
|
|
"de-DE": "./dist/languages/de.json",
|
|
"it-IT": "./dist/languages/it.json",
|
|
"ja-JP": "./dist/languages/ja.json"
|
|
}
|
|
}
|