react-native-orientation-turbo
Version:
169 lines (168 loc) • 4.07 kB
JSON
{
"name": "react-native-orientation-turbo",
"version": "2.2.0",
"description": "orientation turbo",
"main": "./lib/module/index.js",
"types": "./lib/typescript/src/index.d.ts",
"exports": {
".": {
"source": "./src/index.tsx",
"types": "./lib/typescript/src/index.d.ts",
"default": "./lib/module/index.js"
},
"./package.json": "./package.json"
},
"files": [
"src",
"lib",
"android",
"ios",
"cpp",
"*.podspec",
"react-native.config.js",
"!ios/build",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*"
],
"scripts": {
"example": "yarn workspace react-native-orientation-turbo-example",
"test": "jest",
"typecheck": "tsc",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
"prepare": "bob build",
"release": "release-it --no-increment",
"sync": "yarn && cd example && yarn pod:install && yarn android:codegen"
},
"keywords": [
"react-native",
"orientation",
"screen-orientation",
"rotation",
"portrait",
"landscape",
"turbo-module",
"new-architecture",
"ios",
"android"
],
"repository": {
"type": "git",
"url": "git+https://github.com/whitestranger7/react-native-orientation-turbo.git"
},
"author": "whitestranger7 <whitestranger7@gmail.com> (https://github.com/whitestranger7)",
"license": "MIT",
"bugs": {
"url": "https://github.com/whitestranger7/react-native-orientation-turbo/issues"
},
"homepage": "https://github.com/whitestranger7/react-native-orientation-turbo#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@commitlint/config-conventional": "19.8.1",
"@eslint/compat": "1.3.1",
"@eslint/eslintrc": "3.3.1",
"@eslint/js": "9.32.0",
"@evilmartians/lefthook": "1.12.2",
"@react-native-community/cli": "19.1.1",
"@react-native/babel-preset": "0.80.2",
"@react-native/eslint-config": "0.80.2",
"@release-it/conventional-changelog": "10.0.1",
"@types/jest": "30.0.0",
"@types/react": "19.1.8",
"commitlint": "19.8.1",
"del-cli": "6.0.0",
"eslint": "9.32.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-prettier": "5.5.3",
"jest": "30.0.5",
"prettier": "3.6.2",
"react": "19.1.0",
"react-native": "0.80.2",
"react-native-builder-bob": "0.40.13",
"release-it": "19.0.4",
"turbo": "2.5.5",
"typescript": "5.8.3"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"workspaces": [
"example"
],
"packageManager": "yarn@4.9.2",
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release-it": {
"npm": {
"publish": true
},
"github": {
"release": false
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "angular"
}
}
}
},
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
[
"module",
{
"esm": true
}
],
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
"codegenConfig": {
"name": "OrientationTurboSpec",
"type": "modules",
"jsSrcsDir": "src",
"android": {
"javaPackageName": "com.orientationturbo"
}
},
"create-react-native-library": {
"languages": "kotlin-objc",
"type": "turbo-module",
"version": "0.51.1"
}
}