@jxstjh/jhvideo
Version:
HTML5 jhvideo base on MPEG2-TS Stream Player
87 lines (86 loc) • 2.64 kB
JSON
{
"name": "@jxstjh/jhvideo",
"version": "0.2.30",
"description": "HTML5 jhvideo base on MPEG2-TS Stream Player",
"main": "./dist/jhvideo.js",
"types": "./d.ts/src/index.d.ts",
"exports": {
".": {
"types": "./d.ts/src/index.d.ts",
"require": "./dist/jhvideo.js",
"default": "./dist/jhvideo.js"
},
"./style.css": "./dist/jhvideo.css",
"./worker/*": "./dist/worker/*"
},
"files": [
"dist",
"d.ts"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"keywords": [
"html5",
"mpegts",
"m2ts",
"mse",
"arib",
"dvb"
],
"scripts": {
"build:types": "rm -rf d.ts && tsc -p tsconfig.types.json && mkdir -p d.ts/src && cp types/index.d.ts d.ts/src/index.d.ts",
"test:types": "tsc -p types/tsconfig.json",
"test:strict": "tsc -p tsconfig.strict.json",
"test": "vitest run",
"test:watch": "vitest",
"build": "webpack --mode=production --progress --verbose && npm run build:types && mkdir -p dist/worker && cp -r src/worker/. dist/worker/",
"prepack": "npm run build && npm test && npm run test:types && npm run test:strict",
"build:debug": "webpack --mode=development --progress --verbose",
"serve": "webpack-dev-server"
},
"dependencies": {
"air-datepicker": "^3.0.1",
"alawmulaw": "^6.0.0",
"es6-promise": "^4.2.5",
"fabric": "^4.6.0",
"flatpickr": "^4.6.9",
"hammerjs": "^2.0.8",
"hls.js": "^1.6.15",
"pcm-player": "^0.0.16",
"rxjs": "^7.2.0",
"webworkify-webpack": "^2.1.5"
},
"devDependencies": {
"@types/hammerjs": "^2.0.40",
"@types/js-base64": "^3.3.1",
"@types/node": "^22.0.0",
"@typescript-eslint/eslint-plugin": "^1.4.2",
"@typescript-eslint/parser": "^1.4.2",
"browser-sync": "^2.26.10",
"css-loader": "^5.2.6",
"eslint": "^5.15.0",
"exports-loader": "^0.7.0",
"extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^3.0.1",
"js-base64": "^3.7.2",
"less": "^3.0.4",
"less-loader": "^5.0.0",
"mini-css-extract-plugin": "^1.6.0",
"source-map-loader": "^0.2.4",
"ssri": ">=8.0.1",
"terser-webpack-plugin": "^1.2.3",
"ts-loader": "^5.3.2",
"typescript": "^5.2.2",
"vitest": "^4.1.10",
"webpack": "^4.28.3",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.3",
"worker-loader": "^3.0.8",
"worklet-loader": "^2.0.0",
"xmlhttprequest-ssl": ">=1.6.2"
},
"author": "jsyang996<361473761@qq.com>",
"license": "Apache-2.0"
}