Files
fressh/packages/react-native-uniffi-russh/package.json
EthanShoeDev 59ba5cd534 release config
2025-10-06 22:09:09 -04:00

140 lines
3.7 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": {
"fmt": "cross-env SORT_IMPORTS=true prettier --write .",
"fmt:check": "cross-env SORT_IMPORTS=true prettier --check .",
"lint": "eslint --fix --max-warnings 0 --report-unused-disable-directives .",
"lint:check": "eslint --max-warnings 0 --report-unused-disable-directives .",
"typecheck": "tsc",
"build:ios": "ubrn build ios --and-generate --release",
"build:android": "ubrn build android --and-generate --release",
"build:native": "tsx scripts/native-build.ts",
"build:bob": "bob build",
"lint:rust": "cd rust/uniffi-russh && just lint",
"lint:rust:check": "cd rust/uniffi-russh && just lint-check",
"fmt:rust": "cd rust/uniffi-russh && just fmt",
"fmt:rust:check": "cd rust/uniffi-russh && just fmt-check",
"update-rust": "cd rust/uniffi-russh && just update-deps",
"test": "jest",
"release": "GITHUB_TOKEN=$(gh auth token) release-it",
"release:dry": "release-it --dry-run"
},
"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",
"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",
"release-it-pnpm": "^4.6.6",
"turbo": "^2.5.7",
"typescript": "~5.9.2"
},
"dependencies": {
"uniffi-bindgen-react-native": "github:EthanShoeDev/uniffi-bindgen-react-native#build-ts"
},
"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"
}
}