UNPKG

opfs-worker

Version:

A robust TypeScript library for working with Origin Private File System (OPFS) through Web Workers

92 lines (91 loc) 2.75 kB
{ "name": "opfs-worker", "version": "1.0.0", "description": "A robust TypeScript library for working with Origin Private File System (OPFS) through Web Workers", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" }, "./raw": { "types": "./dist/raw.d.ts", "import": "./dist/raw.js", "require": "./dist/raw.cjs" } }, "files": [ "dist/**/*", "README.md", "LICENSE" ], "scripts": { "build": "vite build && tsc -p tsconfig.build.json", "build:demo": "vite build demo --base=./", "watch": "concurrently \"vite build --watch\" \"tsc -p tsconfig.build.json --watch\"", "dev": "vite serve demo", "preview": "vite preview demo", "type-check": "tsc --noEmit", "lint": "eslint src --ext .ts,.tsx", "lint:fix": "eslint src --ext .ts,.tsx --fix", "test": "vitest", "test:coverage": "vitest --coverage", "prepublishOnly": "npm run build", "version": "changeset && changeset version", "release": "changeset publish" }, "keywords": [ "opfs", "origin-private-file-system", "web-worker", "filesystem", "browser-storage", "file-api", "typescript" ], "author": "Maksim Kachurun <kachurun@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/kachurun/opfs-worker.git" }, "bugs": { "url": "https://github.com/kachurun/opfs-worker/issues" }, "homepage": "https://github.com/kachurun/opfs-worker#readme", "devDependencies": { "@changesets/cli": "^2.29.5", "@flexbe/eslint-config": "^1.0.11", "@types/minimatch": "^6.0.0", "@types/node": "^24.2.0", "@types/react": "^19.1.9", "@types/react-dom": "^19.1.7", "@typescript-eslint/eslint-plugin": "^8.39.0", "@typescript-eslint/parser": "^8.39.0", "@vitest/coverage-v8": "^3.2.4", "eslint": "^9.32.0", "happy-dom": "^18.0.1", "react": "^19.1.1", "react-dom": "^19.1.1", "typescript": "^5.9.2", "vite": "^7.0.6", "vitest": "^3.2.4" }, "engines": { "node": ">=20.0.0" }, "peerDependencies": { "typescript": ">=5.0.0" }, "packageManager": "bun@1.2.19", "dependencies": { "comlink": "^4.4.2", "minimatch": "^10.0.3" }, "publishConfig": { "access": "public" } }