First commit
This commit is contained in:
commit
00b36e811b
0
assets/style.css
Normal file
0
assets/style.css
Normal file
7
client/common-client-plugin.js
Normal file
7
client/common-client-plugin.js
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
function register ({ registerHook, peertubeHelpers }) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export {
|
||||||
|
register
|
||||||
|
}
|
12
main.js
Normal file
12
main.js
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
async function register ({ registerHook, registerSetting, settingsManager, storageManager }) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
async function unregister () {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
register,
|
||||||
|
unregister
|
||||||
|
}
|
28
package.json
Normal file
28
package.json
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"name": "peertube-plugin-quickstart",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"description": "PeerTube plugin quickstart",
|
||||||
|
"engine": {
|
||||||
|
"peertube": ">=1.3.0"
|
||||||
|
},
|
||||||
|
"keywords": [
|
||||||
|
"peertube",
|
||||||
|
"plugin"
|
||||||
|
],
|
||||||
|
"homepage": "https://framagit.org/framasoft/peertube/peertube-plugin-quickstart",
|
||||||
|
"author": "Chocobozzz",
|
||||||
|
"bugs": "https://framagit.org/framasoft/peertube/peertube-plugin-quickstart/issues",
|
||||||
|
"library": "./main.js",
|
||||||
|
"staticDirs": {
|
||||||
|
"images": "public/images"
|
||||||
|
},
|
||||||
|
"css": [
|
||||||
|
"assets/style.css"
|
||||||
|
],
|
||||||
|
"clientScripts": [
|
||||||
|
{
|
||||||
|
"script": "client/common-client-plugin.js",
|
||||||
|
"scopes": [ "common" ]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
0
public/images/.gitkeep
Normal file
0
public/images/.gitkeep
Normal file
Loading…
Reference in New Issue
Block a user