File size: 1,415 Bytes
94753b6
 
 
ca548dc
94753b6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
	"name": "@huggingface/jinja",
	"packageManager": "pnpm@8.10.5",
	"version": "0.2.2",
	"description": "A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.",
	"repository": "https://github.com/huggingface/huggingface.js.git",
	"publishConfig": {
		"access": "public"
	},
	"type": "module",
	"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"
		}
	},
	"engines": {
		"node": ">=18"
	},
	"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",
		"prepare": "pnpm run build",
		"build": "tsup src/index.ts --format cjs,esm --clean --dts",
		"test": "vitest run",
		"test:browser": "vitest run --browser.name=chrome --browser.headless",
		"check": "tsc"
	},
	"files": [
		"src",
		"dist",
		"README.md",
		"tsconfig.json"
	],
	"keywords": [
		"huggingface",
		"jinja",
		"templates",
		"hugging",
		"face"
	],
	"author": "Hugging Face",
	"license": "MIT",
	"devDependencies": {
		"typescript": "^5.3.2",
		"@huggingface/hub": "workspace:^",
		"@xenova/transformers": "^2.9.0"
	}
}