UNPKG

@dr.pogodin/react-native-fs

Version:
165 lines (164 loc) 3.95 kB
{ "name": "@dr.pogodin/react-native-fs", "version": "2.32.0", "description": "Native filesystem access for React Native", "source": "./src/index.ts", "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", "types": "./lib/typescript/module/src", "exports": { ".": { "import": { "types": "./lib/typescript/module/src/index.d.ts", "default": "./lib/module/index.js" }, "require": { "types": "./lib/typescript/commonjs/src/index.d.ts", "default": "./lib/commonjs/index.js" } } }, "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": { "@react-native-community/cli": "15.1.3", "@react-native/eslint-config": "^0.78.0", "@types/jest": "^29.5.14", "del-cli": "^6.0.0", "eslint": "^8.57.1", "jest": "^29.7.0", "metro-config": "^0.81.1", "react": "19.0.0", "react-native": "0.78.0", "react-native-builder-bob": "^0.37.0", "react-native-windows": "0.77.2", "typescript": "^5.7.3" }, "peerDependencies": { "react": "*", "react-native": "*" }, "workspaces": [ "example" ], "packageManager": "yarn@3.6.1", "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "eslintConfig": { "root": true, "extends": [ "@react-native" ], "rules": { "curly": [ "error", "multi-line" ], "react/react-in-jsx-scope": "off" } }, "eslintIgnore": [ "node_modules/", "lib/" ], "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "codegen", [ "commonjs", { "esm": true } ], [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json", "esm": true } ] ] }, "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.48.2" }, "react-native-windows": { "init-windows": { "name": "ReactNativeFs", "namespace": "ReactNativeFs", "template": "old/uwp-cpp-lib" } } }