mirror of
https://github.com/chrisbenincasa/tunarr.git
synced 2026-04-18 09:03:35 -04:00
131 lines
4.0 KiB
JSON
131 lines
4.0 KiB
JSON
{
|
|
"name": "@tunarr/server",
|
|
"version": "0.1.0",
|
|
"description": "Create LiveTV channels from your Plex media",
|
|
"license": "Zlib",
|
|
"author": "chrisbenincasa",
|
|
"type": "module",
|
|
"main": "src/index.ts",
|
|
"bin": "dist/index.js",
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"build-dev": "NODE_ENV=development tsc -p tsconfig.build.json --noEmit --watch",
|
|
"typecheck": "tsc -p tsconfig.build.json --noEmit",
|
|
"bundle": "tsx scripts/bundle.ts",
|
|
"clean": "rimraf build",
|
|
"debug": "tsx watch --tsconfig ./tsconfig.build.json --ignore 'src/streams' --inspect-brk src",
|
|
"dev": "NODE_ENV=development tsx watch --tsconfig ./tsconfig.build.json --ignore 'build' --ignore 'src/streams' src",
|
|
"lint-changed": "eslint --fix $(git diff --name-only HEAD -- './**/*.ts' | sed 's/server\\///g' | xargs)",
|
|
"lint-staged": "lint-staged",
|
|
"make-exec": "tsx scripts/makeExecutable.ts",
|
|
"make-exec:windows": "tsx scripts/makeExecutable.ts --target windows-x64-20.11.1 --python python",
|
|
"generate-db-migration": "pnpm run mikro-orm migration:create",
|
|
"generate-db-cache": "mikro-orm-esm cache:generate --combined --ts",
|
|
"mikro-orm": "mikro-orm-esm",
|
|
"preinstall": "npx only-allow pnpm",
|
|
"test": "vitest"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cors": "^8.4.1",
|
|
"@fastify/middie": "^8.3.0",
|
|
"@fastify/multipart": "^8.1.0",
|
|
"@fastify/static": "^6.12.0",
|
|
"@fastify/swagger": "^8.12.1",
|
|
"@fastify/swagger-ui": "^2.0.1",
|
|
"@mikro-orm/better-sqlite": "^6.1.12",
|
|
"@mikro-orm/core": "^6.1.12",
|
|
"@mikro-orm/migrations": "6.1.12",
|
|
"@tunarr/shared": "workspace:*",
|
|
"@tunarr/types": "workspace:*",
|
|
"JSONStream": "1.0.5",
|
|
"async-mutex": "^0.5.0",
|
|
"async-retry": "^1.3.3",
|
|
"axios": "^1.6.0",
|
|
"better-sqlite3": "^9.1.1",
|
|
"body-parser": "^1.19.0",
|
|
"chalk": "^5.3.0",
|
|
"cors": "^2.8.5",
|
|
"dayjs": "^1.11.10",
|
|
"fast-json-stringify": "^5.9.1",
|
|
"fast-xml-parser": "^4.3.5",
|
|
"fastify": "^4.26.0",
|
|
"fastify-plugin": "^4.5.1",
|
|
"fastify-print-routes": "^3.1.1",
|
|
"fastify-type-provider-zod": "^1.1.9",
|
|
"fluent-ffmpeg": "^2.1.2",
|
|
"lodash-es": "^4.17.21",
|
|
"lowdb": "^7.0.0",
|
|
"morgan": "^1.10.0",
|
|
"node-cache": "^5.1.2",
|
|
"node-schedule": "^2.1.1",
|
|
"node-ssdp": "^4.0.0",
|
|
"p-queue": "^8.0.1",
|
|
"random-js": "2.1.0",
|
|
"reflect-metadata": "^0.2.2",
|
|
"retry": "^0.13.1",
|
|
"tslib": "^2.6.2",
|
|
"uuid": "^9.0.1",
|
|
"winston": "^3.11.0",
|
|
"winston-daily-rotate-file": "^4.7.1",
|
|
"xml-writer": "^1.7.0",
|
|
"yargs": "^17.7.2",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@mikro-orm/cli": "^6.1.12",
|
|
"@mikro-orm/reflection": "^6.1.12",
|
|
"@types/async-retry": "^1.4.8",
|
|
"@types/better-sqlite3": "^7.6.8",
|
|
"@types/express": "^4.17.20",
|
|
"@types/express-fileupload": "^1.4.3",
|
|
"@types/fluent-ffmpeg": "^2.1.23",
|
|
"@types/lodash-es": "^4.17.10",
|
|
"@types/morgan": "^1.9.7",
|
|
"@types/node": "^20.8.9",
|
|
"@types/node-schedule": "^2.1.3",
|
|
"@types/retry": "^0.12.5",
|
|
"@types/serve-static": "^1.15.4",
|
|
"@types/tmp": "^0.2.6",
|
|
"@types/uuid": "^9.0.6",
|
|
"@types/yargs": "^17.0.29",
|
|
"@yao-pkg/pkg": "^5.11.5",
|
|
"copyfiles": "^2.2.0",
|
|
"del-cli": "^3.0.0",
|
|
"esbuild": "^0.19.5",
|
|
"esbuild-plugin-copy": "^2.1.1",
|
|
"eslint-plugin-unused-imports": "^3.1.0",
|
|
"fast-glob": "^3.3.2",
|
|
"globals": "^15.0.0",
|
|
"lint-staged": "^15.2.2",
|
|
"nexe": "5.0.0-beta.1",
|
|
"pkg": "^5.8.1",
|
|
"postject": "1.0.0-alpha.6",
|
|
"prettier": "^3.0.3",
|
|
"rimraf": "^5.0.5",
|
|
"tmp": "^0.2.1",
|
|
"tmp-promise": "^3.0.3",
|
|
"ts-essentials": "^9.4.2",
|
|
"ts-node": "^10.9.2",
|
|
"tsconfig-paths": "^4.2.0",
|
|
"tsify": "^5.0.4",
|
|
"tsup": "^8.0.2",
|
|
"tsx": "^4.7.1",
|
|
"typed-emitter": "^2.1.0",
|
|
"typescript": "5.4.3",
|
|
"typescript-eslint": "^7.5.0",
|
|
"vitest": "^1.2.0"
|
|
},
|
|
"mikro-orm": {
|
|
"useTsNode": true,
|
|
"configPaths": [
|
|
"./mikro-orm.config.ts",
|
|
"./build/mikro-orm.config.js"
|
|
]
|
|
},
|
|
"lint-staged": {
|
|
"*.ts": [
|
|
"eslint --fix"
|
|
]
|
|
}
|
|
}
|