UNPKG

@fivexlabs/use-file-system

Version:

A comprehensive React hook for the File System Access API with TypeScript support

75 lines (74 loc) 1.85 kB
{ "name": "@fivexlabs/use-file-system", "version": "1.0.0", "description": "A comprehensive React hook for the File System Access API with TypeScript support", "keywords": [ "react", "hook", "file-system", "file-access", "browser-api", "typescript", "modern-web" ], "author": "Fivex Labs", "license": "MIT", "homepage": "https://github.com/Fivex-Labs/react-use-file-system", "repository": { "type": "git", "url": "git+https://github.com/Fivex-Labs/react-use-file-system.git" }, "bugs": { "url": "https://github.com/Fivex-Labs/react-use-file-system/issues" }, "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "files": [ "dist", "README.md", "LICENSE" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.esm.js", "require": "./dist/index.js" } }, "type": "module", "scripts": { "dev": "vite", "build": "tsc -b && vite build", "build:lib": "vite build --mode lib && cp src/types/index.d.ts dist/index.d.ts", "lint": "eslint .", "preview": "vite preview", "prepublishOnly": "npm run build:lib" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "dependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "devDependencies": { "@eslint/js": "^9.25.0", "@types/node": "^22.15.29", "@types/react": "^19.1.2", "@types/react-dom": "^19.1.2", "@vitejs/plugin-react": "^4.4.1", "eslint": "^9.25.0", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-refresh": "^0.4.19", "globals": "^16.0.0", "typescript": "~5.8.3", "typescript-eslint": "^8.30.1", "vite": "^6.3.5", "vite-plugin-dts": "^4.5.4" }, "engines": { "node": ">=14.0.0" } }