rework removing providers filters, and clean up project a little

Also wraps in pm2, and introduces linting, and dev watch
This commit is contained in:
iPromKnight
2024-02-02 13:27:15 +00:00
parent c1169a15ee
commit 188ffd10f3
39 changed files with 4294 additions and 312 deletions

View File

@@ -1,12 +1,14 @@
{
"name": "selfhostio-selfhostio",
"version": "1.0.0",
"name": "selfhostio-addon",
"version": "0.0.1",
"exports": "./index.js",
"type": "module",
"scripts": {
"start": "node index.js"
"build": "node esbuild.js",
"dev": "tsx watch --ignore node_modules src/index.js",
"start": "node dist/index.cjs",
"lint": "eslint . --ext .ts,.js"
},
"license": "MIT",
"dependencies": {
"@putdotio/api-client": "^8.42.0",
"all-debrid-api": "^1.1.0",
@@ -35,5 +37,15 @@
"swagger-stats": "^0.99.7",
"ua-parser-js": "^1.0.36",
"user-agents": "^1.0.1444"
},
"devDependencies": {
"@types/node": "^20.11.6",
"@types/stremio-addon-sdk": "^1.6.10",
"esbuild": "^0.19.12",
"esbuild-plugin-copy": "^2.1.1",
"eslint": "^8.56.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-import-helpers": "^1.3.1",
"tsx": "^4.7.0"
}
}