Files
discord-decomp/sources/by-id/module-03892.jsx
T
2026-07-27 16:20:00 +03:00

31 lines
3.0 KiB
React

/* Metro module 3892; source: unknown; dependencies: [] */
function _fun32101(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#32101, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4031:6, offset: 0x0100c814, size: 392 bytes, params: 8, frame: 4
module.exports = {'name': 'react-native-nitro-modules', 'version': '0.35.4',
'description': 'Insanely fast native C++, Swift or Kotlin modules with a statically compiled binding layer to JSI.',
'main': 'lib/commonjs/index', 'module': 'lib/module/index', 'types': 'lib/typescript/index.d.ts',
'react-native': 'src/index', 'source': 'src/index', 'files': null, 'keywords': null, 'repository': null,
'author': 'Marc Rousavy <[email protected]> (https://github.com/mrousavy)', 'license': 'MIT', files: ['src',
'!src/__tests__', 'react-native.config.js', 'lib', 'android/build.gradle', 'android/gradle.properties',
'android/fix-prefab.gradle', 'android/CMakeLists.txt', 'android/src/', 'ios/', 'cpp/', 'app.plugin.js',
'*.podspec', 'nitro_pod_utils.rb', 'README.md'], keywords: ['react-native', 'nitro', 'ios', 'android',
'visionOS', 'tvOS', 'macOS', 'cpp', 'framework', 'react', 'swift', 'native', 'modules', 'fast', 'jsi', 'turbo',
'scaffold', 'template', 'views'], repository: {'type': 'git',
'url': 'git+https://github.com/mrousavy/nitro.git'}, bugs: {url: 'https://github.com/mrousavy/nitro/issues'},
homepage: 'https://github.com/mrousavy/nitro#readme', publishConfig: {registry: 'https://registry.npmjs.org/'},
scripts: {'write-native-version': 'version=$(node -p "require(\'./package.json\').version") && sed -i \'\' "s/#define NITRO_VERSION \\".*\\"/#define NITRO_VERSION \\"$version\\"/" ./cpp/utils/NitroDefines.hpp',
'postversion': 'bun run write-native-version', 'build': 'rm -rf lib && bun typecheck && bob build',
'typecheck': 'tsc --noEmit', 'lint': 'eslint "**/*.{js,ts,tsx}" --fix',
'lint-ci': 'eslint "**/*.{js,ts,tsx}" -f @jamesacarr/github-actions', 'test': 'jest',
'clean': 'rm -rf android/build node_modules/**/android/build lib', 'release': 'release-it'},
devDependencies: {'@types/jest': '*', '@types/react': '*', 'jest': '*', 'react': '19.2.0',
'react-native': '0.83.0', 'react-native-builder-bob': '^0.37.0', 'react-native-worklets': '^0.7.2'},
peerDependencies: {'react': '*', 'react-native': '*'}, codegenConfig: {'name': 'NitroModulesSpec',
'type': 'modules', 'jsSrcsDir': './src', android: {javaPackageName: 'com.margelo.nitro'}},
jest: {preset: 'react-native', modulePathIgnorePatterns: ['<rootDir>/example/node_modules', '<rootDir>/lib/']},
['release-it']: {npm: {publish: true}, git: false, github: {release: false},
hooks: {'before:init': 'bun typecheck && bun lint', 'after:bump': 'bun run build'}},
['react-native-builder-bob']: {'source': 'src', 'output': 'lib', targets: ['commonjs', 'module', ['typescript',
{project: 'tsconfig.build.json'}]]}};
}