[OV JS] Fix package.json files (#23304) (#23305)

Port of: https://github.com/openvinotoolkit/openvino/pull/23304

### Details:
 - Remove unnecessary run
 - Fix run unit tests command
 - Update min Node.js version in samples
This commit is contained in:
Vishniakov Nikolai 2024-03-08 10:59:59 +01:00 committed by GitHub
parent b97d1fcdbd
commit 80b0130a38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View File

@ -17,12 +17,12 @@
"openvino-node": "file:../../../src/bindings/js/node/"
},
"engines": {
"node": ">=18.16.0"
"node": ">=20.5.1"
}
},
"../../../src/bindings/js/node": {
"name": "openvino-node",
"version": "2024.0.0-14428.dev20240212",
"version": "2024.0.0",
"dev": true,
"hasInstallScript": true,
"license": "Apache-2.0",

View File

@ -14,6 +14,6 @@
"lint": "eslint ."
},
"engines": {
"node": ">=18.16.0"
"node": ">=20.5.1"
}
}

View File

@ -18,9 +18,9 @@
"build": "npm run tsc",
"prepare": "npm run build",
"lint": "eslint .",
"test": "node --test ./tests/",
"test": "node --test",
"tsc": "tsc",
"postinstall": "npm run install_runtime && npm run build",
"postinstall": "npm run install_runtime",
"download_runtime": "node ./scripts/download_runtime.js",
"install_runtime": "npm run download_runtime -- --ignore-if-exists"
},