fix missing files in npm package

This commit is contained in:
Théo Le Calvar 2023-05-08 11:20:30 +02:00
parent 26c270c23f
commit b4d75a7173
2 changed files with 7 additions and 3 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "peertube-plugin-hardware-transcode-vaapi", "name": "peertube-plugin-hardware-transcode-vaapi",
"version": "0.1.0", "version": "0.2.3",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "peertube-plugin-hardware-transcode-vaapi", "name": "peertube-plugin-hardware-transcode-vaapi",
"version": "0.1.0", "version": "0.2.3",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@peertube/peertube-types": "^5.1.0", "@peertube/peertube-types": "^5.1.0",

View File

@ -1,6 +1,6 @@
{ {
"name": "peertube-plugin-hardware-transcode-vaapi", "name": "peertube-plugin-hardware-transcode-vaapi",
"version": "0.2.2", "version": "0.2.3",
"license": "MIT", "license": "MIT",
"description": "Plugin that adds transcode profiles which use vaapi for hardware acceleration", "description": "Plugin that adds transcode profiles which use vaapi for hardware acceleration",
"engine": { "engine": {
@ -14,12 +14,16 @@
"author": "gdsn", "author": "gdsn",
"bugs": "https://github.com/TheoLeCalvar/peertube-plugin-hardware-transcode-vaapi", "bugs": "https://github.com/TheoLeCalvar/peertube-plugin-hardware-transcode-vaapi",
"library": "./dist/main.js", "library": "./dist/main.js",
"files": [
"/dist"
],
"staticDirs": {}, "staticDirs": {},
"css": [], "css": [],
"clientScripts": [], "clientScripts": [],
"translations": {}, "translations": {},
"scripts": { "scripts": {
"clean": "rm -rf dist/*", "clean": "rm -rf dist/*",
"prepare": "npm run build",
"build": "npx tsc --build src/tsconfig.json" "build": "npx tsc --build src/tsconfig.json"
}, },
"devDependencies": { "devDependencies": {