forked from huggingface/transformers.js
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
101 lines (101 loc) · 2.95 KB
/
package.json
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "@xenova/transformers",
"version": "2.17.2",
"description": "State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!",
"main": "./src/transformers.js",
"types": "./types/transformers.d.ts",
"type": "module",
"scripts": {
"typegen": "tsc ./src/transformers.js --allowJs --declaration --emitDeclarationOnly --declarationMap --outDir types",
"dev": "webpack serve --no-client-overlay",
"build": "webpack && npm run typegen",
"generate-tests": "python -m tests.generate_tests",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --verbose --maxConcurrency 1",
"readme": "python ./docs/scripts/build_readme.py",
"docs-api": "node ./docs/scripts/generate.js",
"docs-preview": "doc-builder preview transformers.js ./docs/source/ --not_python_module",
"docs-build": "doc-builder build transformers.js ./docs/source/ --not_python_module --build_dir ./docs/build/ --repo_owner xenova"
},
"repository": {
"type": "git",
"url": "git+https://github.com/xenova/transformers.js.git"
},
"keywords": [
"transformers",
"transformers.js",
"huggingface",
"hugging face",
"machine learning",
"deep learning",
"artificial intelligence",
"AI",
"ML"
],
"author": "Xenova",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/xenova/transformers.js/issues"
},
"homepage": "https://github.com/xenova/transformers.js#readme",
"dependencies": {
"@huggingface/jinja": "^0.2.2",
"image-codecs": "^0.1.0",
"node-wav": "^0.0.2",
"onnxruntime-web": "^1.17.0",
"sharp": "^0.32.0"
},
"optionalDependencies": {
"browserify-zlib": "^0.2.0",
"onnxruntime-node": "^1.17.0",
"onnxruntime-react-native": "^1.17.0",
"path-browserify": "^1.0.1",
"react-native-fs": "^2.20.0"
},
"devDependencies": {
"@types/jest": "^29.5.1",
"catharsis": "github:xenova/catharsis",
"copy-webpack-plugin": "^11.0.0",
"jest": "^29.5.0",
"jest-environment-node": "^29.5.0",
"jsdoc-to-markdown": "^8.0.1",
"typescript": "^5.2.2",
"wavefile": "^11.0.0",
"webpack": "^5.80.0",
"webpack-cli": "^5.0.2",
"webpack-dev-server": "^4.13.3"
},
"overrides": {
"jpeg-js": "^0.4.4",
"semver": "^7.5.4",
"protobufjs": "^7.2.6"
},
"files": [
"src",
"dist",
"types",
"README.md",
"LICENSE"
],
"react-native": {
"fs": "react-native-fs",
"onnxruntime-web": false,
"onnxruntime-node": "onnxruntime-react-native",
"image-codecs": "image-codecs",
"path": "path-browserify",
"stream/web": false,
"zlib": "browserify-zlib"
},
"browser": {
"fs": false,
"image-codecs": false,
"path": false,
"url": false,
"sharp": false,
"onnxruntime-node": false
},
"publishConfig": {
"access": "public"
},
"jsdelivr": "./dist/transformers.min.js",
"unpkg": "./dist/transformers.min.js"
}