2021-04-16 08:33:10 +00:00
|
|
|
{
|
|
|
|
|
"devDependencies": {
|
2023-10-11 00:44:39 +00:00
|
|
|
"@types/fs-extra": "^11.0.2",
|
|
|
|
|
"@types/mocha": "^10.0.2",
|
2023-03-22 22:05:04 +00:00
|
|
|
"@types/node": "^18.14.6",
|
2022-07-21 05:01:08 +00:00
|
|
|
"@types/npmlog": "^4.1.4",
|
2023-10-11 00:44:39 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^6.7.4",
|
|
|
|
|
"@typescript-eslint/parser": "^6.7.4",
|
2023-03-22 22:05:04 +00:00
|
|
|
"clang-format": "^1.8.0",
|
2023-10-11 00:44:39 +00:00
|
|
|
"dir-compare": "^4.2.0",
|
2023-10-06 20:37:37 +00:00
|
|
|
"esbuild": "^0.19.3",
|
|
|
|
|
"esbuild-plugin-polyfill-node": "^0.3.0",
|
2023-10-11 00:44:39 +00:00
|
|
|
"eslint": "^8.51.0",
|
2021-05-03 22:03:25 +00:00
|
|
|
"eslint-plugin-header": "^3.1.1",
|
2023-10-11 00:44:39 +00:00
|
|
|
"eslint-plugin-import": "^2.28.1",
|
|
|
|
|
"eslint-plugin-jsdoc": "^46.8.2",
|
2021-04-16 08:33:10 +00:00
|
|
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
2023-10-11 00:44:39 +00:00
|
|
|
"eslint-plugin-unicorn": "^48.0.1",
|
|
|
|
|
"fs-extra": "^11.1.1",
|
2023-03-22 22:05:04 +00:00
|
|
|
"jszip": "^3.10.1",
|
2023-07-25 21:37:41 +00:00
|
|
|
"mocha": "^10.2.0",
|
2023-03-22 22:05:04 +00:00
|
|
|
"npmlog": "^7.0.1",
|
2023-10-11 00:44:39 +00:00
|
|
|
"prettier": "^3.0.3",
|
|
|
|
|
"typescript": "^5.2.2"
|
2021-04-16 08:33:10 +00:00
|
|
|
},
|
|
|
|
|
"scripts": {
|
2023-06-09 23:18:53 +00:00
|
|
|
"prepare": "tsc --build scripts",
|
2021-05-11 17:34:40 +00:00
|
|
|
"lint": "eslint . --ext .ts --ext .tsx",
|
2023-07-28 22:46:58 +00:00
|
|
|
"format:ts": "clang-format --glob=\"{scripts/**/*.ts,common/{lib,test}/**/*.ts,node/{lib,script,test}/**/*.ts,web/{lib,script,test}/**/*.ts,react_native/{android,example,ios,lib}/**/*.{ts,tsx}}\" --style=file -i",
|
|
|
|
|
"format:js": "clang-format --glob=\"{{,common,node,web,react_native}/{*,.*}.{,m,c}js,web/test/e2e/**/*.{,m,c}js}\" --style=file -i",
|
|
|
|
|
"format:cf": "clang-format --glob=\"{node/src/**/*.{cc,h},react_native/{android,example,ios,lib}/**/*.{mm,java}}\" --style=file -i",
|
|
|
|
|
"format:json": "prettier \"**/*.{json,jsonc}\" --write",
|
|
|
|
|
"format:md": "prettier \"**/*.md\" --write",
|
|
|
|
|
"format": "npm run format:ts && npm run format:js && npm run format:cf && npm run format:json && npm run format:md",
|
2023-06-09 23:18:53 +00:00
|
|
|
"prepare-node-tests": "node ./scripts/prepare-onnx-node-tests",
|
|
|
|
|
"update-version": "node ./scripts/update-version"
|
2021-05-11 17:34:40 +00:00
|
|
|
},
|
2022-07-21 05:01:08 +00:00
|
|
|
"license": "MIT"
|
2021-04-16 08:33:10 +00:00
|
|
|
}
|