-
Notifications
You must be signed in to change notification settings - Fork 35
/
package.json
135 lines (135 loc) · 4.22 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
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
126
127
128
129
130
131
132
133
134
135
{
"name": "next-video",
"version": "2.0.0",
"type": "module",
"description": "A React component for adding video to your Next.js application. It extends both the video element and your Next app with features for automatic video optimization.",
"author": "Mux Lab <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/muxinc/next-video#readme",
"bugs": {
"url": "https://github.com/muxinc/next-video/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/muxinc/next-video.git"
},
"files": [
"dist",
"video-types"
],
"bin": {
"next-video": "./dist/cli.js"
},
"main": "./dist/components/video.js",
"exports": {
".": "./dist/components/video.js",
"./player": "./dist/components/players/default-player.js",
"./process": {
"import": "./dist/process.js",
"require": "./dist/cjs/process.js",
"default": "./dist/process.js"
},
"./background-video": "./dist/components/background-video.js",
"./background-player": "./dist/components/players/background-player.js",
"./request-handler": "./dist/request-handler.js",
"./video-types/*": "./video-types/*.d.ts",
"./dist/cjs/*": "./dist/cjs/*",
"./dist/*": "./dist/*"
},
"typesVersions": {
"*": {
"*": [
"./dist/*"
]
}
},
"scripts": {
"clean": "rm -rf dist",
"watch": "npm run types:esm -- -w & npm run types:cjs -- -w & npm run build:esm -- --watch=forever & npm run build:cjs -- --watch=forever",
"types": "npm run types:esm & npm run types:cjs",
"types:esm": "tsc --outDir dist",
"types:cjs": "tsc --outDir dist/cjs",
"prebuild": "npm run clean && npm run types",
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "esbuild \"src/**/*.ts*\" --outdir=dist --format=esm --target=es2020",
"build:cjs": "esbuild \"src/**/*.ts*\" --outdir=dist/cjs --platform=node --format=cjs --target=es2020 --define:import.meta.url=\\\"\\\"",
"postbuild:cjs": "node --eval \"fs.writeFileSync('./dist/cjs/package.json', '{\\\"type\\\": \\\"commonjs\\\"}')\"",
"prepare": "npm run build",
"cli": "node --loader tsx --no-warnings ./src/cli",
"test": "glob -c \"c8 --src src --exclude 'next.config.js' --exclude 'tests/**' --exclude 'dist/**' node --loader tsx --no-warnings --test\" \"./tests/**/*.test.{ts,tsx}\"",
"coverage": "c8 report --reporter=text-lcov > ./coverage/lcov.info"
},
"peerDependencies": {
"@types/react": "^17.0.0 || ^17.0.0-0 || ^18 || ^18.0.0-0 || ^19 || ^19.0.0-0",
"next": ">=12.0.0",
"react": "^17.0.2 || ^17.0.0-0 || ^18 || ^18.0.0-0 || ^19 || ^19.0.0-0",
"react-dom": "^17.0.2 || ^17.0.2-0 || ^18 || ^18.0.0-0 || ^19 || ^19.0.0-0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"@types/react-dom": {
"optional": true
}
},
"devDependencies": {
"@types/dotenv-flow": "^3.3.3",
"@types/node": "^22.10.2",
"@types/react": "19.0.2",
"@types/resolve": "^1.20.6",
"@types/yargs": "^17.0.33",
"c8": "^10.1.3",
"esbuild": "^0.24.2",
"glob": "^11.0.0",
"next": "^15.1.2",
"react": "^19.0.0",
"react-test-renderer": "^19.0.0",
"tsx": "3.13.0",
"typescript": "^5.7.2"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.717.0",
"@inquirer/prompts": "^4.3.1",
"@mux/mux-node": "9.0.1",
"@mux/mux-video": "^0.24.2",
"@mux/playback-core": "^0.28.2",
"@next/env": "^15.1.2",
"@paralleldrive/cuid2": "^2.2.2",
"@vercel/blob": "^0.27.0",
"chalk": "^4.1.2",
"chokidar": "^4.0.3",
"dash-video-element": "^0.0.17",
"hls-video-element": "^1.4.1",
"magicast": "^0.3.5",
"media-chrome": "^4.3.0",
"player.style": "^0.1.1",
"resolve": "^1.22.10",
"symlink-dir": "^6.0.3",
"undici": "^5.28.4",
"yargs": "^17.7.2"
},
"prettier": {
"printWidth": 120,
"singleQuote": true,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true,
"arrowParens": "always"
},
"keywords": [
"next",
"nextjs",
"react",
"video",
"video-streaming",
"video-processing",
"audio",
"media",
"player"
]
}