mattermost/webapp/package.json
Harrison Healey c89450e2cf
Update to Jest 30 (#34011)
* Unify version of Jest in subpackages

* Upgrade @types/jest

* Update jest and jest-watch-typeahead

* Add nock and node-fetch to client package

* Update snapshots for new version of Jest

* Replace renamed test assertions

* Update more snapshots

* Update type definitions to fix dependency install issues

* Re-add --coverage to CI tests

* Revert "Re-add --coverage to CI tests"

This reverts commit b59a66eb09.

* Update snapshots in components package

* Remove nock.disableNetConnect from Client4 tests

* Standardize how we mock fetch in different test environments

* Add --forceExit and --verbose to test-ci

* Try --no-watchAll?
2025-11-12 18:05:50 +00:00

91 lines
2.7 KiB
JSON

{
"name": "@mattermost/webapp",
"private": true,
"engines": {
"node": ">=18.10.0",
"npm": "^9.0.0 || ^10.0.0"
},
"scripts": {
"postinstall": "patch-package && npm run build --workspace=platform/types --workspace=platform/client --workspace=platform/components",
"build": "node scripts/build.mjs",
"run": "node scripts/run.mjs",
"dev-server": "node scripts/dev-server.mjs",
"test": "npm run test --workspaces --if-present",
"test:updatesnapshot": "npm run test:updatesnapshot --workspaces --if-present",
"test-ci": "npm run test-ci --workspaces --if-present",
"check": "npm run check --workspaces --if-present",
"fix": "npm run fix --workspaces --if-present",
"check-types": "npm run check-types --workspaces --if-present",
"clean": "npm run clean --workspaces --if-present",
"gen-lang-imports": "node scripts/gen_lang_imports.mjs"
},
"dependencies": {
"@mattermost/compass-icons": "0.1.52",
"typescript": "5.6.3"
},
"devDependencies": {
"@babel/core": "7.22.0",
"@babel/preset-env": "7.21.5",
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "7.21.5",
"@types/node": "20.19.18",
"babel-loader": "9.1.2",
"babel-plugin-formatjs": "10.5.1",
"babel-plugin-typescript-to-proptypes": "2.1.0",
"blessed": "0.1.81",
"chalk": "5.3.0",
"concurrently": "9.0.1",
"cross-env": "7.0.3",
"css-loader": "6.7.3",
"eslint": "8.57.0",
"eslint-import-resolver-webpack": "0.13.8",
"eslint-plugin-formatjs": "4.12.2",
"eslint-plugin-react": "7.34.0",
"eslint-plugin-react-hooks": "4.6.0",
"mini-css-extract-plugin": "2.7.5",
"patch-package": "8.0.0",
"sass": "1.80.5",
"sass-loader": "16.0.2",
"strip-ansi": "7.1.0",
"style-loader": "4.0.0",
"typescript-eslint-language-service": "5.0.5",
"webpack": "5.95.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.1.0"
},
"overrides": {
"@deanwhillier/jest-matchmedia-mock": {
"jest": "30.1.3"
},
"@giphy/react-components": {
"styled-components": "5.3.6"
},
"@types/redux-mock-store": {
"redux": "5.0.1"
},
"braces": "3.0.3",
"cheerio": "1.0.0-rc.12",
"@testing-library/dom": {
"dom-accessibility-api": "0.6.3"
},
"@testing-library/jest-dom": {
"dom-accessibility-api": "0.6.3"
},
"@types/estree": "0.0.51",
"asn1.js": "5.4.1",
"react-beautiful-dnd": {
"react-redux": "9.2.0"
},
"redux-persist": {
"redux": "5.0.1"
}
},
"workspaces": [
"channels",
"platform/client",
"platform/components",
"platform/eslint-plugin",
"platform/mattermost-redux",
"platform/types"
]
}