Support matomo media analytics in embed too
This commit is contained in:
@ -1,14 +1,17 @@
|
||||
{
|
||||
"name": "peertube-plugin-matomo",
|
||||
"version": "0.0.4",
|
||||
"version": "1.0.0",
|
||||
"description": "Matomo plugin that tracks page views on a PeerTube instance.",
|
||||
"engine": {
|
||||
"peertube": ">=1.3.0"
|
||||
"peertube": ">=4.2.0"
|
||||
},
|
||||
"keywords": [
|
||||
"peertube",
|
||||
"plugin"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "esbuild client/common-client-plugin.js --minify --bundle --format=esm --outfile=dist/common-client-plugin.js --target=safari11 && esbuild client/embed-client-plugin.js --minify --bundle --format=esm --outfile=dist/embed-client-plugin.js --target=safari11"
|
||||
},
|
||||
"homepage": "https://framagit.org/framasoft/peertube/official-plugins/tree/master/peertube-plugin-matomo",
|
||||
"author": "Chocobozzz",
|
||||
"bugs": "https://framagit.org/framasoft/peertube/official-plugins/issues",
|
||||
@ -17,11 +20,20 @@
|
||||
"css": [],
|
||||
"clientScripts": [
|
||||
{
|
||||
"script": "client/common-client-plugin.js",
|
||||
"script": "dist/common-client-plugin.js",
|
||||
"scopes": [
|
||||
"common"
|
||||
]
|
||||
},
|
||||
{
|
||||
"script": "dist/embed-client-plugin.js",
|
||||
"scopes": [
|
||||
"embed"
|
||||
]
|
||||
}
|
||||
],
|
||||
"translations": {}
|
||||
"translations": {},
|
||||
"devDependencies": {
|
||||
"esbuild": "^0.14.27"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user