npm i -g react-native-oss-license
react-native-oss-license --json --only-direct-dependency --skip-not-required
를 입력하여 나오는 string 배열을 복사하여 사용하자export const OpenSourceLicense = [
{
libraryName: '@eabdullazyanov/react-native-sms-user-consent',
version: '1.0.10',
_license: 'MIT',
_description:
"React Native wrapper for Android's SMS User Consent API, ready to use in React Native apps with minimum effort",
homepage: '<https://github.com/akvelon/react-native-sms-user-consent#readme>',
author: {
name: 'Eldar Abdullazyanov',
email: 'eldar.abdullazyanov@akvelon.com',
},
repository: {
type: 'git',
url: 'git+https://github.com/akvelon/react-native-sms-user-consent.git',
baseUrl: '<https://github.com/akvelon/react-native-sms-user-consent>',
},
_licenseContent:
'MIT License\\n\\nCopyright (c) 2021 Akvelon\\n\\nPermission is hereby granted, free of charge, to any person obtaining a copy\\nof this software and associated documentation files (the "Software"), to deal\\nin the Software without restriction, including without limitation the rights\\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\ncopies of the Software, and to permit persons to whom the Software is\\nfurnished to do so, subject to the following conditions:\\n\\nThe above copyright notice and this permission notice shall be included in all\\ncopies or substantial portions of the Software.\\n\\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\nSOFTWARE.\\n',
},
...
...
}
]