react-native-mask-segment-c.../package.json
a1518 eb246efa8a Add example app and fix Android asset loading on image switch.
Introduce the example integration demo, export resolveAssetPath, harden resolveImageUrl for Android bundled assets, and update gitignore to exclude example build outputs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 20:24:43 -07:00

101 lines
2.7 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "react-native-mask-segment-canvas",
"version": "0.2.0",
"description": "React Native 掩码分区交互库OpenCV 语义分割 + SkSL Shader 上色",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": [
"dist",
"src",
"patches",
"README.md"
],
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"lint": "eslint .",
"pod:check": "bash ios/scripts/setup_vendor_pods.sh",
"pod:install": "cd ios && pod install",
"postinstall": "patch-package",
"start": "react-native start",
"test": "jest",
"build": "tsc -p tsconfig.build.json",
"prepare": "npm run build"
},
"dependencies": {
"buffer": "^6.0.3",
"upng-js": "^2.1.0"
},
"peerDependencies": {
"@shopify/react-native-skia": ">=2.0.0",
"react": ">=18",
"react-native": ">=0.74",
"react-native-fast-opencv": ">=0.4.8",
"react-native-fs": ">=2.20.0",
"react-native-gesture-handler": ">=2.16.0",
"react-native-image-picker": ">=7.0.0",
"react-native-reanimated": ">=3.0.0",
"react-native-safe-area-context": ">=4.0.0"
},
"peerDependenciesMeta": {
"react-native-image-picker": {
"optional": true
},
"react-native-safe-area-context": {
"optional": true
}
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/runtime": "^7.25.0",
"@react-native-community/cli": "18.0.0",
"@react-native-community/cli-platform-android": "18.0.0",
"@react-native-community/cli-platform-ios": "18.0.0",
"@react-native/babel-preset": "0.79.4",
"@react-native/eslint-config": "0.79.4",
"@react-native/metro-config": "0.79.4",
"@react-native/typescript-config": "0.79.4",
"@shopify/react-native-skia": "^2.6.4",
"@types/jest": "^29.5.13",
"@types/react": "^19.0.0",
"@types/react-test-renderer": "^19.0.0",
"eslint": "^8.19.0",
"jest": "^29.6.3",
"patch-package": "^8.0.1",
"prettier": "2.8.8",
"react": "19.0.0",
"react-native": "0.79.4",
"react-native-fast-opencv": "^0.4.8",
"react-native-fs": "^2.20.0",
"react-native-gesture-handler": "^2.16.0",
"react-native-image-picker": "^8.2.1",
"react-native-reanimated": "^3.19.5",
"react-native-safe-area-context": "^5.8.0",
"react-test-renderer": "19.0.0",
"typescript": "5.0.4"
},
"engines": {
"node": ">=18"
},
"keywords": [
"react-native",
"mask-segmentation",
"semantic-segmentation",
"opencv",
"skia",
"shader",
"image-editing",
"canvas",
"paint"
],
"license": "MIT"
}