mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-16 21:00:14 +00:00
### Description update versions of a few build dependencies for onnxruntime NPM packages. update nodejs version to v16.x in linux CI. v12 is too out-of-dated. see [nodejs release schedule](https://github.com/nodejs/release#release-schedule) ### Motivation and Context - upgrade to latest webpack allows using of latest Node.js LTS version. previous version of webpack does not work on Node.js v18 and it is fixed in latest version - upgrade to latest typescript, ts-loader and other dev deps to accelerate the build and bundling. - upgrade also helps to resolve security warnings that may be vulnerable in out-of-dated version
26 lines
984 B
JSON
26 lines
984 B
JSON
{
|
|
"devDependencies": {
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/npmlog": "^4.1.4",
|
|
"@typescript-eslint/eslint-plugin": "^4.22.1",
|
|
"@typescript-eslint/parser": "^4.22.1",
|
|
"clang-format": "^1.5.0",
|
|
"dir-compare": "^4.0.0",
|
|
"eslint": "^7.25.0",
|
|
"eslint-plugin-header": "^3.1.1",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"eslint-plugin-jsdoc": "^33.1.0",
|
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
"eslint-plugin-unicorn": "^31.0.0",
|
|
"fs-extra": "^10.1.0",
|
|
"jszip": "^3.10.0",
|
|
"npmlog": "^6.0.2",
|
|
"typescript": "^4.9.4"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint . --ext .ts --ext .tsx",
|
|
"format": "clang-format --glob=\"{scripts/**/*.ts,common/lib/**/*.ts,node/{lib,script,test}/**/*.ts,node/src/**/*.{cc,h},web/{lib,script,test}/**/*.ts,react_native/{android,example,ios,lib}/**/*.{ts,mm,java}}\" --style=file -i",
|
|
"prepare-node-tests": "tsc --build scripts && node ./scripts/prepare-onnx-node-tests"
|
|
},
|
|
"license": "MIT"
|
|
}
|