mitmproxy/web/package.json
Matteo Luppi c4a42d4d5c
Improve TypeScript typing across mitmweb (#8238)
* add TypeScript definitions for lodash, qrcode, and react-dom

* improve typing utils.ts

* Improve typing flow/utils.ts

* Improve typing components/common/

* Improve typing components/contentviews/

* Improve typing Eventlog, FlowTable and FlowView

* Improve typing components/Header/

* Improve typing remaining components

* [autofix.ci] apply automated fixes

* add review changes

* [autofix.ci] apply automated fixes

* add fallback

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-05 16:02:20 +02:00

58 lines
1.9 KiB
JSON

{
"name": "mitmproxy",
"private": true,
"scripts": {
"test": "eslint . && tsc --noEmit && jest --coverage",
"start": "vite",
"prettier": "prettier --write .",
"eslint": "eslint --fix .",
"ci-build-release": "rm -rf ../mitmproxy/tools/web/static && vite build"
},
"dependencies": {
"@codemirror/lang-css": "^6.3.1",
"@codemirror/lang-html": "^6.4.9",
"@codemirror/lang-javascript": "^6.2.3",
"@codemirror/lang-yaml": "^6.1.2",
"@floating-ui/react-dom": "^2.1.2",
"@popperjs/core": "^2.11.8",
"@reduxjs/toolkit": "^2.8.1",
"@types/react": "^19.2.6",
"@uiw/react-codemirror": "^4.23.12",
"classnames": "^2.3.1",
"codemirror": "^6.0.1",
"lodash": "^4.17.21",
"lucide-react": "^1.16.0",
"qrcode": "^1.5.4",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-redux": "^9.2.0"
},
"devDependencies": {
"@eslint/js": "^9.26.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/jest": "^29.5.14",
"@types/lodash": "^4.17.24",
"@types/qrcode": "^1.5.6",
"@types/react-dom": "^19.2.3",
"@types/redux-mock-store": "^1.5.0",
"@vitejs/plugin-react": "^5.1.0",
"babel-plugin-react-compiler": "^1.0.0",
"esbuild-jest": "^0.5.0",
"eslint": "^9.26.0",
"eslint-plugin-react": "^7.37.5",
"globals": "^16.1.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-fetch-mock": "^3.0.3",
"less": "^4.4.2",
"prettier": "^3.5.3",
"redux-mock-store": "^1.5.5",
"through2": "^4.0.2",
"typescript": "^5.8.3",
"typescript-eslint": "^8.32.1",
"vite": "^7.2.2"
}
}