UNPKG

react-native-file-access

Version:
191 lines (190 loc) 4.45 kB
{ "name": "react-native-file-access", "version": "4.0.3", "description": "Filesystem access for React Native", "main": "./lib/module/index.js", "types": "./lib/typescript/src/index.d.ts", "exports": { ".": { "source": "./src/index.ts", "types": "./lib/typescript/src/index.d.ts", "default": "./lib/module/index.js" }, "./util": { "source": "./src/util.ts", "types": "./lib/typescript/src/util.d.ts", "default": "./lib/module/util.js" }, "./jest/mock": "./jest/mock.ts", "./package.json": "./package.json" }, "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "react-native.config.js", "jest", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "example": "yarn workspace react-native-file-access-example", "exampleMacos": "yarn workspace react-native-file-access-example-macos", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "prepare": "bob build", "release": "release-it", "typecheck": "tsc", "lint": "eslint \"**/*.{js,ts,tsx}\"", "test": "jest" }, "keywords": [ "react-native", "ios", "android", "macos", "download", "file", "filesystem", "file system", "fs" ], "repository": { "type": "git", "url": "git+https://github.com/alpha0010/react-native-file-access.git" }, "author": "alpha0010 <alpha0010@users.noreply.github.com> (https://github.com/alpha0010)", "license": "MIT", "bugs": { "url": "https://github.com/alpha0010/react-native-file-access/issues" }, "homepage": "https://github.com/alpha0010/react-native-file-access#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^19.8.1", "@eslint/compat": "^1.3.2", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.35.0", "@react-native/babel-preset": "0.83.0", "@react-native/eslint-config": "0.83.0", "@release-it/conventional-changelog": "^10.0.1", "@types/jest": "^29.5.14", "@types/react": "^19.2.0", "commitlint": "^19.8.1", "del-cli": "^6.0.0", "eslint": "^9.35.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.4", "jest": "^29.7.0", "lefthook": "^2.0.3", "prettier": "^2.8.8", "react": "19.2.0", "react-native": "0.83.0", "react-native-builder-bob": "^0.40.18", "release-it": "^19.0.4", "turbo": "^2.5.6", "typescript": "^5.9.2" }, "peerDependencies": { "react": "*", "react-native": "*", "react-native-macos": "*" }, "peerDependenciesMeta": { "react-native-macos": { "optional": true } }, "workspaces": [ "example", "exampleMacos" ], "packageManager": "yarn@4.11.0", "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "codegenConfig": { "name": "FileAccessSpec", "type": "modules", "jsSrcsDir": "src", "android": { "javaPackageName": "com.alpha0010.fs" } }, "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "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" } } } }, "create-react-native-library": { "type": "turbo-module", "languages": "kotlin-objc", "tools": [ "eslint", "jest", "lefthook", "release-it" ], "version": "0.57.2" } }