onnxruntime/js/package.json
jzm-intel 374022e988
JSEP: Use global-agent in scripts to enable using network proxy (#22537)
This PR add dependency to the global-agent package, and use it in JSEP
scripts that download files from network (i.e. `js/scripts/utils.ts` and
`js/web/script/pull-prebuilt-wasm-artifacts.ts`), so that user can make
these script use network proxy by setting environment variable
GLOBAL_AGENT_HTTPS_PROXY.
2024-10-24 16:27:11 -07:00

37 lines
1.1 KiB
JSON

{
"devDependencies": {
"@types/fs-extra": "^11.0.2",
"@types/global-agent": "^2.1.3",
"@types/mocha": "^10.0.2",
"@types/node": "^18.14.6",
"@types/npmlog": "^4.1.4",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"dir-compare": "^4.2.0",
"esbuild": "^0.19.3",
"esbuild-plugin-polyfill-node": "^0.3.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-unicorn": "^48.0.1",
"fs-extra": "^11.1.1",
"global-agent": "^3.0",
"jszip": "^3.10.1",
"mocha": "^10.2.0",
"npmlog": "^7.0.1",
"prettier": "^3.3.3",
"terser": "^5.31.0",
"typescript": "^5.2.2"
},
"scripts": {
"prepare": "tsc --build scripts",
"lint": "eslint .",
"format": "prettier \"**/*.{json,jsonc,js,mjs,cjs,ts,mts,cts,md}\" --write",
"prepare-node-tests": "node ./scripts/prepare-onnx-node-tests",
"update-version": "node ./scripts/update-version"
},
"license": "MIT"
}