@vidtreo/recorder 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +229 -0
- package/dist/index.d.ts +964 -0
- package/dist/index.js +3218 -0
- package/package.json +55 -0
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vidtreo/recorder",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Video transcoding package using mediabunny",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "bun run build:js && bun run build:types && bun scripts/flatten-types.ts && bun run build:wc",
|
|
20
|
+
"build:js": "bun build ./src/index.ts --outdir ./dist --format esm --packages external --sourcemap=none",
|
|
21
|
+
"build:dev": "bun build ./src/index.ts --outdir ./dist --format esm --packages external --sourcemap=external && bunx tsc --emitDeclarationOnly --declaration --outDir dist --declarationMap && bun scripts/flatten-types.ts --dev",
|
|
22
|
+
"build:prod": "NODE_ENV=production bun build ./src/index.ts --outdir ./dist --format esm --packages external --sourcemap=none --minify-whitespace --minify-identifiers --minify-syntax --drop console --drop debugger && bunx tsc --emitDeclarationOnly --declaration --outDir dist --declarationMap false && bun scripts/flatten-types.ts --prod",
|
|
23
|
+
"build:types": "bunx tsc --emitDeclarationOnly --declaration --outDir dist --declarationMap false",
|
|
24
|
+
"build:wc": "vite build --config vite.wc.config.ts",
|
|
25
|
+
"build:wc:dev": "vite build --config vite.wc.config.ts --mode development",
|
|
26
|
+
"build:all": "bun run build && bun run build:wc",
|
|
27
|
+
"clean": "rm -rf dist",
|
|
28
|
+
"dev": "vite --config dev/vite.config.ts",
|
|
29
|
+
"dev:wc": "vite --config vite.wc.config.ts",
|
|
30
|
+
"test": "bun test --concurrent",
|
|
31
|
+
"test:watch": "bun test --watch --concurrent",
|
|
32
|
+
"test:coverage": "bun test --coverage --concurrent"
|
|
33
|
+
},
|
|
34
|
+
"keywords": [
|
|
35
|
+
"video",
|
|
36
|
+
"transcoding",
|
|
37
|
+
"mediabunny",
|
|
38
|
+
"ai"
|
|
39
|
+
],
|
|
40
|
+
"author": "cfonseca@vidtreo.com",
|
|
41
|
+
"license": "MIT",
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"mediabunny": "^1.25.3"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@types/node": "^24.10.1",
|
|
47
|
+
"autoprefixer": "^10.4.22",
|
|
48
|
+
"postcss": "^8.5.6",
|
|
49
|
+
"terser": "^5.44.1",
|
|
50
|
+
"vite": "^7.2.4"
|
|
51
|
+
},
|
|
52
|
+
"publishConfig": {
|
|
53
|
+
"access": "public"
|
|
54
|
+
}
|
|
55
|
+
}
|