2023-03-03 09:14:54 +08:00
|
|
|
{
|
|
|
|
"name": "@xenova/transformers",
|
2024-05-29 22:22:05 +08:00
|
|
|
"version": "2.17.2",
|
2023-05-15 19:32:55 +08:00
|
|
|
"description": "State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!",
|
2023-03-04 05:53:10 +08:00
|
|
|
"main": "./src/transformers.js",
|
2023-04-23 04:03:31 +08:00
|
|
|
"types": "./types/transformers.d.ts",
|
2023-04-14 03:01:44 +08:00
|
|
|
"type": "module",
|
2023-03-03 09:14:54 +08:00
|
|
|
"scripts": {
|
2023-05-08 11:44:25 +08:00
|
|
|
"typegen": "tsc ./src/transformers.js --allowJs --declaration --emitDeclarationOnly --declarationMap --outDir types",
|
2023-03-04 05:53:10 +08:00
|
|
|
"dev": "webpack serve --no-client-overlay",
|
2023-05-14 03:30:33 +08:00
|
|
|
"build": "webpack && npm run typegen",
|
2023-05-31 08:21:15 +08:00
|
|
|
"generate-tests": "python -m tests.generate_tests",
|
2023-11-19 14:06:49 +08:00
|
|
|
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --verbose --maxConcurrency 1",
|
2023-05-14 03:30:33 +08:00
|
|
|
"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"
|
2023-03-03 09:14:54 +08:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/xenova/transformers.js.git"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"transformers",
|
2023-05-20 21:46:44 +08:00
|
|
|
"transformers.js",
|
|
|
|
"huggingface",
|
|
|
|
"hugging face",
|
|
|
|
"machine learning",
|
|
|
|
"deep learning",
|
|
|
|
"artificial intelligence",
|
|
|
|
"AI",
|
|
|
|
"ML"
|
2023-03-03 09:14:54 +08:00
|
|
|
],
|
|
|
|
"author": "Xenova",
|
2023-05-16 14:36:48 +08:00
|
|
|
"license": "Apache-2.0",
|
2023-03-03 09:14:54 +08:00
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/xenova/transformers.js/issues"
|
|
|
|
},
|
|
|
|
"homepage": "https://github.com/xenova/transformers.js#readme",
|
|
|
|
"dependencies": {
|
2023-05-29 18:41:52 +08:00
|
|
|
"onnxruntime-web": "1.14.0",
|
2023-12-19 05:22:24 +08:00
|
|
|
"sharp": "^0.32.0",
|
2024-03-20 21:22:01 +08:00
|
|
|
"@huggingface/jinja": "^0.2.2"
|
2023-03-03 09:14:54 +08:00
|
|
|
},
|
2023-03-22 08:08:24 +08:00
|
|
|
"optionalDependencies": {
|
2023-05-29 18:41:52 +08:00
|
|
|
"onnxruntime-node": "1.14.0"
|
2023-03-22 08:08:24 +08:00
|
|
|
},
|
2023-03-03 09:14:54 +08:00
|
|
|
"devDependencies": {
|
2023-05-02 11:12:21 +08:00
|
|
|
"@types/jest": "^29.5.1",
|
2023-04-08 05:31:58 +08:00
|
|
|
"catharsis": "github:xenova/catharsis",
|
2023-03-03 09:14:54 +08:00
|
|
|
"copy-webpack-plugin": "^11.0.0",
|
2023-05-02 11:12:21 +08:00
|
|
|
"jest": "^29.5.0",
|
|
|
|
"jest-environment-node": "^29.5.0",
|
2024-02-06 20:59:51 +08:00
|
|
|
"jsdoc-to-markdown": "^8.0.1",
|
2023-10-25 01:52:24 +08:00
|
|
|
"typescript": "^5.2.2",
|
2023-06-22 05:58:16 +08:00
|
|
|
"wavefile": "^11.0.0",
|
2023-04-25 07:39:28 +08:00
|
|
|
"webpack": "^5.80.0",
|
|
|
|
"webpack-cli": "^5.0.2",
|
|
|
|
"webpack-dev-server": "^4.13.3"
|
2023-03-04 06:12:03 +08:00
|
|
|
},
|
2023-07-10 05:21:43 +08:00
|
|
|
"overrides": {
|
|
|
|
"semver": "^7.5.4",
|
2024-04-11 06:24:51 +08:00
|
|
|
"protobufjs": "^7.2.6"
|
2023-07-10 05:21:43 +08:00
|
|
|
},
|
2023-03-04 06:12:03 +08:00
|
|
|
"files": [
|
|
|
|
"src",
|
|
|
|
"dist",
|
2023-04-23 04:03:31 +08:00
|
|
|
"types",
|
2023-03-04 06:12:03 +08:00
|
|
|
"README.md",
|
|
|
|
"LICENSE"
|
2023-03-04 08:54:57 +08:00
|
|
|
],
|
|
|
|
"browser": {
|
|
|
|
"fs": false,
|
2023-04-16 04:30:49 +08:00
|
|
|
"path": false,
|
2023-04-24 12:06:42 +08:00
|
|
|
"url": false,
|
2023-04-25 07:40:07 +08:00
|
|
|
"sharp": false,
|
2024-05-21 00:05:48 +08:00
|
|
|
"onnxruntime-node": false
|
2023-05-15 19:37:37 +08:00
|
|
|
},
|
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
2023-05-16 00:44:08 +08:00
|
|
|
},
|
2023-05-16 02:10:41 +08:00
|
|
|
"jsdelivr": "./dist/transformers.min.js",
|
2023-05-16 00:44:08 +08:00
|
|
|
"unpkg": "./dist/transformers.min.js"
|
2023-05-29 18:41:52 +08:00
|
|
|
}
|