Tyescripted the project and correctly made the package.json file

This commit is contained in:
Amaury
2021-06-26 14:47:35 +02:00
parent 773f484ae8
commit 1ac4a21d2d
6 changed files with 1169 additions and 8288 deletions

View File

@ -4,21 +4,10 @@
"version": "0.0.2",
"author": "AmauryJOLY",
"bugs": "https://framagit.org/framasoft/peertube/peertube-plugin-quickstart/issues",
"clientScripts": [
{
"script": "dist/common-client-plugin.js",
"scopes": [
"common"
]
}
],
"css": [
"assets/style.css"
],
"clientScripts": [],
"css": [],
"devDependencies": {
"@purtuga/esm-webpack-plugin": "^1.1.1",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10"
"tsc": "^2.0.3"
},
"engine": {
"peertube": ">=1.3.0"
@ -28,19 +17,19 @@
"peertube",
"plugin"
],
"library": "./main.js",
"library": "./dist/main.js",
"files": [
"dist/",
"README.md"
],
"scripts": {
"prepare": "npm run build",
"build": "webpack --mode=production"
},
"staticDirs": {
"images": "public/images"
"prepublish": "tsc"
},
"staticDirs": {},
"translations": {
"fr-FR": "./languages/fr.json"
},
"dependencies": {
"discord": "file:../routing",
"gestion-listener": "file:../gestion-listener"
"listener-rss-agregator": "0.0.2"
}
}