onnxruntime/js/node/package.json
Yulong Wang 009f342caf
[JS] refactor Javascript/Typescript libraries in ONNX Runtime (#7308)
* working on re-organizing js code for ortweb

* remove dup files

* move folder

* fix common references

* fix common es5

* add webpack to common

* split interfact/impl

* use cjs for node

* add npmignore for common

* update sourcemap config for common

* update node

* adjust folder/path in CI and build

* update folder

* nit: readme

* add bundle for dev

* correct nodejs paths

* enable ORT_API_MANUAL_INIT

* set name for umd library

* correct name for commonjs export

* add priority into registerBackend()

* fix npm ci pwd

* update eslintrc

* revise code

* revert package-lock lockfileVersion 2->1

* update prebuild

* resolve comments

* update document

* revise eslint config

* update eslint for typescript rules

* revert changes by mistake in backend.ts

* add env

* resolve comments
2021-04-16 01:33:10 -07:00

66 lines
1.8 KiB
JSON

{
"binary": {
"module_path": "./bin",
"host": "https://onnxruntimetestdata.blob.core.windows.net/onnxruntime-node-prebuild/",
"napi_versions": [
3
]
},
"license": "MIT",
"name": "onnxruntime",
"repository": {
"url": "https://github.com/Microsoft/onnxruntime.git",
"type": "git"
},
"author": "fs-eire",
"version": "1.7.0",
"dependencies": {
"onnxruntime-common": "file:../common",
"prebuild-install": "^6.0.1"
},
"scripts": {
"build": "tsc && node ./script/build",
"buildd": "tsc && node ./script/build --config=Debug",
"buildr": "tsc && node ./script/build --config=RelWithDebInfo",
"rebuild": "tsc && node ./script/build --rebuild",
"rebuildd": "tsc && node ./script/build --rebuild --config=Debug",
"rebuildr": "tsc && node ./script/build --rebuild --config=RelWithDebInfo",
"install": "prebuild-install -r napi || (tsc && node ./script/build)",
"prepare": "tsc",
"test": "mocha ./test/test-main",
"prepack": "node ./script/prepack"
},
"keywords": [
"ONNX",
"ONNX Runtime"
],
"devDependencies": {
"@types/fs-extra": "^9.0.6",
"@types/klaw-sync": "^6.0.0",
"@types/minimist": "1.2.1",
"@types/mocha": "^8.2.2",
"@types/node": "^14.14.37",
"@types/tar-stream": "^2.2.0",
"cmake-js": "^6.1.0",
"fs-extra": "^9.1.0",
"globby": "^11.0.2",
"jsonc": "^2.0.0",
"klaw-sync": "^6.0.0",
"minimist": "^1.2.5",
"mocha": "^8.2.1",
"node-addon-api": "^3.1.0",
"node-pre-gyp-github": "^1.4.3",
"onnx-proto": "^4.0.4",
"tar-stream": "^2.2.0",
"typedoc": "^0.20.25",
"typescript": "^4.1.3"
},
"main": "./lib/index.js",
"os": [
"win32",
"darwin",
"linux"
],
"types": "./types/lib/index.d.ts",
"description": "Node.js binding of ONNXRuntime"
}