machineuser
Sync widgets demo
94753b6
raw
history blame
No virus
1.55 kB
{
"name": "@huggingface/inference",
"version": "2.6.4",
"packageManager": "pnpm@8.10.5",
"license": "MIT",
"author": "Tim Mikeladze <tim.mikeladze@gmail.com>",
"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",
"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"
},
"devDependencies": {
"@huggingface/tasks": "workspace:^",
"@types/node": "18.13.0"
},
"resolutions": {}
}