mirror of
https://github.com/steelbrain/ffmpeg-over-ip.git
synced 2024-10-12 01:34:56 +03:00
🆕 Make outputs executable
This commit is contained in:
6
.npmignore
Normal file
6
.npmignore
Normal file
@@ -0,0 +1,6 @@
|
||||
/src
|
||||
/typings
|
||||
biome.json
|
||||
ffmpeg-over-ip.client.jsonc
|
||||
ffmpeg-over-ip.server.jsonc
|
||||
tsconfig.json
|
||||
@@ -1,16 +1,18 @@
|
||||
{
|
||||
"name": "ffmpeg-over-ip",
|
||||
"version": "0.0.0",
|
||||
"description": "TODO",
|
||||
"description": "Connect to remote ffmpeg servers",
|
||||
"main": "index.js",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"prepare": "yarn build:client && yarn build:server && yarn build:permissions",
|
||||
"build:permissions": "chmod +x lib/server.js lib/client.js",
|
||||
"build:server": "esbuild src/server.ts --platform=node --bundle --outdir=lib",
|
||||
"watch:server": "esbuild src/server.ts --platform=node --bundle --outdir=lib --watch",
|
||||
"build:client": "esbuild src/client.ts --platform=node --bundle --outdir=lib",
|
||||
"watch:client": "esbuild src/client.ts --platform=node --bundle --outdir=lib --watch"
|
||||
},
|
||||
"author": "",
|
||||
"author": "steelbrain",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^1.5.3",
|
||||
|
||||
1
src/client.ts
Normal file → Executable file
1
src/client.ts
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env node
|
||||
import http from 'node:http'
|
||||
import { loadConfig } from './config.js'
|
||||
import { CONFIG_FILE_SEARCH_PATHS_CLIENT, Runtime } from './constants.js'
|
||||
|
||||
1
src/server.ts
Normal file → Executable file
1
src/server.ts
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env node
|
||||
import childProcess from 'node:child_process'
|
||||
import cluster from 'node:cluster'
|
||||
import http from 'node:http'
|
||||
|
||||
Reference in New Issue
Block a user