react-native-orientation-bits
Version:
A react-native module that can listen on orientation changing of device, get current orientation, lock to preferred orientation.
35 lines (34 loc) • 993 B
JSON
{
"name": "example",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest",
"lint": "eslint .",
"clean:windows": "rmdir /s node_modules\\react-native-orientation-locker\\node_modules\\",
"start:windows": "react-native start --use-react-native-windows",
"windows": "react-native run-windows --no-packager"
},
"dependencies": {
"react": "16.13.1",
"react-native": "0.63.2",
"react-native-orientation-locker": "file: ../../../",
"react-native-windows": "^0.63.3"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/runtime": "^7.11.2",
"@react-native-community/eslint-config": "^2.0.0",
"babel-jest": "^26.3.0",
"eslint": "^7.8.1",
"jest": "^26.4.2",
"metro-react-native-babel-preset": "^0.63.0",
"react-test-renderer": "16.13.1"
},
"jest": {
"preset": "react-native"
}
}