forked from muxinc/next-video
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
129 lines (129 loc) · 3.9 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
{
"name": "next-video",
"version": "1.1.1",
"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 || ^18",
"next": ">=12.0.0",
"react": "^17.0.2 || ^18",
"react-dom": "^17.0.2 || ^18"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"@types/react-dom": {
"optional": true
}
},
"devDependencies": {
"@types/dotenv-flow": "^3.3.3",
"@types/node": "^20.14.9",
"@types/react": "18.3.3",
"@types/yargs": "^17.0.32",
"c8": "^9.1.0",
"esbuild": "^0.21.5",
"glob": "^10.4.2",
"next": "^14.2.4",
"react": "^18.3.1",
"react-test-renderer": "^18.3.1",
"tsx": "3.13.0",
"typescript": "^5.5.2"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.540.0",
"@inquirer/prompts": "^4.3.1",
"@mux/mux-node": "8.8.0",
"@mux/mux-player-react": "2.7.0",
"@mux/mux-video-react": "0.11.0",
"@next/env": "^14.2.4",
"@paralleldrive/cuid2": "^2.2.2",
"@vercel/blob": "^0.23.3",
"chalk": "^4.1.2",
"chokidar": "^3.6.0",
"magicast": "^0.3.4",
"symlink-dir": "^5.2.1",
"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"
]
}