-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
163 lines (163 loc) · 6.1 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
"name": "peertube-plugin-livechat",
"description": "PeerTube plugin livechat: create chat rooms for your Peertube lives! Comes with many features: federation, moderation tools, chat bot, chat persistence, OBS integration, ...",
"version": "12.0.2",
"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/common-client-plugin.js",
"scopes": [
"common"
]
},
{
"script": "dist/client/admin-plugin-client-plugin.js",
"scopes": [
"admin-plugin"
]
}
],
"css": [
"dist/assets/styles/style.css"
],
"dependencies": {
"@xmpp/jid": "^0.13.1",
"async": "^3.2.6",
"decache": "^4.6.2",
"escape-html": "^1.0.3",
"got": "^11.8.6",
"http-proxy": "^1.18.1",
"log-rotate": "^0.2.8",
"openid-client": "^5.7.0",
"validate-color": "^2.2.4",
"xmppjs-chat-bot": "^0.5.0"
},
"devDependencies": {
"@eslint/js": "^9.16.0",
"@lit-labs/motion": "^1.0.7",
"@lit/context": "^1.1.3",
"@lit/task": "^1.0.1",
"@peertube/feed": "^5.1.3",
"@peertube/peertube-types": "^5.2.0",
"@stylistic/eslint-plugin": "^2.11.0",
"@tsconfig/node16": "^16.1.3",
"@types/async": "^3.2.24",
"@types/escape-html": "^1.0.4",
"@types/eslint__js": "^8.42.3",
"@types/express": "^5.0.0",
"@types/got": "^9.6.12",
"@types/http-proxy": "^1.17.15",
"@types/node": "^16.18.121",
"@types/winston": "^2.4.4",
"@types/xmpp__jid": "^1.3.5",
"@typescript-eslint/parser": "^8.4.0",
"commander": "^12.1.0",
"esbuild": "^0.24.0",
"eslint": "^8.57.1",
"eslint-config-love": "^84.1.1",
"eslint-plugin-lit": "^1.15.0",
"globals": "^15.13.0",
"lit": "^3.2.1",
"lit-analyzer": "^2.0.3",
"npm-run-all": "^4.1.5",
"sass": "^1.81.1",
"sharp": "^0.33.5",
"stylelint": "^16.11.0",
"stylelint-config-recommended-scss": "^14.1.0",
"stylelint-config-standard-scss": "^13.1.0",
"svgo": "^3.3.2",
"typescript": "^5.5.4",
"typescript-eslint": "^8.17.0",
"yaml": "^2.6.1"
},
"engine": {
"peertube": ">=5.2.0"
},
"engines": {
"npm": ">=7"
},
"homepage": "https://livingston.frama.io/peertube-plugin-livechat/",
"repository": "github:JohnXLivingston/peertube-plugin-livechat",
"keywords": [
"peertube",
"plugin"
],
"library": "./dist/server/main.js",
"scripts": {
"clean": "rm -rf dist/* build/* support/documentation/content/translations/* support/documentation/i18n/*",
"clean:light": "rm -rf dist/* support/documentation/content/translations/* support/documentation/i18n/*",
"prepare": "npm run clean && npm run build",
"build:converse": "bash conversejs/build-conversejs.sh",
"build:converse-no-loc": "bash conversejs/build-conversejs.sh no-loc",
"build:prosody": "bash build-prosody.sh",
"build:images": "mkdir -p dist/client/images && npx svgo -f assets/images/ -o dist/client/images/",
"build:avatars": "./build-avatars.js",
"check:client:tsc": "npx tsc --p client/ --noEmit --skipLibCheck && npx tsc --p conversejs/ --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 build:languages check:client:tsc -s build:client build:server build:images build:styles build:avatars build:serverconverse build:prosodymodules build:converse build:prosody",
"lint": "npm-run-all -s lint:script lint:lit lint:styles lint:reuse",
"lint:fix": "npm-run-all -s lint:script:fix lint:styles:fix",
"lint:script": "npx eslint .",
"lint:script:fix": "npx eslint . --fix",
"lint:lit": "npx lit-analyzer client/ conversejs/",
"lint:styles": "stylelint 'conversejs/**/*.scss' 'assets/styles/**/*.scss'",
"lint:styles:fix": "stylelint 'conversejs/**/*.scss' 'assets/styles/**/*.scss' --fix",
"lint:reuse": "reuse lint",
"show:npmfiles": "npx npm-packlist",
"doc:translate": "bash doc-translate.sh"
},
"staticDirs": {
"static": "dist/client/static",
"conversejs": "dist/client/conversejs/",
"images": "dist/client/images/",
"settings": "dist/client/settings"
},
"translations": {
"ar": "./dist/languages/ar.json",
"is": "./dist/languages/is.json",
"fa-IR": "./dist/languages/fa.json",
"vi-VN": "./dist/languages/vi.json",
"hu-HU": "./dist/languages/hu.json",
"th-TH": "./dist/languages/th.json",
"fi-FI": "./dist/languages/fi.json",
"nl-NL": "./dist/languages/nl.json",
"gd": "./dist/languages/gd.json",
"el-GR": "./dist/languages/el.json",
"es-ES": "./dist/languages/es.json",
"oc": "./dist/languages/oc.json",
"pt-BR": "./dist/languages/pt.json",
"sv-SE": "./dist/languages/sv.json",
"ru-RU": "./dist/languages/ru.json",
"fr-FR": "./dist/languages/fr.json",
"ja-JP": "./dist/languages/ja.json",
"eu-ES": "./dist/languages/eu.json",
"ca-ES": "./dist/languages/ca.json",
"gl-ES": "./dist/languages/gl.json",
"cs-CZ": "./dist/languages/cs.json",
"hr": "./dist/languages/hr.json",
"eo": "./dist/languages/eo.json",
"de-DE": "./dist/languages/de.json",
"it-IT": "./dist/languages/it.json",
"uk-UA": "./dist/languages/uk.json",
"sq": "./dist/languages/sq.json",
"tok": "./dist/languages/tok.json",
"tr-TR": "./dist/languages/tr.json",
"nn": "./dist/languages/nn.json",
"nb-NO": "./dist/languages/nb.json",
"kab": "./dist/languages/kab.json",
"pl-PL": "./dist/languages/pl.json",
"zh-Hans-CN": "./dist/languages/zh-Hans.json",
"zh-Hans-TW": "./dist/languages/zh-Hant.json",
"sk-SK": "./dist/languages/sk.json"
}
}