UNPKG

react-native-volume-manager

Version:

React Native module which adds the ability to change the system volume on iOS and Android, listen to volume changes and supress the native volume UI to build your own volume slider or UX.

150 lines (149 loc) 3.71 kB
{ "name": "react-native-volume-manager", "packageManager": "yarn@4.5.3", "version": "2.0.8", "description": "React Native module which adds the ability to change the system volume on iOS and Android, listen to volume changes and supress the native volume UI to build your own volume slider or UX.", "main": "lib/commonjs/index.js", "module": "lib/module/index.js", "types": "lib/typescript/src/index.d.ts", "react-native": "src/index.ts", "source": "src/index", "files": [ "src", "lib", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "android", "ios", "cpp", "react-native-volume-manager.podspec", "!lib/typescript/example", "!android/build", "!ios/build" ], "scripts": { "test": "jest", "typescript": "tsc --noEmit", "lint": "eslint --quiet \"**/*.{js,ts,tsx}\"", "prepare": "bob build", "release": "release-it", "example": "yarn --cwd example", "pods": "cd example && pod-install --quiet", "bootstrap": "yarn example && yarn && yarn pods", "prepack": "bob build" }, "keywords": [ "react-native", "ios", "expo", "volume", "mute", "silent", "android" ], "repository": "https://github.com/hirbod/react-native-volume-manager", "author": "Hirbod Mirjavadi <hm@nightstomp.com> (https://github.com/hirbod)", "license": "MIT", "bugs": { "url": "https://github.com/hirbod/react-native-volume-manager/issues" }, "homepage": "https://github.com/hirbod/react-native-volume-manager#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^17.6.1", "@react-native-community/eslint-config": "^3.2.0", "@react-native-community/eslint-plugin": "^1.3.0", "@release-it/conventional-changelog": "^5.1.1", "@types/jest": "^29.5.1", "@types/react": "~18.3.12", "babel-plugin-module-resolver": "^5.0.0", "commitlint": "^17.6.1", "eslint": "^8.39.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^4.2.1", "husky": "^8.0.3", "jest": "^29.5.0", "pod-install": "^0.1.38", "prettier": "^2.8.8", "react": "18.3.1", "react-native": "0.76.5", "react-native-builder-bob": "^0.35.2", "release-it": "^15.10.1", "typescript": "^5.7.2" }, "peerDependencies": { "react": "*", "react-native": "*" }, "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": "angular" } } }, "eslintConfig": { "root": true, "extends": [ "@react-native-community", "prettier" ], "rules": { "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false } ] } }, "eslintIgnore": [ "node_modules/", "lib/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", "typescript" ] } }