UNPKG

media-stream-player

Version:

Player built on top of media-stream-library

108 lines 3.35 kB
{ "name": "media-stream-player", "version": "6.0.1", "description": "Player built on top of media-stream-library", "license": "MIT", "main": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "scripts": { "lint": "yarn lint:ts && yarn prettier:check", "lint:fix": "yarn lint:ts --fix && yarn reformat", "lint:ts": "eslint --ext .ts,.tsx . --cache", "lint:css": "stylelint \"./**/*.tsx\"", "prettier:check": "prettier --check 'lib/**/*.{js,ts,jsx,tsx}'", "prettier:fix": "prettier --write 'lib/**/*.{js,ts,jsx,tsx}' --fix --loglevel silent", "test": "jest --coverage --passWithNoTests", "dev:esm": "yarn tsc --watch", "dev:example": "webpack serve --config webpack.example.js --env camera=$MSP_CAMERA", "dev": "yarn build:esm && concurrently \"yarn dev:esm\" \"yarn dev:example\"", "build:esm": "yarn tsc", "build:bundle": "webpack --config webpack.config.js && sbin/copyMinified.sh", "build:bundle-legacy": "webpack --config webpack.legacy.config.js", "build": "yarn build:esm && yarn build:bundle && yarn build:bundle-legacy", "release": "sbin/release.sh" }, "repository": { "type": "git", "url": "https://github.com/AxisCommunications/media-stream-player-js" }, "keywords": [ "video", "live", "streaming", "rtsp", "ip", "camera" ], "dependencies": { "@juggle/resize-observer": "3.3.1", "debug": "4.3.2", "react-hooks-shareable": "1.33.0" }, "peerDependencies": { "luxon": "^1.25.0", "media-stream-library": "^10.0.2", "react": "^17.0.1", "react-dom": "^17.0.1", "styled-components": "^5.2.0" }, "devDependencies": { "@babel/cli": "7.14.5", "@babel/core": "7.14.6", "@babel/plugin-proposal-class-properties": "7.14.5", "@babel/plugin-proposal-object-rest-spread": "7.14.7", "@babel/preset-env": "7.14.7", "@babel/preset-react": "7.14.5", "@babel/preset-typescript": "7.14.5", "@types/debug": "4.1.6", "@types/jest": "26.0.24", "@types/luxon": "1.27.1", "@types/react": "17.0.14", "@types/react-dom": "17.0.9", "@types/styled-components": "5.1.11", "@typescript-eslint/eslint-plugin": "4.28.3", "@typescript-eslint/parser": "4.28.3", "babel-loader": "8.2.2", "concurrently": "6.2.0", "core-js": "3.15.2", "eslint": "7.30.0", "eslint-config-typescript-shareable": "0.41.0", "eslint-plugin-functional": "3.2.1", "eslint-plugin-import": "2.23.4", "eslint-plugin-node": "11.1.0", "eslint-plugin-react": "7.24.0", "eslint-plugin-react-hooks": "4.2.0", "file-loader": "6.2.0", "html-webpack-plugin": "5.3.2", "jest": "27.0.6", "luxon": "1.28.0", "media-stream-library": "10.0.3", "prettier": "2.3.2", "react": "17.0.2", "react-dom": "17.0.2", "react-is": "17.0.2", "semver": "7.3.5", "style-loader": "2.0.0", "styled-components": "5.3.0", "stylelint": "13.13.1", "ts-jest": "27.0.3", "typescript": "4.3.5", "webpack": "5.45.1", "webpack-cli": "4.7.2", "webpack-dev-server": "3.11.2" }, "jest": { "testRegex": "(/__tests__/.*|(\\.|/)test)\\.ts$", "transform": { "^.+\\.tsx?$": "ts-jest" }, "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ] } }