@dr.pogodin/react-native-fs
Version:
Native filesystem access for React Native
141 lines (140 loc) • 3.42 kB
JSON
{
"name": "@dr.pogodin/react-native-fs",
"version": "2.26.0",
"description": "Native filesystem access for React Native",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/src/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"scripts": {
"codegen-windows": "react-native codegen-windows",
"example": "yarn workspace @dr.pogodin/react-native-fs-example",
"test": "yarn lint && yarn typecheck",
"typecheck": "tsc --noEmit",
"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 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"
},
"devDependencies": {
"@react-native/eslint-config": "^0.74.83",
"@types/jest": "^29.5.12",
"@types/react": "^18.3.3",
"del-cli": "^5.1.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"metro-config": "^0.80.9",
"prettier": "^3.2.5",
"react": "18.3.1",
"react-native": "0.74.1",
"react-native-builder-bob": "^0.23.2",
"react-native-windows": "0.74.7",
"typescript": "^5.4.5"
},
"resolutions": {
"@types/react": "^18.2.44"
},
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-windows": "*"
},
"workspaces": [
"example"
],
"packageManager": "yarn@3.6.1",
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/"
]
},
"eslintConfig": {
"root": true,
"extends": [
"@react-native",
"prettier"
],
"rules": {
"prettier/prettier": [
"error",
{
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
}
]
}
},
"eslintIgnore": [
"node_modules/",
"lib/"
],
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
"codegenConfig": {
"name": "RNReactNativeFsSpec",
"type": "modules",
"jsSrcsDir": "src",
"windows": {
"namespace": "winrt::ReactNativeFs",
"outputDirectory": "windows/ReactNativeFs/codegen"
}
}
}