UNPKG

react-camera-pro

Version:

Universal Camera component for React. Designed with focus on Android, iOS cameras and standard webcams.

71 lines (70 loc) 2.12 kB
{ "name": "react-camera-pro", "description": "Universal Camera component for React. Designed with focus on Android, iOS cameras and standard webcams.", "version": "1.2.1", "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "keywords": [ "camera", "webcam", "cam", "react", "ios", "android", "mobile", "webRTC" ], "repository": { "url": "https://github.com/purple-technology/react-camera-pro", "type": "git" }, "homepage": "https://github.com/purple-technology/react-camera-pro#readme", "author": "Martin Urban <murban@purple-technology.com>", "license": "MIT", "types": "dist/index.d.ts", "dependencies": { "@types/webrtc": "0.0.25", "detectrtc": "^1.3.9" }, "devDependencies": { "@types/react": "^16.9.17", "@types/react-dom": "^16.9.4", "@types/styled-components": "^4.4.2", "@typescript-eslint/eslint-plugin": "^2.16.0", "@typescript-eslint/parser": "^2.16.0", "concurrently": "^5.0.2", "eslint": "^6.8.0", "eslint-config-prettier": "^6.9.0", "eslint-plugin-prettier": "^3.1.2", "eslint-plugin-react": "^7.18.0", "install-peers-cli": "^2.2.0", "prepend-file": "^1.3.1", "prettier": "^1.19.1", "rollup": "^1.29.0", "rollup-plugin-typescript2": "^0.25.3", "ts-node": "^8.6.2", "tslib": "^1.10.0", "typescript": "^3.7.5" }, "peerDependencies": { "react": "^16.12.0", "react-dom": "^16.12.0", "styled-components": "^4.4.1" }, "scripts": { "build": "rollup -c", "build-watch": "rollup -c -w", "prepublishOnly": "npm run build", "prepare": "install-peers -f && cd example && npm i", "start-example": "cd example && npm start", "deploy-example": "cd example && npm run deploy", "dev": "concurrently --kill-others \"npm run build-watch\" \"npm run start-example\"", "test": "ts-node test/test.ts", "pretest": "npm run build", "test:lint": "eslint ./src/**/*.ts ./src/**/*.tsx ./example/src/**/*.ts ./example/src/**/*.tsx", "test:lint:fix": "npm run test:lint -- --fix" }, "files": [ "dist" ] }