{ "name": "react-native-nitro-player", "private": true, "version": "1.2.2", "repository": "https://github.com/mrousavy/react-native-nitro-player.git", "author": "Ritesh Shukla (https://github.com/riteshshukla04)", "workspaces": [ "react-native-nitro-player", "example" ], "scripts": { "player": "bun --cwd react-native-nitro-player", "specs": "bun player specs", "example": "bun --cwd example", "lint": "eslint \"**/*.{js,ts,tsx}\" --ignore-path .eslintignore", "lint:fix": "eslint \"**/*.{js,ts,tsx}\" --fix --ignore-path .eslintignore", "lint:ci": "eslint \"**/*.{js,ts,tsx}\" -f @jamesacarr/eslint-formatter-github-actions --ignore-path .eslintignore", "format": "prettier --write \"**/*.{js,ts,tsx,json,md}\" --ignore-path .prettierignore", "format:check": "prettier --check \"**/*.{js,ts,tsx,json,md}\" --ignore-path .prettierignore", "format:all": "npm run format && npm run format:kotlin && npm run format:swift && npm run format:cpp", "format:check:all": "npm run format:check && npm run format:check:kotlin && npm run format:check:swift && npm run format:check:cpp", "format:kotlin": "bash scripts/format-kotlin.sh", "format:check:kotlin": "bash scripts/check-kotlin.sh", "format:swift": "bash scripts/format-swift.sh", "format:check:swift": "bash scripts/check-swift.sh", "format:cpp": "find react-native-nitro-player/android/src/main/cpp -type f \\( -name '*.cpp' -o -name '*.hpp' -o -name '*.h' \\) -exec clang-format -i {} + || (echo 'clang-format not installed. Install with: brew install clang-format (macOS) or apt-get install clang-format (Linux)' && exit 0)", "format:check:cpp": "find react-native-nitro-player/android/src/main/cpp -type f \\( -name '*.cpp' -o -name '*.hpp' -o -name '*.h' \\) -exec clang-format --dry-run --Werror {} + || (echo 'clang-format not installed. Install with: brew install clang-format (macOS) or apt-get install clang-format (Linux)' && exit 0)", "fix-lint": "bun run lint:fix && bun run format:all" }, "devDependencies": { "@babel/preset-env": "^7.28.3", "@babel/preset-react": "^7.27.1", "@babel/preset-typescript": "^7.27.1", "@jamesacarr/eslint-formatter-github-actions": "^0.2.0", "@react-native/eslint-config": "0.86.0", "@types/bun": "latest", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", "prettier": "^3.3.3" }, "dependencies": { "openai": "^7.4.0" } }