Files
fressh/packages/react-native-uniffi-russh/package.json
2025-09-15 00:14:06 -04:00

134 lines
3.5 KiB
JSON

{
"name": "@fressh/react-native-uniffi-russh",
"homepage": "https://github.com/EthanShoeDev/fressh",
"license": "UNKNOWN",
"description": "Uniffi bindings for russh",
"version": "0.0.1",
"main": "./lib/module/api.js",
"types": "./lib/typescript/src/api.d.ts",
"exports": {
".": {
"types": "./lib/typescript/src/api.d.ts",
"default": "./lib/module/api.js"
},
"./package.json": "./package.json"
},
"files": [
"lib",
"android",
"ios",
"cpp",
"*.podspec",
"react-native.config.js",
"!ios/build",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*"
],
"scripts": {
"build": "if [ \"$(uname)\" = \"Darwin\" ]; then npm run build:ios; else npm run build:android; fi",
"build:ios": "ubrn build ios --and-generate --release && bob build",
"build:android": "ubrn build android --and-generate --release && bob build",
"ubrn:web": "ubrn build web",
"ubrn:clean": "rm -rfv cpp/ android/CMakeLists.txt android/src/main/java android/*.cpp ios/ src/Native* src/index.*ts* src/generated/",
"test": "jest",
"typecheck": "tsc",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
"release": "release-it --only-version",
"lint:rust": "cd rust/uniffi-russh && just lint"
},
"keywords": [
"react-native",
"ios",
"android"
],
"repository": {
"type": "git",
"url": "git+https://github.com/EthanShoeDev/fressh.git"
},
"author": "EthanShoeDev <13422990+EthanShoeDev@users.noreply.github.com> (https://github.com/EthanShoeDev)",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@eslint/compat": "^1.3.2",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.35.0",
"@react-native-community/cli": "20.0.2",
"@react-native/babel-preset": "0.81.1",
"@react-native/eslint-config": "^0.81.1",
"@release-it/conventional-changelog": "^10.0.1",
"@types/jest": "^30.0.0",
"@types/react": "~19.1.12",
"del-cli": "^6.0.0",
"eslint": "^9.35.0",
"jest": "^30.1.3",
"prettier": "^3.6.2",
"react": "19.1.0",
"react-native": "0.81.4",
"react-native-builder-bob": "^0.40.13",
"release-it": "^19.0.4",
"turbo": "^2.5.6",
"typescript": "~5.9.2"
},
"peerDependencies": {
"react": "19.1.0",
"react-native": "0.81.4"
},
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/"
]
},
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
[
"module",
{
"esm": true
}
],
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
"codegenConfig": {
"name": "UniffiRusshSpec",
"type": "modules",
"jsSrcsDir": "src",
"android": {
"javaPackageName": "com.uniffirussh"
}
},
"create-react-native-library": {
"languages": "kotlin-objc",
"type": "turbo-module",
"version": "0.54.3"
},
"dependencies": {
"uniffi-bindgen-react-native": "github:EthanShoeDev/uniffi-bindgen-react-native#build-ts"
}
}