-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
90 lines (90 loc) · 3.05 KB
/
package.json
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
{
"name": "web-demuxer",
"version": "2.3.2",
"description": "Demux media files in the browser using WebAssembly, designed for WebCodecs",
"type": "module",
"files": [
"dist"
],
"main": "./dist/web-demuxer.umd.cjs",
"types": "./dist/web-demuxer.d.ts",
"module": "./dist/web-demuxer.js",
"exports": {
".": {
"import": "./dist/web-demuxer.js",
"require": "./dist/web-demuxer.umd.cjs"
},
"./wasm": {
"import": "./dist/wasm-files/ffmpeg.wasm",
"require": "./dist/wasm-files/ffmpeg.wasm"
},
"./wasm-mini": {
"import": "./dist/wasm-files/ffmpeg-mini.wasm",
"require": "./dist/wasm-files/ffmpeg-mini.wasm"
}
},
"scripts": {
"dev": "vite",
"dev:docker:arm64": "docker-compose down dev-web-demuxer-arm64 && docker-compose up dev-web-demuxer-arm64 -d",
"dev:docker:x86_64": "docker-compose down dev-web-demuxer-x86_64 && docker-compose up dev-web-demuxer-x86_64",
"make:ffmpeg-lib-mini": "docker exec -it web-demuxer make ffmpeg-lib-mini",
"make:ffmpeg-lib": "docker exec -it web-demuxer make ffmpeg-lib",
"make:ffmpeg-lib-dev": "docker exec -it web-demuxer make ffmpeg-lib-dev",
"make:web-demuxer": "docker exec -it web-demuxer make web-demuxer",
"make:web-demuxer-mini": "docker exec -it web-demuxer make web-demuxer-mini",
"make:web-demuxer-dev": "docker exec -it web-demuxer make web-demuxer-dev",
"make:web-demuxer:all": "npm run make:web-demuxer && npm run make:web-demuxer-mini",
"build": "tsc && vite build",
"build:wasm:mini": "npm run make:ffmpeg-lib-mini && npm run make:web-demuxer-mini",
"build:wasm": "npm run make:ffmpeg-lib && npm run make:web-demuxer",
"build:wasm:dev": "npm run make:ffmpeg-lib-dev && npm run make:web-demuxer-dev",
"build:wasm:all": "npm run build:wasm && npm run build:wasm:mini",
"build:all": "npm run build:wasm:all && npm run build",
"test": "vitest",
"lint": "lint-staged",
"prepublishOnly": "npm run build",
"release": "release-it",
"prepare": "husky",
"stop": "docker-compose down"
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"@release-it/conventional-changelog": "^8.0.1",
"@rollup/plugin-babel": "^6.0.4",
"@types/dom-webcodecs": "^0.1.11",
"@types/emscripten": "^1.39.11",
"@types/node": "^20.11.24",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"release-it": "^17.1.1",
"typescript": "^5.2.2",
"vite": "^5.1.4",
"vite-plugin-dts": "^3.7.3",
"vite-plugin-static-copy": "^1.0.5",
"vitest": "^1.3.1"
},
"engines": {
"node": ">=18",
"pnpm": ">=8"
},
"author": "ForeverSc",
"repository": {
"type": "git",
"url": "https://github.com/ForeverSc/web-demuxer"
},
"keywords": [
"webcodecs",
"demuxer",
"demux",
"video",
"audio",
"media"
]
}