onnxruntime-react-native
v1.18.0-dev.20240430-204f1f59b9 react-native ios android ONNX ONNXRuntime ONNX Runtime
e2e
yarn --cwd e2e
pods
cd e2e && pod-install --quiet
test
jest
prepack
tsc --build ./tsconfig.scripts.json && node ./scripts/prepack
prepare
bob build
bootstrap
yarn pack-common && yarn unpack-common && yarn pack-libs && yarn unpack-libs && yarn e2e && yarn pods
pack-libs
npm pack --ort-js-pack-mode=e2e && mv -f onnxruntime-react-native-*.tgz e2e/onnxruntime-react-native.tgz
typescript
tsc --noEmit
pack-common
cd ../common && npm pack && mv -f onnxruntime-common-*.tgz ../react_native/e2e/onnxruntime-common.tgz
unpack-libs
cd e2e && yarn add --no-lockfile file:./onnxruntime-react-native.tgz
unpack-common
cd e2e && yarn add --no-lockfile file:./onnxruntime-common.tgz