mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-16 21:00:14 +00:00
* initial commit for Node.js binding * add c++ code * add inference session impl * e2e working * add settings.json * add test data * adjust binding declaration * refine tensor constructor declaration * update tests * enable onnx tests * simply refine readme * refine cpp impl * refine tests * formatting * add linting * move bin folder * fix linux build * manually update test filter list * update C++ API headers: fix crash in release build * make (manually) prebuild work * add test into prepack script * specify prebuild runtime type (N-API) * build.ts: update rebuild and include regex * fix lazy load on electron.js * update dev version, git link and binary host * support session options and run options * bump dev version * update README * add 1 example * move folder * adjust path * update document for examples * rename example 01 * add example 02 * add session option: log severity level * add example 04 * resolve comments * fix typo * remove double guard in header files * add copyright banner * move BUILD outside from README * consume test filter list from onnxruntime
65 lines
1.8 KiB
JSON
65 lines
1.8 KiB
JSON
{
|
|
"name": "onnxruntime",
|
|
"description": "Node.js binding of ONNXRuntime",
|
|
"version": "0.0.1-dev.20200504.1",
|
|
"main": "./lib/index.js",
|
|
"types": "./types/lib/index.d.ts",
|
|
"scripts": {
|
|
"install": "prebuild-install -r napi || (tsc && node ./script/build)",
|
|
"build": "tsc && node ./script/build",
|
|
"buildd": "tsc && node ./script/build --debug",
|
|
"rebuild": "tsc && node ./script/build --rebuild",
|
|
"rebuildd": "tsc && node ./script/build --debug --rebuild",
|
|
"test": "mocha ./test/test-main",
|
|
"lint": "eslint . --ext .ts",
|
|
"prepack": "node ./script/build --prebuild",
|
|
"format": "clang-format --glob=\"{{lib,test,script}/**/*.ts,src/**/*.{cc,h}}\" --style=file -i"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Microsoft/onnxruntime.git"
|
|
},
|
|
"keywords": [
|
|
"ONNX",
|
|
"ONNX Runtime"
|
|
],
|
|
"os": [
|
|
"win32",
|
|
"darwin",
|
|
"linux"
|
|
],
|
|
"binary": {
|
|
"module_path": "./bin",
|
|
"host": "https://onnxruntimetestdata.blob.core.windows.net/onnxruntime-node-prebuild/",
|
|
"napi_versions": [
|
|
3
|
|
]
|
|
},
|
|
"author": "fs-eire",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@types/fs-extra": "^8.1.0",
|
|
"@types/mocha": "^7.0.2",
|
|
"@typescript-eslint/eslint-plugin": "^2.29.0",
|
|
"@typescript-eslint/parser": "^2.29.0",
|
|
"clang-format": "^1.4.0",
|
|
"cmake-js": "^6.1.0",
|
|
"eslint": "^6.8.0",
|
|
"eslint-plugin-import": "^2.20.2",
|
|
"eslint-plugin-jsdoc": "^24.0.0",
|
|
"eslint-plugin-prefer-arrow": "^1.2.0",
|
|
"fs-extra": "^9.0.0",
|
|
"globby": "^11.0.0",
|
|
"jsonc": "^2.0.0",
|
|
"mocha": "^7.1.1",
|
|
"node-addon-api": "^2.0.0",
|
|
"node-pre-gyp-github": "^1.4.3",
|
|
"onnx-proto": "^4.0.4",
|
|
"prebuild": "^10.0.0",
|
|
"typedoc": "^0.17.3",
|
|
"typescript": "^3.8.3"
|
|
},
|
|
"dependencies": {
|
|
"prebuild-install": "^5.3.3"
|
|
}
|
|
}
|