Skip to content

Commit

Permalink
Use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
xenova committed Nov 22, 2023
1 parent 7cb9849 commit 69488f8
Show file tree
Hide file tree
Showing 2 changed files with 1,273 additions and 25 deletions.
66 changes: 41 additions & 25 deletions packages/templates/package.json
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"
}
}
}
Loading

0 comments on commit 69488f8

Please sign in to comment.