101 lines
2.7 KiB
JSON
101 lines
2.7 KiB
JSON
{
|
||
"name": "react-native-mask-segment-canvas",
|
||
"version": "0.1.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"
|
||
}
|