File size: 1,467 Bytes
bce29b9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
51
52
53
54
55
56
57
{
  "name": "@huggingface/tasks",
  "version": "0.19.15",
  "description": "List of ML tasks for huggingface.co/tasks",
  "repository": "https://github.com/huggingface/huggingface.js.git",
  "publishConfig": {
    "access": "public"
  },
  "exports": {
    "./package.json": "./package.json",
    ".": {
      "import": {
        "types": "./dist/esm/index.d.ts",
        "default": "./dist/esm/index.js"
      },
      "require": {
        "types": "./dist/commonjs/index.d.ts",
        "default": "./dist/commonjs/index.js"
      }
    }
  },
  "source": "./src/index.ts",
  "type": "module",
  "files": [
    "dist",
    "src",
    "tsconfig.json"
  ],
  "keywords": [
    "huggingface",
    "hub",
    "languages"
  ],
  "author": "Hugging Face",
  "license": "MIT",
  "tshy": {
    "exports": {
      "./package.json": "./package.json",
      ".": "./src/index.ts"
    }
  },
  "main": "./dist/commonjs/index.js",
  "types": "./dist/commonjs/index.d.ts",
  "module": "./dist/esm/index.js",
  "scripts": {
    "lint": "eslint --quiet --fix --ext .cjs,.ts .",
    "lint:check": "eslint --ext .cjs,.ts .",
    "format": "prettier --write .",
    "format:check": "prettier --check .",
    "build": "tshy",
    "watch:cjs": "tsc --declaration --outdir dist/commonjs --module commonjs --watch",
    "watch:esm": "tsc --declaration --outdir dist/esm --watch",
    "watch": "npm-run-all --parallel watch:esm watch:cjs",
    "check": "tsc",
    "test": "vitest run"
  }
}