UNPKG

react-native-levin-encrypted-uploader

Version:

A DIY React Native file uploader with mandatory encryption, inspired by the VydiaRNFileUploader. Warning: This is very much a work in progress - use at your own risk! 🚧

164 lines (163 loc) • 5.52 kB
{ "name": "react-native-levin-encrypted-uploader", "version": "1.10.1", "description": "A DIY React Native file uploader with mandatory encryption, inspired by the VydiaRNFileUploader. Warning: This is very much a work in progress - use at your own risk! 🚧", "source": "./src/index.tsx", "main": "./src/index.tsx", "types": "./src/index.tsx", "exports": { ".": { "types": "./src/index.tsx", "default": "./src/index.tsx" }, "./package.json": "./package.json" }, "files": [ "src", "android", "ios", "*.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-levin-encrypted-uploader-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", "release": "release-it", "codegen": "react-native codegen && mkdir -p ios/generated && cp -R build/generated/ios/* ios/generated/ && rm -rf build" }, "keywords": [ "react-native", "ios", "android", "encryption", "upload", "download", "background", "diy", "wip" ], "repository": { "type": "git", "url": "git+https://github.com/tristanjakobi/react-native-levin-encrypted-uploader.git" }, "author": "tristanjakobi <tristanjakobi08@gmail.com> (https://github.com/tristanjakobi)", "license": "MIT", "licenseText": "The MIT License (MIT)\n\nCopyright (c) 2017 Vydia, Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.", "bugs": { "url": "https://github.com/tristanjakobi/react-native-levin-encrypted-uploader/issues" }, "homepage": "https://github.com/tristanjakobi/react-native-levin-encrypted-uploader#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@babel/core": "^7.23.0", "@babel/preset-env": "^7.23.0", "@commitlint/config-conventional": "^19.6.0", "@eslint/compat": "^1.2.7", "@eslint/eslintrc": "^3.3.0", "@eslint/js": "^9.22.0", "@evilmartians/lefthook": "^1.5.0", "@react-native-community/cli": "15.0.1", "@react-native/eslint-config": "^0.78.0", "@release-it/conventional-changelog": "^9.0.2", "@types/jest": "^29.5.5", "@types/react": "^19.0.0", "@types/react-native": "^0.72.8", "@typescript-eslint/eslint-plugin": "^8.30.1", "commitlint": "^19.6.1", "del-cli": "^5.1.0", "eslint": "^9.22.0", "eslint-config-prettier": "^10.1.1", "eslint-plugin-ft-flow": "^3.0.11", "eslint-plugin-jest": "^28.11.0", "eslint-plugin-prettier": "^5.2.3", "eslint-plugin-react-native": "^5.0.0", "hermes-eslint": "^0.15.0", "jest": "^29.7.0", "prettier": "^3.0.3", "react": "19.0.0", "react-native": "0.78.2", "release-it": "^17.10.0", "strip-ansi": "^7.1.0", "turbo": "^1.10.7", "typescript": "^5.2.2" }, "peerDependencies": { "@babel/core": "*", "@babel/preset-env": "*", "expo": ">=49.0.0", "react": "*", "react-native": "*", "react-native-worklets-core": "*" }, "workspaces": [ "example" ], "packageManager": "yarn@1.22.22", "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": { "name": "angular" } } } }, "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "dependencies": { "eslint-plugin-react-hooks": "^5.2.0", "expo": "~50.0.0", "expo-build-properties": "~0.11.0", "expo-status-bar": "~1.11.1" }, "codegenConfig": { "name": "LevinEncryptedUploaderSpec", "type": "modules", "jsSrcsDir": "src", "android": { "javaPackageName": "com.levinencrypteduploader" } } }