Files
2026-03-25 17:28:35 +01:00

159 lines
3.9 KiB
JSON

{
"name": "react-native-video",
"version": "7.0.0-beta.8",
"description": "<Video /> Component for React Native",
"source": "./src/index.tsx",
"main": "./lib/commonjs/index.js",
"module": "./lib/module/index.js",
"types": "./lib/typescript/module/src/index.d.ts",
"react-native": "src/index",
"exports": {
".": {
"import": {
"types": "./lib/typescript/module/src/index.d.ts",
"default": "./lib/module/index.js"
},
"require": {
"types": "./lib/typescript/commonjs/src/index.d.ts",
"default": "./lib/commonjs/index.js"
}
},
"./package.json": "./package.json",
"./app.plugin.js": "./app.plugin.js"
},
"files": [
"src",
"lib",
"android",
"ios",
"cpp",
"nitrogen",
"nitro.json",
"*.podspec",
"react-native.config.js",
"app.plugin.js",
"LICENSE",
"README.md",
"!ios/build",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*"
],
"scripts": {
"postinstall": "bun run build || exit 0;",
"typecheck": "tsc",
"typecheck:web": "tsc -p tsconfig.web.json",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
"prepare": "bun run build",
"build": "bob build",
"specs": "nitrogen",
"release": "release-it --preRelease beta --npm.tag=beta"
},
"keywords": [
"react-native",
"ios",
"android"
],
"repository": {
"type": "git",
"url": "git+https://github.com/TheWidlarzGroup/react-native-video.git"
},
"author": "TheWidlarzGroup <hi@thewidlarzgroup.com> (https://github.com/TheWidlarzGroup)",
"license": "MIT",
"bugs": {
"url": "https://github.com/TheWidlarzGroup/react-native-video/issues"
},
"homepage": "https://github.com/TheWidlarzGroup/react-native-video#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"dependencies": {
"@videojs/react": "^10.0.0-beta.11"
},
"devDependencies": {
"@expo/config-plugins": "^10.0.2",
"@react-native/eslint-config": "^0.77.0",
"@types/react": "^18.2.44",
"@types/react-native-web": "^0.19.2",
"del-cli": "^5.1.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"nitrogen": "0.35.0",
"prettier": "^3.0.3",
"react": "18.3.1",
"react-native": "^0.77.0",
"react-native-builder-bob": "^0.40.0",
"react-native-nitro-modules": "0.35.0",
"typescript": "^5.2.2"
},
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-nitro-modules": ">=0.35.0"
},
"release-it": {
"npm": {
"publish": true
},
"git": false,
"github": {
"release": false
},
"hooks": {
"before:init": "bun typecheck && bun lint",
"after:bump": "bun run build && cp ../../LICENSE ./LICENSE && cp ../../README.md ./README.md"
}
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
[
"commonjs",
{
"esm": true
}
],
[
"module",
{
"esm": true
}
],
[
"typescript",
{
"project": "tsconfig.build.json",
"tsc": "../../node_modules/.bin/tsc"
}
]
]
},
"codegenConfig": {
"name": "RNCVideoViewSpec",
"type": "components",
"jsSrcsDir": "src/spec/fabric",
"android": {
"javaPackageName": "com.twg.video.react"
},
"ios": {
"componentProvider": {
"RNCVideoView": "RCTVideoViewComponentView"
}
}
},
"create-react-native-library": {
"type": "view-legacy",
"languages": "kotlin-swift",
"version": "0.41.2"
}
}