transformers.js/package.json

58 lines
1.9 KiB
JSON
Raw Normal View History

2023-03-03 09:14:54 +08:00
{
"name": "@xenova/transformers",
2023-04-07 04:13:56 +08:00
"version": "1.4.1",
"description": "Run 🤗 Transformers in your browser! We currently support BERT, ALBERT, DistilBERT, MobileBERT, SqueezeBERT, T5, T5v1.1, FLAN-T5, mT5, BART, MarianMT, GPT2, GPT Neo, CodeGen, Whisper, CLIP, Vision Transformer, VisionEncoderDecoder, and DETR models, for a variety of tasks including: masked language modelling, text classification, token classification, zero-shot classification, text-to-text generation, translation, summarization, question answering, text generation, automatic speech recognition, image classification, zero-shot image classification, image-to-text, and object detection.",
2023-03-04 05:53:10 +08:00
"main": "./src/transformers.js",
2023-03-03 09:14:54 +08:00
"directories": {
"test": "tests"
},
"scripts": {
"webpack": "webpack",
"typegen": "tsc ./src/transformers.js --outDir dist/types --allowJs --declaration --emitDeclarationOnly",
2023-03-04 05:53:10 +08:00
"dev": "webpack serve --no-client-overlay",
"test": "node tests/index.js",
"build": "npm run webpack && npm run typegen"
2023-03-03 09:14:54 +08:00
},
"repository": {
"type": "git",
"url": "git+https://github.com/xenova/transformers.js.git"
},
"keywords": [
"transformers",
"javascript",
"browser",
"huggingface"
],
"author": "Xenova",
"license": "MIT",
"bugs": {
"url": "https://github.com/xenova/transformers.js/issues"
},
"homepage": "https://github.com/xenova/transformers.js#readme",
"dependencies": {
"canvas": "^2.11.2",
2023-03-19 18:26:22 +08:00
"onnxruntime-web": "^1.14.0"
2023-03-03 09:14:54 +08:00
},
"optionalDependencies": {
"onnxruntime-node": "^1.14.0"
},
2023-03-03 09:14:54 +08:00
"devDependencies": {
"copy-webpack-plugin": "^11.0.0",
2023-03-19 18:26:22 +08:00
"typescript": "^5.0.2",
"webpack": "^5.76.0",
2023-03-03 09:14:54 +08:00
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.11.1"
2023-03-04 06:12:03 +08:00
},
"files": [
"src",
"dist",
"tests",
"README.md",
"LICENSE"
2023-03-04 08:54:57 +08:00
],
"browser": {
"fs": false,
"path": false
}
}