UNPKG

@dr.pogodin/react-native-fs

Version:
138 lines (137 loc) 3.5 kB
{ "name": "@dr.pogodin/react-native-fs", "version": "2.33.1", "description": "Native filesystem access for React Native", "source": "./src/index.ts", "main": "./lib/module/index.js", "types": "./lib/typescript/src/index.d.ts", "exports": { ".": { "types": "./lib/typescript/src/index.d.ts", "default": "./lib/module/index.js" }, "./package.json": "./package.json" }, "scripts": { "codegen-windows": "./node_modules/.bin/rnc-cli codegen-windows", "example": "yarn workspace @dr.pogodin/react-native-fs-example", "test": "yarn lint && yarn typecheck", "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", "windows": "@react-native-community/cli run-windows" }, "keywords": [ "react-native", "ios", "android", "fs", "filesystem", "download", "upload", "file-transfer" ], "repository": { "type": "git", "url": "git+https://github.com/birdofpreyru/react-native-fs.git" }, "author": "Dr. Sergey Pogodin <dr.pogodin@gmail.com> (https://dr.pogodin.studio)", "license": "MIT", "funding": { "type": "github", "url": "https://github.com/sponsors/birdofpreyru" }, "bugs": { "url": "https://github.com/birdofpreyru/react-native-fs/issues" }, "homepage": "https://dr.pogodin.studio/docs/react-native-file-system", "title": "React Native File System", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "dependencies": { "buffer": "^6.0.3", "http-status-codes": "^2.3.0" }, "devDependencies": { "@eslint/compat": "^1.2.8", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.25.1", "@react-native-community/cli": "18.0.0", "@react-native/eslint-config": "^0.79.1", "@types/jest": "^29.5.14", "@types/react": "^19.0.0", "del-cli": "^6.0.0", "eslint": "^9.25.1", "jest": "^29.7.0", "react": "19.0.0", "react-native": "0.79.1", "react-native-builder-bob": "^0.40.6", "react-native-windows": "0.78.5", "typescript": "^5.8.3" }, "peerDependencies": { "react": "*", "react-native": "*" }, "workspaces": [ "example" ], "packageManager": "yarn@4.9.1", "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "codegen", [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "codegenConfig": { "name": "RNReactNativeFsSpec", "type": "modules", "jsSrcsDir": "src", "windows": { "namespace": "winrt::ReactNativeFs", "outputDirectory": "windows/ReactNativeFs/codegen" }, "outputDir": { "ios": "ios/generated", "android": "android/generated" }, "android": { "javaPackageName": "com.drpogodin.reactnativefs" }, "includesGeneratedCode": true }, "create-react-native-library": { "type": "turbo-module", "languages": "kotlin-objc", "version": "0.49.8" }, "react-native-windows": { "init-windows": { "name": "ReactNativeFs", "namespace": "ReactNativeFs", "template": "old/uwp-cpp-lib" } } }