Add MIT License, update package.json with new version and description, add package-lock.json, and configure tsconfig.json includes/excludes
This commit is contained in:
52
package.json
52
package.json
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"name": "@techniker-me/rtmp-push",
|
||||
"version": "2025.0.0",
|
||||
"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": {
|
||||
@@ -8,18 +10,60 @@
|
||||
"test": "bun test",
|
||||
"test:watch": "bun test --watch",
|
||||
"test:coverage": "bun test --coverage",
|
||||
"ci-build": "bun run build:node && bun run build:browser",
|
||||
"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: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"
|
||||
"@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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user