Spaces:
Runtime error
Runtime error
{ | |
"name": "@huggingface/inference", | |
"version": "2.6.7", | |
"packageManager": "[email protected]", | |
"license": "MIT", | |
"author": "Tim Mikeladze <[email protected]>", | |
"description": "Typescript wrapper for the Hugging Face Inference Endpoints & Inference API", | |
"repository": { | |
"type": "git", | |
"url": "https://github.com/huggingface/huggingface.js.git" | |
}, | |
"publishConfig": { | |
"access": "public" | |
}, | |
"keywords": [ | |
"hugging face", | |
"hugging face typescript", | |
"huggingface", | |
"huggingface-inference-api", | |
"huggingface-inference-api-typescript", | |
"inference", | |
"ai" | |
], | |
"engines": { | |
"node": ">=18" | |
}, | |
"files": [ | |
"dist", | |
"src" | |
], | |
"source": "src/index.ts", | |
"types": "./dist/index.d.ts", | |
"main": "./dist/index.cjs", | |
"module": "./dist/index.js", | |
"exports": { | |
"types": "./dist/index.d.ts", | |
"require": "./dist/index.cjs", | |
"import": "./dist/index.js" | |
}, | |
"type": "module", | |
"scripts": { | |
"build": "tsup src/index.ts --format cjs,esm --clean && pnpm run dts", | |
"dts": "tsx scripts/generate-dts.ts && tsc --noEmit dist/index.d.ts", | |
"lint": "eslint --quiet --fix --ext .cjs,.ts .", | |
"lint:check": "eslint --ext .cjs,.ts .", | |
"format": "prettier --write .", | |
"format:check": "prettier --check .", | |
"prepare": "pnpm run build", | |
"prepublishOnly": "pnpm run build", | |
"test": "vitest run --config vitest.config.mts", | |
"test:browser": "vitest run --browser.name=chrome --browser.headless --config vitest.config.mts", | |
"check": "tsc" | |
}, | |
"dependencies": { | |
"@huggingface/tasks": "workspace:^" | |
}, | |
"devDependencies": { | |
"@types/node": "18.13.0" | |
}, | |
"resolutions": {} | |
} | |