-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.6 KB
/
package.json
File metadata and controls
49 lines (49 loc) · 1.6 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
{
"name": "@fastpix/fp-player",
"version": "1.0.17",
"description": "FastPix Player SDK is a customizable video player for on-demand and live streaming.",
"type": "module",
"main": "./dist/player.js",
"module": "./dist/player.esm.js",
"exports": {
".": {
"import": "./dist/player.esm.js",
"require": "./dist/player.js"
}
},
"files": [
"dist/*"
],
"scripts": {
"format": "prettier --write \"src/**/*.ts\"",
"build:esm": "esbuild src/player.ts --format=esm --target=es2020 --bundle --minify --legal-comments=none --drop:debugger --drop:console --define:__FP_PLAYER_VERSION__=\\\"$npm_package_version\\\" --outfile=dist/player.esm.js",
"build:cdn": "esbuild src/player.ts --format=iife --global-name=FastPixPlayer --target=es2020 --bundle --minify --legal-comments=none --drop:debugger --drop:console --define:__FP_PLAYER_VERSION__=\\\"$npm_package_version\\\" --outfile=dist/player.js",
"build": "npm run format && npm run build:esm && npm run build:cdn",
"format:css": "prettier --write \"src/utils/innerHtml.ts\""
},
"keywords": [
"FastPix Player",
"HTML5 Video Player",
"HLS Video Player",
"Adaptive Streaming",
"Customizable Video Player",
"Live Streaming Player",
"Shoppable Video Player",
"DRM Player",
"Chapters",
"VOD Player",
"Video Playback SDK",
"Low-Latency Streaming",
"M3U8 Player"
],
"author": "FastPix, Inc",
"license": "MIT",
"dependencies": {
"@fastpix/video-data-core": "^1.0.7"
},
"devDependencies": {
"esbuild": "^0.27.3",
"hls.js": "^1.6.13",
"prettier": "^3.3.3"
}
}