File size: 1,341 Bytes
b2ecf7d
 
 
98f68ac
b2ecf7d
 
 
 
 
e201dc3
 
b2ecf7d
 
 
 
e201dc3
 
b2ecf7d
 
 
 
 
 
 
 
 
e201dc3
b2ecf7d
afa4e5a
e201dc3
b2ecf7d
e201dc3
b2ecf7d
 
 
 
 
 
 
 
 
 
 
 
afa4e5a
 
 
 
b2ecf7d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
	"name": "@huggingface/tasks",
	"packageManager": "pnpm@8.10.5",
	"version": "0.6.0",
	"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"
	},
	"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.15/packages/quicktype-core/quicktype-core-18.0.15.tgz"
	}
}