Skip to content

Commit

Permalink
initialize ff{mpeg,probe}-static subpackages
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst committed May 22, 2023
1 parent 8edfc1f commit e5900c5
Show file tree
Hide file tree
Showing 10 changed files with 57 additions and 65 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,4 @@ download-binaries/*

bin/*

/ffmpeg
/ffmpeg.exe
/ffmpeg.README
/ffmpeg.LICENSE
/packages/*/package-lock.json
49 changes: 0 additions & 49 deletions example.js

This file was deleted.

5 changes: 4 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 16 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
{
"private": true,
"name": "ffmpeg-static",
"version": "5.1.0",
"description": "ffmpeg static binaries for Mac OSX and Linux and Windows",
"main": "index.js",
"files": [
"index.js",
"install.js",
"example.js",
"types"
"description": "ffmpeg & ffprobe binaries for macOS, Linux and Windows",
"workspaces": [
"packages/ffmpeg-static",
"packages/ffprobe-static"
],
"types": "types/index.d.ts",
"scripts": {
"install": "node install.js",
"test": "node test.js",
"lint": "eslint .",
"prepublishOnly": "npm run lint && npm run install && npm test"
"prepublishOnly": "npm run lint && npm install --workspaces && npm test"
},
"ffmpeg-static": {
"binary-path-env-var": "FFMPEG_BIN",
Expand All @@ -23,12 +19,20 @@
"binaries-url-env-var": "FFMPEG_BINARIES_URL",
"executable-base-name": "ffmpeg"
},
"ffprobe-static": {
"binary-path-env-var": "FFPROBE_BIN",
"binary-release-tag-env-var": "FFPROBE_BINARY_RELEASE",
"binary-release-tag": "b5.0.1",
"binaries-url-env-var": "FFPROBE_BINARIES_URL",
"executable-base-name": "ffprobe"
},
"repository": {
"type": "git",
"url": "https://github.com/eugeneware/ffmpeg-static"
},
"keywords": [
"ffmpeg",
"ffprobe",
"static",
"library",
"binary",
Expand All @@ -42,7 +46,8 @@
"Jannis R <[email protected]>"
],
"contributors": [
"Thefrank (https://github.com/Thefrank)"
"Thefrank (https://github.com/Thefrank)",
"Emil Sivervik <[email protected]>"
],
"license": "GPL-3.0-or-later",
"bugs": {
Expand Down
4 changes: 4 additions & 0 deletions packages/ffmpeg-static/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/ffmpeg
/ffmpeg.exe
/ffmpeg.README
/ffmpeg.LICENSE
13 changes: 13 additions & 0 deletions packages/ffmpeg-static/package.template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "ffmpeg-static",
"description": "ffmpeg binaries for macOS, Linux and Windows",
"keywords": [
"ffmpeg",
"static",
"binary",
"binaries",
"mac",
"linux",
"windows"
]
}
File renamed without changes.
4 changes: 4 additions & 0 deletions packages/ffprobe-static/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/ffprobe
/ffprobe.exe
/ffprobe.README
/ffprobe.LICENSE
13 changes: 13 additions & 0 deletions packages/ffprobe-static/package.template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "ffprobe-static",
"description": "ffprobe binaries for macOS, Linux and Windows",
"keywords": [
"ffprobe",
"static",
"binary",
"binaries",
"mac",
"linux",
"windows"
]
}
2 changes: 2 additions & 0 deletions packages/ffprobe-static/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
declare const ffprobePath: string | null;
export default ffprobePath;

0 comments on commit e5900c5

Please sign in to comment.