Spaces:
Paused
Paused
| { | |
| "name": "@huggingface/hub", | |
| "version": "2.10.5", | |
| "description": "Utilities to interact with the Hugging Face hub", | |
| "keywords": [ | |
| "api", | |
| "client", | |
| "face", | |
| "hub", | |
| "hugging", | |
| "huggingface" | |
| ], | |
| "license": "MIT", | |
| "author": "Hugging Face", | |
| "repository": "https://github.com/huggingface/huggingface.js.git", | |
| "bin": { | |
| "hfjs": "./dist/cli.js" | |
| }, | |
| "source": "index.ts", | |
| "files": [ | |
| "dist", | |
| "index.ts", | |
| "src", | |
| "tsconfig.json" | |
| ], | |
| "main": "./dist/index.js", | |
| "module": "./dist/index.mjs", | |
| "browser": { | |
| "./src/utils/sha256-node.ts": false, | |
| "./src/utils/sub-paths.ts": false, | |
| "./src/utils/FileBlob.ts": false, | |
| "./src/lib/cache-management.ts": false, | |
| "./src/lib/download-file-to-cache-dir.ts": false, | |
| "./src/lib/snapshot-download.ts": false, | |
| "./dist/index.js": "./dist/browser/index.js", | |
| "./dist/index.mjs": "./dist/browser/index.mjs" | |
| }, | |
| "types": "./dist/index.d.ts", | |
| "exports": { | |
| ".": { | |
| "types": "./dist/index.d.ts", | |
| "require": "./dist/index.js", | |
| "import": "./dist/index.mjs" | |
| } | |
| }, | |
| "publishConfig": { | |
| "access": "public" | |
| }, | |
| "dependencies": { | |
| "@huggingface/tasks": "^0.19.89" | |
| }, | |
| "devDependencies": { | |
| "@types/cli-progress": "^3.11.6" | |
| }, | |
| "optionalDependencies": { | |
| "cli-progress": "^3.12.0" | |
| }, | |
| "engines": { | |
| "node": ">=18" | |
| }, | |
| "scripts": { | |
| "lint": "eslint --quiet --fix --ext .cjs,.ts .", | |
| "lint:check": "eslint --ext .cjs,.ts .", | |
| "format": "oxfmt .", | |
| "format:check": "oxfmt --check .", | |
| "build": "tsup && tsc --emitDeclarationOnly --declaration", | |
| "test": "vitest run", | |
| "test:browser": "vitest run --browser.name=chrome --browser.headless --config vitest-browser.config.mts", | |
| "check": "tsc", | |
| "build:xet-wasm": "./scripts/build-xet-wasm.sh -t bundler --clean", | |
| "bench": "tsx scripts/bench.ts", | |
| "debug-xet": "tsx scripts/debug-xet.ts" | |
| } | |
| } |