-
Notifications
You must be signed in to change notification settings - Fork 230
/
package.json
60 lines (60 loc) · 1.23 KB
/
package.json
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
58
59
60
{
"name": "@huggingface/hub",
"version": "0.2.0",
"description": "Utilities to interact with the Hugging Face hub",
"repository": "https://github.com/huggingface/huggingface.js.git",
"publishConfig": {
"access": "public"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "index.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./index.ts"
}
},
"engines": {
"node": ">=18"
},
"source": "index.ts",
"scripts": {
"lint": "eslint --quiet --fix --ext .cjs,.ts .",
"lint:check": "eslint --ext .cjs,.ts .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"prepublishOnly": "npm run build",
"build": "tsup src/index.ts --format cjs,esm --clean",
"test": "vitest run",
"test:ci": "pnpm run test -- --coverage",
"type-check": "tsc"
},
"files": [
"src",
"dist",
"index.ts",
"tsconfig.json"
],
"keywords": [
"huggingface",
"hub",
"api",
"client",
"hugging",
"face"
],
"author": "Hugging Face",
"license": "MIT",
"devDependencies": {
"@types/node": "^18.13.0",
"ts-node": "^10.9.1",
"tsup": "^6.6.3",
"type-fest": "^3.5.6",
"typescript": "^4.9.5"
},
"dependencies": {
"hash-wasm": "^4.9.0"
}
}