react-native-audio-api
Version:
react-native-audio-api provides system for controlling audio in React Native environment compatible with Web Audio API specification
159 lines (158 loc) • 5.07 kB
JSON
{
"name": "react-native-audio-api",
"version": "0.7.1",
"description": "react-native-audio-api provides system for controlling audio in React Native environment compatible with Web Audio API specification",
"bin": {
"setup-rn-audio-api-web": "./scripts/setup-rn-audio-api-web.js"
},
"source": "src/index",
"main": "lib/module/index",
"module": "lib/module/index",
"react-native": "src/index",
"types": "lib/typescript/index.d.ts",
"files": [
"src/",
"lib/",
"common/",
"android/src/main/AndroidManifest.xml",
"android/src/main/java/",
"android/build.gradle",
"android/",
"ios",
"RNAudioAPI.podspec",
"metro-config",
"!ios/build",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!android/.cxx/",
"!android/.gradle/",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*",
"!**/node_modules",
"scripts/setup-rn-audio-api-web.js",
"app.plugin.js"
],
"scripts": {
"test": "jest",
"typecheck": "tsc --noEmit",
"lint": "yarn lint:js && yarn lint:cpp && yarn lint:ios && yarn lint:kotlin",
"lint:js": "eslint src && yarn prettier --check src",
"lint:cpp": "./scripts/cpplint.sh",
"lint:ios": "yarn format:ios -Werror",
"lint:kotlin": "ktlint 'android/src/main/java/**/*.kt'",
"format": "yarn format:js && yarn format:android:cpp && yarn format:android:kotlin && yarn format:ios && yarn format:common",
"format:js": "prettier --write --list-different src",
"format:android:cpp": "find android/src/ -path android/src/main/cpp/audioapi/android/libs -iname \"*.h\" -o -iname \"*.cpp\" | xargs clang-format -i",
"format:android:kotlin": "ktlint -F 'android/src/main/java/**/*.kt'",
"format:ios": "find ios/audioapi/ios -iname \"*.h\" -o -iname \"*.m\" -o -iname \"*.mm\" | xargs clang-format -i",
"format:common": "find common/cpp/ -path 'common/cpp/audioapi/libs' -prune -iname \"*.h\" -o -iname \"*.cpp\" | xargs clang-format -i",
"build": "bob build",
"create:package": "./scripts/create-package.sh",
"prepack": "cp ../../README.md ./README.md",
"postpack": "rm ./README.md"
},
"keywords": [
"react-native",
"audio",
"audio api",
"web audio api",
"react",
"music",
"player"
],
"repository": {
"type": "git",
"url": "git+https://github.com/software-mansion/react-native-audio-api.git"
},
"author": "Software Mansion Labs (https://github.com/software-mansion)",
"license": "MIT",
"bugs": {
"url": "https://github.com/software-mansion/react-native-audio-api/issues"
},
"homepage": "https://github.com/software-mansion/react-native-audio-api#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"devDependencies": {
"@babel/cli": "^7.20.0",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/types": "^7.20.0",
"@commitlint/config-conventional": "^17.0.2",
"@evilmartians/lefthook": "^1.5.0",
"@expo/config-plugins": "^9.0.0",
"@expo/config-types": "^53.0.4",
"@react-native/babel-preset": "0.80.0",
"@react-native/eslint-config": "0.80.0",
"@react-native/metro-config": "0.80.0",
"@react-native/typescript-config": "0.80.0",
"@types/babel__core": "^7.20.0",
"@types/babel__generator": "^7.6.4",
"@types/babel__traverse": "^7.14.2",
"@types/convert-source-map": "^2.0.0",
"@types/jest": "^29.5.5",
"@types/node": "^18.0.0",
"@types/react": "^19.1.0",
"@types/react-test-renderer": "^19.1.0",
"babel-plugin-module-resolver": "^4.1.0",
"commitlint": "^17.0.2",
"del-cli": "^5.1.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^17.1.0",
"eslint-import-resolver-babel-module": "^5.3.1",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-n": "^16.4.0",
"eslint-plugin-no-inline-styles": "^1.0.5",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-standard": "^5.0.0",
"eslint-plugin-tsdoc": "^0.2.17",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"react": "19.1.0",
"react-native": "0.80.0",
"react-native-builder-bob": "0.33.1",
"turbo": "^1.10.7",
"typescript": "~5.3.0"
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
[
"module",
{
"esm": true
}
],
"typescript",
"commonjs"
]
},
"codegenConfig": {
"name": "rnaudioapi",
"type": "modules",
"jsSrcsDir": "src/specs",
"android": {
"javaPackageName": "com.swmansion.audioapi"
}
},
"create-react-native-library": {
"type": "module-legacy",
"languages": "cpp",
"version": "0.37.1"
}
}