Files
ToolsRtmpPush/package.json

70 lines
1.9 KiB
JSON

{
"name": "@techniker-me/rtmp-push",
"version": "2025.0.2",
"description": "A TypeScript library for pushing media streams to RTMP servers using FFmpeg",
"main": "dist/node/index.js",
"module": "src/index.ts",
"type": "module",
"scripts": {
"format": "prettier --write ./",
"test": "bun test",
"test:watch": "bun test --watch",
"test:coverage": "bun test --coverage",
"build": "bun run build:node && bun run build:browser && bun run build:types",
"ci-build": "bun run build:node && bun run build:browser && bun run build:types",
"build:node": "bun build src/index.ts --outdir dist/node --target node --format esm --minify --production",
"build:browser": "bun build src/index.ts --outdir dist/browser --target browser --format esm --minify --production",
"build:types": "tsc --outDir dist/types",
"prepublishOnly": "bun run build",
"clean": "rm -rf dist"
},
"devDependencies": {
"@types/bun": "latest",
"@types/node": "20.0.0",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
},
"peerDependencies": {
"typescript": "^5"
},
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/node/index.js",
"default": "./dist/node/index.js"
},
"./browser": "./dist/browser/index.js"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"keywords": [
"rtmp",
"streaming",
"ffmpeg",
"media",
"video",
"typescript",
"node"
],
"author": "Techniker.me",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://git.techniker.me/techniker-me/rtmp-push.git"
},
"bugs": {
"url": "https://git.techniker.me/techniker-me/rtmp-push/issues"
},
"homepage": "https://git.techniker.me/techniker-me/rtmp-push#readme",
"publishConfig": {
"registry": "https://registry-node.techniker.me"
},
"engines": {
"node": ">=18.0.0",
"bun": ">=1.0.0"
}
}