Skip to content

Commit ad69f0a

Browse files
committed
Update package.json
1 parent 0335000 commit ad69f0a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
"version": "1.5.0.dev",
44
"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, image segmentation, and object detection.",
55
"main": "./src/transformers.js",
6+
"types": "./types/transformers.d.ts",
67
"directories": {
78
"test": "tests"
89
},
910
"scripts": {
1011
"webpack": "webpack",
11-
"typegen": "tsc ./src/transformers.js --outDir dist/types --allowJs --declaration --emitDeclarationOnly",
12+
"typegen": "tsc",
1213
"dev": "webpack serve --no-client-overlay",
1314
"test": "node tests/index.js",
1415
"build": "npm run webpack && npm run typegen",
@@ -49,6 +50,7 @@
4950
"files": [
5051
"src",
5152
"dist",
53+
"types",
5254
"tests",
5355
"README.md",
5456
"LICENSE"
@@ -58,4 +60,4 @@
5860
"path": false,
5961
"sharp": false
6062
}
61-
}
63+
}

0 commit comments

Comments
 (0)