@logicwind/react-native-fold-detection
Version:
The purpose of the package is to provide details regarding the Android folding capability.
174 lines (173 loc) • 4.04 kB
JSON
{
"name": "@logicwind/react-native-fold-detection",
"version": "0.3.2",
"description": "The purpose of the package is to provide details regarding the Android folding capability.",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/src/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"files": [
"src",
"lib",
"android",
"ios",
"cpp",
"*.podspec",
"!ios/build",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*"
],
"scripts": {
"example": "yarn workspace react-native-fold-detection-example",
"test": "jest",
"typecheck": "tsc --noEmit",
"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"
},
"keywords": [
"react-native",
"ios",
"android",
"foldable",
"fold detection",
"dual screen",
"foldable phone",
"react-native-fold",
"foldable-device",
"device posture",
"screen posture",
"multi-window",
"foldable support"
],
"repository": "https://github.com/logicwind/react-native-fold-detection",
"author": "logicwind <devtools@logicwind.com> (https://github.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/logicwind/react-native-fold-detection/issues"
},
"homepage": "https://github.com/logicwind/react-native-fold-detection#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"devDependencies": {
"@commitlint/config-conventional": "17.0.2",
"@evilmartians/lefthook": "1.5.0",
"@react-native/eslint-config": "0.72.2",
"@release-it/conventional-changelog": "5.0.0",
"@types/jest": "28.1.2",
"@types/react": "17.0.21",
"@types/react-native": "0.70.0",
"commitlint": "17.0.2",
"del-cli": "5.0.0",
"eslint": "8.4.1",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.0.0",
"jest": "28.1.1",
"pod-install": "0.1.0",
"prettier": "2.0.5",
"react": "18.2.0",
"react-native": "0.72.6",
"react-native-builder-bob": "0.20.0",
"release-it": "15.0.0",
"turbo": "1.10.7",
"typescript": "5.0.2"
},
"resolutions": {
"@types/react": "17.0.21"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"workspaces": [
"example"
],
"packageManager": "yarn@3.6.1",
"engines": {
"node": ">= 16.0.0"
},
"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",
"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",
{
"project": "tsconfig.build.json"
}
]
]
}
}