diff --git a/README.md b/README.md index 0ea4d65..8d1c126 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ Mock library for getUserMedia and related functions. +## Installation + +`npm install @theopenweb/get-user-media-mock` + ## Usage The code below will automatically apply mocks to the following functions: diff --git a/package.json b/package.json index cc4a584..bfc2e13 100644 --- a/package.json +++ b/package.json @@ -1,15 +1,35 @@ { - "name": "get-user-media-mock", + "name": "@theopenweb/get-user-media-mock", "version": "1.0.0", "description": "Creates mock for getUserMedia so can use without Webcam.", "main": "index.js", "directories": { "lib": "lib" }, - "scripts": { - + "scripts": {}, + "keywords": [ + "getUserMedia", + "navigator", + "mediaDevices", + "MediaStreamConstraints", + "MediaTrackConstraints", + "mock", + "video", + "audio", + "devices" + ], + "repository": { + "type": "git", + "url": "git+https://github.com/theopenwebjp/get-user-media-mock.git" }, - "keywords": [], - "author": "Damien Golding", + "author": "The Open Web (https://theopenweb.jp)", + "contributors": [ + "Damien Golding (https://damiengolding.com)" + ], + "homepage": "https://theopenweb.info", + "bugs": { + "url": "https://github.com/theopenwebjp/get-user-media-mock/issues" + }, + "private": false, "license": "MIT" }