Spaces:
Runtime error
Runtime error
{ | |
"name": "@huggingface/tasks", | |
"packageManager": "[email protected]", | |
"version": "0.9.1", | |
"description": "List of ML tasks for huggingface.co/tasks", | |
"repository": "https://github.com/huggingface/huggingface.js.git", | |
"publishConfig": { | |
"access": "public" | |
}, | |
"main": "./dist/index.cjs", | |
"module": "./dist/index.js", | |
"types": "./dist/index.d.ts", | |
"exports": { | |
".": { | |
"types": "./dist/index.d.ts", | |
"require": "./dist/index.cjs", | |
"import": "./dist/index.js" | |
} | |
}, | |
"source": "src/index.ts", | |
"scripts": { | |
"lint": "eslint --quiet --fix --ext .cjs,.ts .", | |
"lint:check": "eslint --ext .cjs,.ts .", | |
"format": "prettier --write .", | |
"format:check": "prettier --check .", | |
"prepublishOnly": "pnpm run build", | |
"build": "tsup src/index.ts --format cjs,esm --clean --dts && pnpm run inference-codegen", | |
"prepare": "pnpm run build", | |
"check": "tsc", | |
"inference-codegen": "tsx scripts/inference-codegen.ts && prettier --write src/tasks/*/inference.ts", | |
"inference-tgi-import": "tsx scripts/inference-tgi-import.ts && prettier --write src/tasks/text-generation/spec/*.json && prettier --write src/tasks/chat-completion/spec/*.json" | |
}, | |
"type": "module", | |
"files": [ | |
"dist", | |
"src", | |
"tsconfig.json" | |
], | |
"keywords": [ | |
"huggingface", | |
"hub", | |
"languages" | |
], | |
"author": "Hugging Face", | |
"license": "MIT", | |
"devDependencies": { | |
"@types/node": "^20.11.5", | |
"quicktype-core": "https://github.com/huggingface/quicktype/raw/pack-18.0.17/packages/quicktype-core/quicktype-core-18.0.17.tgz", | |
"type-fest": "^3.13.1" | |
}, | |
"dependencies": { | |
"node-fetch": "^3.3.2" | |
} | |
} | |