@huggingface/tasks
Advanced tools
Comparing version
{ | ||
"name": "@huggingface/tasks", | ||
"packageManager": "pnpm@8.10.5", | ||
"version": "0.13.0-test2", | ||
"version": "0.13.0-test3", | ||
"description": "List of ML tasks for huggingface.co/tasks", | ||
@@ -12,4 +12,6 @@ "repository": "https://github.com/huggingface/huggingface.js.git", | ||
"module": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./dist/src/index.d.ts", | ||
"require": "./dist/index.cjs", | ||
@@ -43,3 +45,3 @@ "import": "./dist/index.js" | ||
"format:check": "prettier --check .", | ||
"build": "tsup src/index.ts --format cjs,esm --dts --clean", | ||
"build": "tsup src/index.ts --format cjs,esm --clean && tsc --emitDeclarationOnly --declaration && pnpm run generate-cts", | ||
"watch:export": "tsup src/index.ts --format cjs,esm --watch", | ||
@@ -50,2 +52,3 @@ "watch:types": "tsc --emitDeclarationOnly --declaration --watch", | ||
"test": "vitest run", | ||
"generate-cts": "tsx scripts/generate-cts.ts", | ||
"inference-codegen": "tsx scripts/inference-codegen.ts && prettier --write src/tasks/*/inference.ts", | ||
@@ -52,0 +55,0 @@ "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", |
@@ -18,4 +18,4 @@ { | ||
}, | ||
"include": ["src", "scripts"], | ||
"include": ["src"], | ||
"exclude": ["dist"] | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
1657584
11.91%579
182.44%35718
1.22%