Improvements to NPM package

PiperOrigin-RevId: 487901715
This commit is contained in:
Sebastian Schmidt 2022-11-11 13:20:42 -08:00 committed by Copybara-Service
parent 340d7651af
commit 20a6f15f18

View File

@ -2,16 +2,15 @@
"name": "@mediapipe/tasks-__NAME__", "name": "@mediapipe/tasks-__NAME__",
"version": "__VERSION__", "version": "__VERSION__",
"description": "__DESCRIPTION__", "description": "__DESCRIPTION__",
"main": "__NAME__bundle.js", "main": "__NAME___bundle.js",
"module": "__NAME__bundle.js", "module": "__NAME___bundle.js",
"exports": { "exports": {
".": "./__NAME__bundle.js", ".": "./__NAME___bundle.js",
"./loader": "./wasm/__NAME__wasm_internal.js", "./loader": "./wasm/__NAME___wasm_internal.js",
"./wasm": "./wasm/__NAME__wasm_internal.wasm" "./wasm": "./wasm/__NAME___wasm_internal.wasm"
}, },
"author": "mediapipe@google.com", "author": "mediapipe@google.com",
"license": "Apache-2.0", "license": "Apache-2.0",
"type": "module",
"dependencies": { "dependencies": {
"google-protobuf": "^3.21.2" "google-protobuf": "^3.21.2"
}, },