UNPKG

react-native-img-buffer-save

Version:

Fast React Native JSI library for saving images to the device gallery from binary buffers (Uint8Array or ArrayBuffer).

200 lines (199 loc) 4.88 kB
{ "name": "react-native-img-buffer-save", "version": "0.1.7", "description": "Fast React Native JSI library for saving images to the device gallery from binary buffers (Uint8Array or ArrayBuffer).", "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", "types": "lib/typescript/index.d.ts", "react-native": "src/index", "source": "./src/index", "files": [ "src", "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": { "example": "yarn workspace react-native-img-buffer-save-example", "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", "prepare": "bob build", "release": "release-it" }, "keywords": [ "react-native", "ios", "android", "jsi", "cpp", "react-native-image", "react-native-img", "react-native-img-save", "react-native-image-save", "react-native-save-image", "react-native-save-img", "image", "image-save", "image-save-to-gallery", "react-native-image-save-to-gallery", "react-native-image-to-gallery", "react-native-gallery", "react-native-img-buffer-save", "react-native-save-buffer", "react-native-save-array-buffer", "react-native-buffer", "react-native-array-buffer", "react-native-save-image-buffer", "react-native-save-image-array-buffer", "react-native-save-gallery", "image-to-gallery", "gallery", "img-buffer", "image-buffer", "native-module", "jsi-react-native", "react-native-cpp", "react-native-jsi", "react-native-module" ], "repository": { "type": "git", "url": "git+https://github.com/pioner92/react-native-img-buffer-save.git" }, "author": "pioner921227 <alex.shumihin921227@gmail.com> (https://github.com/pioner92)", "license": "MIT", "bugs": { "url": "https://github.com/pioner92/react-native-img-buffer-save/issues" }, "homepage": "https://github.com/pioner92/react-native-img-buffer-save#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^17.0.2", "@evilmartians/lefthook": "^1.5.0", "@react-native-community/cli": "15.0.1", "@react-native/eslint-config": "^0.73.1", "@release-it/conventional-changelog": "^9.0.2", "@types/jest": "^29.5.5", "@types/react": "^18.2.44", "commitlint": "^17.0.2", "del-cli": "^5.1.0", "eslint": "^8.51.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "prettier": "^3.0.3", "react": "19.0.0", "react-native": "0.78.0", "react-native-builder-bob": "^0.37.0", "release-it": "^17.10.0", "turbo": "^1.10.7", "typescript": "^5.2.2" }, "resolutions": { "@types/react": "^18.2.44" }, "peerDependencies": { "react": "*", "react-native": "*" }, "workspaces": [ "example" ], "packageManager": "yarn@3.6.1", "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": "conventionalcommits" } } }, "eslintConfig": { "root": true, "extends": [ "@react-native", "prettier" ], "rules": { "react/react-in-jsx-scope": "off", "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false } ] } }, "eslintIgnore": [ "node_modules/", "lib/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "create-react-native-library": { "type": "turbo-module", "languages": "kotlin-objc", "version": "0.48.3" } }