UNPKG

react-microphone-recorder

Version:

A convenient and powerful React hook and component for audio recording with customizable options and audio levels.

71 lines (70 loc) 2.23 kB
{ "name": "react-microphone-recorder", "version": "1.0.0", "description": "A convenient and powerful React hook and component for audio recording with customizable options and audio levels.", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/esm/index.d.ts", "scripts": { "test": "jest", "lint": "eslint \"{**/*,*}.{js,ts,jsx,tsx}\"", "prettier": "prettier --write \"{src,tests,example/src}/**/*.{js,ts,jsx,tsx}\"", "build": "yarn build:esm && yarn build:cjs", "build:esm": "tsc", "build:cjs": "tsc --module commonjs --outDir dist/cjs", "prepare": "npm run build", "prepublishOnly": "npm test && npm run prettier && npm run lint" }, "files": [ "dist", "LICENSE", "README.md" ], "repository": { "type": "git", "url": "git+https://github.com/dinakar17/react-microphone-recorder.git" }, "keywords": [ "react", "react-hook", "react-component", "react-microphone", "react-microphone-recorder", "react-audio-recorder", "typescript" ], "author": "", "license": "MIT", "bugs": { "url": "https://github.com/dinakar17/react-microphone-recorder/issues" }, "homepage": "https://react-microphone-recorder.vercel.app/", "devDependencies": { "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^14.0.0", "@types/babel__template": "^7.4.1", "@types/jest": "^29.5.1", "@types/react": "^18.2.6", "@types/testing-library__jest-dom": "^5.14.5", "@typescript-eslint/eslint-plugin": "^5.59.5", "@typescript-eslint/parser": "^5.59.5", "eslint": "^8.40.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "jest": "^29.5.0", "jest-canvas-mock": "^2.5.0", "jest-environment-jsdom": "^29.5.0", "prettier": "^2.8.8", "react": "^18.2.0", "react-dom": "^18.2.0", "ts-jest": "^29.1.0", "tslib": "^2.5.0", "typescript": "^5.0.4" }, "peerDependencies": { "react": ">=16.8.0 || >=17.0.0", "react-dom": ">=16.8.0 || >=17.0.0" } }