UNPKG

use-fs-access

Version:

A React hook that builds on top of the File System Access API to enable easy file and directory operations in modern browsers.

87 lines (86 loc) 2.2 kB
{ "name": "use-fs-access", "version": "1.3.2", "description": "A React hook that builds on top of the File System Access API to enable easy file and directory operations in modern browsers.", "scripts": { "clean": "del-cli dist", "build": "npm run clean && tsc -p ./tsconfig.json", "prepack": "npm run build", "test": "jest", "semantic-release": "semantic-release" }, "repository": { "type": "git", "url": "https://github.com/Milan-Kovacevic/use-fs-access.git" }, "keywords": [ "react", "hook", "filesystem", "fs", "file-system-access-api", "file-system-api" ], "author": "Milan", "license": "MIT", "bugs": { "url": "https://github.com/Milan-Kovacevic/use-fs-access/issues" }, "homepage": "https://github.com/Milan-Kovacevic/use-fs-access#readme", "release": { "branches": [ "main" ] }, "publishConfig": { "access": "public" }, "main": "./dist/index.js", "files": [ "dist/" ], "exports": { ".": { "require": "./dist/index.js", "import": "./dist/index.js", "types": "./dist/types/index.d.ts" }, "./core": { "require": "./dist/core/index.js", "import": "./dist/core/index.js", "types": "./dist/types/core/index.d.ts" }, "./filters": { "require": "./dist/filters/index.js", "import": "./dist/filters/index.js", "types": "./dist/types/filters/index.d.ts" }, "./stores": { "require": "./dist/stores/index.js", "import": "./dist/stores/index.js", "types": "./dist/types/stores/index.d.ts" } }, "peerDependencies": { "react": ">=18.0.0", "react-dom": ">=18.0.0" }, "devDependencies": { "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.3.0", "@types/jest": "^29.5.14", "@types/react": "^19.1.2", "@types/wicg-file-system-access": "^2023.10.6", "del-cli": "^6.0.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "react": "^19.1.0", "react-dom": "^19.1.0", "semantic-release": "^24.2.3", "ts-jest": "^29.3.2", "typescript": "^5.8.3" }, "dependencies": { "ignore": "^7.0.3" } }