onnxruntime/js/react_native/package.json
Jian Chen 832a9b26a1
Cjian/1.13 cherry pick round 2 (#13206)
### Description
<!-- Describe your changes. -->

This is the round 2 of cherry-pick into 1.13



### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->

Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>
Co-authored-by: Scott McKay <skottmckay@gmail.com>
Co-authored-by: sfatimar <sahar.fatima@intel.com>
Co-authored-by: shamaksx <shamax.kshirsagar@intel.com>
Co-authored-by: mayavijx <mayax.vijayan@intel.com>
Co-authored-by: pratiksha <pratikshax.bapusaheb.vanse@intel.com>
Co-authored-by: pratiksha <mohsinx.mohammad@intel.com>
Co-authored-by: Sahar Fatima <sfatima.3001@gmail.com>
Co-authored-by: Preetha Veeramalai <preetha.veeramalai@intel.com>
Co-authored-by: nmaajidk <n.maajid.khan@intel.com>
Co-authored-by: Mateusz Tabaka <mateusz.tabaka@intel.com>
Co-authored-by: Baiju Meswani <bmeswani@microsoft.com>
Co-authored-by: Yulong Wang <7679871+fs-eire@users.noreply.github.com>
Co-authored-by: Yufeng Li <liyufeng1987@gmail.com>
Co-authored-by: Ye Wang <52801275+wangyems@users.noreply.github.com>
Co-authored-by: Adam Pocock <adam.pocock@oracle.com>
Co-authored-by: Changming Sun <chasun@microsoft.com>
Co-authored-by: Tianlei Wu <tlwu@microsoft.com>
2022-10-04 16:29:07 -04:00

103 lines
2.9 KiB
JSON

{
"react-native": "lib/index",
"module": "dist/module/index",
"jest": {
"modulePathIgnorePatterns": [
"<rootDir>/e2e/node_modules",
"<rootDir>/dist/"
],
"preset": "react-native"
},
"keywords": [
"react-native",
"ios",
"android",
"ONNX",
"ONNXRuntime",
"ONNX Runtime"
],
"devDependencies": {
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.4.0",
"@types/react": "^18.0.9",
"@types/react-native": "^0.67.7",
"jest": "^27.4.7",
"pod-install": "^0.1.36",
"prettier": "^2.6.2",
"react": "^18.1.0",
"react-native": "^0.69.1",
"react-native-builder-bob": "^0.18.2",
"typescript": "^4.5.5"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"author": "ONNX Runtime",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"source": "lib/index",
"version": "1.13.0",
"main": "dist/commonjs/index",
"homepage": "https://github.com/microsoft/onnxruntime/blob/main/js/react_native/README.md",
"files": [
"lib",
"dist",
"android",
"ios/*.h",
"ios/*.mm",
"onnxruntime-react-native.podspec",
"app.plugin.js",
"unimodule.json",
"!dist/commonjs/*.js.map",
"!dist/module/*.js.map",
"!android/.gitignore",
"!android/.idea",
"!android/build",
"!android/gradlew",
"!android/gradlew.bat",
"!android/gradle/wrapper/*.jar",
"!android/libs"
],
"description": "ONNX Runtime bridge for react native",
"repository": "https://github.com/Microsoft/onnxruntime.git",
"react-native-builder-bob": {
"source": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
],
"output": "dist"
},
"dependencies": {
"@expo/config-plugins": "^4.1.5",
"buffer": "^6.0.3",
"onnxruntime-common": "file:../common"
},
"scripts": {
"typescript": "tsc --noEmit",
"prepare": "bob build",
"bootstrap": "yarn pack-common && yarn unpack-common && yarn pack-libs && yarn unpack-libs && yarn e2e && yarn pods",
"test": "jest",
"pack-common": "cd ../common && npm pack && mv -f onnxruntime-common-*.tgz ../react_native/e2e/onnxruntime-common.tgz",
"unpack-common": "cd e2e && yarn add --no-lockfile file:./onnxruntime-common.tgz",
"pack-libs": "npm pack --ort-js-pack-mode=e2e && mv -f onnxruntime-react-native-*.tgz e2e/onnxruntime-react-native.tgz",
"unpack-libs": "cd e2e && yarn add --no-lockfile file:./onnxruntime-react-native.tgz",
"prepack": "tsc --build ./tsconfig.scripts.json && node ./scripts/prepack",
"pods": "cd e2e && pod-install --quiet",
"e2e": "yarn --cwd e2e"
},
"types": "dist/typescript/index.d.ts",
"name": "onnxruntime-react-native",
"license": "MIT",
"bugs": {
"url": "https://github.com/Microsoft/onnxruntime/issues"
}
}