-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
1,273 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,51 @@ | ||
{ | ||
"name": "@huggingface/templates", | ||
"version": "0.0.1", | ||
"description": "A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing ML chat templates.", | ||
"name": "@huggingface/templates", | ||
"packageManager": "[email protected]", | ||
"version": "0.0.1", | ||
"description": "A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing ML chat templates.", | ||
"repository": "https://github.com/huggingface/huggingface.js.git", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"main": "index.js", | ||
"type": "module", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/huggingface/huggingface.js.git" | ||
}, | ||
"keywords": [ | ||
"jinja", | ||
"templates", | ||
"templating", | ||
"machine learning" | ||
], | ||
"author": "Xenova", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/huggingface/huggingface.js/issues" | ||
}, | ||
"homepage": "https://github.com/huggingface/huggingface.js#readme", | ||
"scripts": { | ||
"browser": { | ||
"./dist/index.js": "./dist/browser/index.js", | ||
"./dist/index.mjs": "./dist/browser/index.mjs" | ||
}, | ||
"engines": { | ||
"node": ">=18" | ||
}, | ||
"source": "index.js", | ||
"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", | ||
"typegen": "tsc ./src/index.js --allowJs --declaration --emitDeclarationOnly --declarationMap --outDir types", | ||
"build": "vite build && npm run typegen", | ||
"test": "vitest run --config vitest.config.ts", | ||
"test:browser": "vitest run --browser.name=chrome --browser.headless --config vitest.config.ts" | ||
}, | ||
"test": "vitest run", | ||
"test:browser": "vitest run --browser.name=chrome --browser.headless", | ||
"check": "tsc" | ||
}, | ||
"files": [ | ||
"src", | ||
"dist", | ||
"index.js" | ||
], | ||
"keywords": [ | ||
"huggingface", | ||
"jinja", | ||
"templates", | ||
"hugging", | ||
"face" | ||
], | ||
"author": "Hugging Face", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@huggingface/hub": "^0.12.2", | ||
"@xenova/transformers": "^2.9.0", | ||
"typescript": "^5.3.2", | ||
"vitest": "^0.34.6" | ||
} | ||
} | ||
} |
Oops, something went wrong.