70 lines
1.9 KiB
JSON
70 lines
1.9 KiB
JSON
{
|
|
"name": "@techniker-me/rtmp-push",
|
|
"version": "2025.1.0",
|
|
"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 --project tsconfig.build.json",
|
|
"prepublishOnly": "bun run build",
|
|
"clean": "rm -rf dist"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "latest",
|
|
"@types/node": "^25.0.3",
|
|
"prettier": "^3.7.4",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"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"
|
|
}
|
|
}
|