-
-
Notifications
You must be signed in to change notification settings - Fork 210
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 3.82 KB
/
package.json
File metadata and controls
125 lines (125 loc) · 3.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "mediabunny",
"author": "Vanilagy",
"version": "1.39.2",
"description": "Pure TypeScript media toolkit for reading, writing, and converting media files, directly in the browser.",
"type": "module",
"workspaces": [
"packages/*"
],
"main": "./dist/bundles/mediabunny.cjs",
"module": "./dist/modules/src/index.js",
"types": "./dist/modules/src/index.d.ts",
"exports": {
"types": "./dist/modules/src/index.d.ts",
"import": "./dist/modules/src/index.js",
"require": "./dist/bundles/mediabunny.cjs"
},
"files": [
"README.md",
"package.json",
"LICENSE",
"dist",
"src"
],
"browser": {
"./dist/modules/src/node.js": false,
"./src/node.ts": false,
"node:fs/promises": false
},
"sideEffects": false,
"scripts": {
"build": "./scripts/build.sh",
"watch": "tsx scripts/bundle.ts --watch",
"lint": "eslint .",
"test": "npm run pre-test && npx vitest --run",
"test-node": "npm run pre-test && npm run test node/",
"test-browser": "npm run pre-test && npm run test browser/",
"pre-test": "tsx scripts/bundle.ts",
"check": "./scripts/check.sh",
"check-docblocks": "tsx scripts/check-docblocks.ts dist/mediabunny.d.ts",
"docs:dev": "vitepress dev docs",
"docs:build": "npm run build && npm run docs:generate && vitepress build docs && npm run examples:build && cp dist/mediabunny.d.ts dist-docs/",
"docs:preview": "vitepress preview docs",
"docs:generate": "tsx scripts/generate-api-docs.ts src/index.ts packages/mp3-encoder/src/index.ts packages/ac3/src/index.ts packages/aac-encoder/src/index.ts packages/flac-encoder/src/index.ts docs/api-config.json",
"dev": "vite",
"examples:build": "vite build",
"fix-build-import-paths": "tsx scripts/add-import-extensions.ts",
"append-namespace": "echo 'export as namespace Mediabunny;' >> dist/mediabunny.d.ts",
"bump-patch": "npm version patch --no-git-tag-version --workspaces --include-workspace-root",
"bump-minor": "npm version minor --no-git-tag-version --workspaces --include-workspace-root",
"bump-major": "npm version major --no-git-tag-version --workspaces --include-workspace-root"
},
"license": "MPL-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/Vanilagy/mediabunny.git"
},
"bugs": {
"url": "https://github.com/Vanilagy/mediabunny/issues"
},
"homepage": "https://mediabunny.dev/",
"funding": {
"type": "individual",
"url": "https://github.com/sponsors/Vanilagy"
},
"dependencies": {
"@types/dom-mediacapture-transform": "^0.1.11",
"@types/dom-webcodecs": "0.1.13"
},
"devDependencies": {
"@eslint/js": "^9.22.0",
"@fontsource-variable/rubik": "^5.2.6",
"@fontsource/dm-mono": "^5.2.6",
"@microsoft/api-extractor": "^7.55.1",
"@stylistic/eslint-plugin": "^4.2.0",
"@tailwindcss/vite": "^4.1.7",
"@types/markdown-it-footnote": "^3.0.4",
"@types/node": "^22.13.10",
"esbuild": "^0.25.1",
"esbuild-plugin-external-global": "^1.0.1",
"eslint": "^9.22.0",
"find-cache-dir": "^5.0.0",
"markdown-it-footnote": "^4.0.0",
"markdown-it-mathjax3": "^4.3.2",
"mermaid": "^11.6.0",
"tailwindcss": "^4.1.7",
"tsx": "^4.19.4",
"typescript": "^5.9.3",
"typescript-eslint": "^8.48.0",
"vite": "^6.3.5",
"vitepress": "^1.6.3",
"vitepress-plugin-llms": "^1.5.1",
"vitepress-plugin-mermaid": "^2.0.17",
"vitest": "3.2.4",
"@vitest/browser": "3.2.4",
"webdriverio": "9.19.2"
},
"keywords": [
"media",
"parsing",
"reading",
"writing",
"muxer",
"demuxer",
"multiplexer",
"demultiplxer",
"encoder",
"decoder",
"convert",
"mp4",
"mov",
"fmp4",
"webm",
"mkv",
"wav",
"mp3",
"ogg",
"adts",
"flac",
"video",
"audio",
"subtitles",
"webcodecs"
]
}