react-native-mask-segment-c.../package.json
a1518 8bc66a4ee9
Some checks failed
Publish to npm / publish (push) Has been cancelled
refactor: remove Chinese, add build obfuscation, polish README
- Remove all Chinese characters from src/, example/, ios/, patches/, tests/
- Add esbuild-based build obfuscation (minify + identifier mangle + no sourcemaps)
- Drop src/ from npm publish, only ship minified dist/
- Remove source maps and declaration maps from build output
- Add README icons and visual polish throughout
- Fix broken Table of Contents anchor links in README

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 19:07:32 -07:00

103 lines
2.9 KiB
JSON

{
"name": "react-native-mask-segment-canvas",
"version": "0.3.0",
"description": "React Native mask segmentation canvas library: OpenCV semantic segmentation + SkSL Shader coloring",
"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",
"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": "npm run build:js && npm run build:types",
"build:js": "node scripts/build.mjs",
"build:types": "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",
"esbuild": "^0.28.1",
"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"
}