Files
discord-decomp/_bundle/Module3925.js
T
2026-11-01 12:12:55 +02:00

83 lines
2.7 KiB
JavaScript

// Metro module 3925 (f3926).
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: ["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"
},
author: "Marc Rousavy <[email protected]> (https://github.com/mrousavy)",
license: "MIT",
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"
}]]
}
};