UNPKG

stream-display

Version:

Wrapper around getDisplayMedia to capture screen as a sequence of ImageData objects

71 lines (70 loc) 1.99 kB
{ "name": "stream-display", "version": "1.0.2", "description": "Wrapper around getDisplayMedia to capture screen as a sequence of ImageData objects", "main": "dist/stream-display.js", "types": "dist/StreamDisplay.d.ts", "scripts": { "prebuild": "rimraf dist", "build": "npm run build:cjs && npm run build:umd", "build:cjs": "tsc", "build:umd": "rollup -c", "lint": "eslint src --ext .js,.ts", "test": "ts-node node_modules/tape/bin/tape tests/*.test.ts | tap-dot", "version": "npm run build", "postversion": "git push && git push --tags" }, "husky": { "hooks": { "pre-commit": "npm run build; git add dist; npm run lint && npm test" } }, "repository": { "type": "git", "url": "git+https://github.com/khovansky-al/stream-display.git" }, "keywords": [ "screen", "capture", "mediadevices", "screen", "getdisplaymedia" ], "files": [ "dist/*.d.ts", "dist/*.js.map", "dist/*.js", "LICENSE" ], "author": "Alexander Khovansky <alex@khovansky.me>", "license": "MIT", "bugs": { "url": "https://github.com/khovansky-al/stream-display/issues" }, "homepage": "https://github.com/khovansky-al/stream-display#readme", "devDependencies": { "@types/jsdom": "^16.2.12", "@types/node": "^14.17.4", "@types/sinon": "^10.0.2", "@types/tape": "^4.13.1", "@typescript-eslint/eslint-plugin": "^4.28.1", "@typescript-eslint/parser": "^4.28.1", "eslint": "^7.30.0", "eslint-config-airbnb-base": "^14.2.1", "eslint-plugin-import": "^2.23.4", "husky": "^7.0.0", "jsdom": "^16.6.0", "rimraf": "^3.0.2", "rollup": "^2.52.7", "rollup-plugin-commonjs": "^10.0.1", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-sourcemaps": "^0.6.3", "rollup-plugin-terser": "^7.0.2", "sinon": "^11.1.1", "tap-dot": "^2.0.0", "tape": "^5.2.2", "ts-node": "^10.0.0", "typescript": "^4.3.5" }, "dependencies": {} }