Files
mostlymatter/webapp/playbooks/package.json
M-ZubairAhmed 5c8880321f MM-51975 : Standardise Formatjs config for Playbooks & Boards (#22948)
Added Formatjs's built-in formatter called "simple". With this change, the intermediate Formatjs compile step is removed. Additionally, the npm command for Playbooks was standardised by replacing "extract" with "i18n-extract" to ensure consistency across all products.
2023-04-16 13:23:36 +05:30

136 строки
5.1 KiB
JSON

{
"name": "playbooks",
"private": true,
"version": "7.9.1",
"dependencies": {
"@apollo/client": "3.7.3",
"@floating-ui/react-dom-interactions": "0.6.3",
"@mattermost/client": "*",
"@mattermost/compass-icons": "0.1.32",
"@mattermost/types": "*",
"@mdi/js": "^6.5.95",
"@mdi/react": "1.5.0",
"@tippyjs/react": "4.2.6",
"chart.js": "3.8.2",
"chartjs-plugin-annotation": "2.1.2",
"chrono-node": "2.3.5",
"core-js": "3.20.2",
"debounce": "1.2.1",
"graphql": "16.3.0",
"js-trim-multiline-string": "^1.0.8",
"lodash": "4.17.21",
"luxon": "2.3.1",
"mattermost-webapp": "*",
"parse-duration": "1.0.2",
"qs": "6.10.2",
"react": "^17.0.2",
"react-chartjs-2": "4.3.1",
"react-dom": "^17.0.2",
"react-infinite-scroll-component": "^6.1.0",
"react-infinite-scroller": "1.2.6",
"react-intl": "*",
"react-redux": "7.2.6",
"react-router-dom": "5.3.4",
"react-router-hash-link": "2.4.3",
"react-select": "4.3.1",
"react-use": "17.3.2",
"redux": "4.1.2",
"styled-components": "5.3.3",
"typescript": "4.7.4"
},
"devDependencies": {
"@babel/core": "7.16.7",
"@babel/plugin-proposal-class-properties": "7.16.7",
"@babel/plugin-proposal-object-rest-spread": "7.16.7",
"@babel/plugin-proposal-optional-chaining": "7.16.7",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/preset-env": "7.16.7",
"@babel/preset-react": "7.16.7",
"@babel/preset-typescript": "7.16.7",
"@formatjs/cli": "4.7.0",
"@graphql-codegen/cli": "2.16.3",
"@graphql-codegen/client-preset": "1.2.5",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
"@testing-library/react-hooks": "8.0.0",
"@types/debounce": "1.2.1",
"@types/history": "4.7.8",
"@types/jest": "27.4.0",
"@types/lodash": "4.14.178",
"@types/luxon": "2.0.9",
"@types/qs": "6.9.7",
"@types/react": "^17.0.2",
"@types/react-beautiful-dnd": "13.1.2",
"@types/react-bootstrap": "1.0.1",
"@types/react-custom-scrollbars": "4.0.10",
"@types/react-dom": "^17.0.2",
"@types/react-infinite-scroller": "1.2.3",
"@types/react-redux": "7.1.21",
"@types/react-router-dom": "5.3.3",
"@types/react-router-hash-link": "2.4.5",
"@types/react-select": "3.1.2",
"@types/react-test-renderer": "17.0.1",
"@types/redux-mock-store": "1.0.3",
"@types/shallow-equals": "1.0.0",
"@types/styled-components": "5.1.19",
"@typescript-eslint/eslint-plugin": "5.57.1",
"@typescript-eslint/parser": "5.57.1",
"@webpack-cli/serve": "1.6.0",
"babel-eslint": "10.1.0",
"babel-jest": "27.4.6",
"babel-loader": "8.2.3",
"babel-plugin-add-react-displayname": "0.0.5",
"babel-plugin-formatjs": "10.3.14",
"babel-plugin-styled-components": "2.0.2",
"babel-plugin-typescript-to-proptypes": "2.0.0",
"classnames": "2.3.1",
"css-loader": "6.5.1",
"eslint-import-resolver-webpack": "0.13.2",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-import-newlines": "1.3.0",
"eslint-plugin-no-relative-import-paths": "1.5.0",
"eslint-plugin-react": "7.28.0",
"eslint-plugin-react-hooks": "4.3.0",
"eslint-plugin-unused-imports": "2.0.0",
"file-loader": "^6.2.0",
"identity-obj-proxy": "3.0.0",
"jest": "27.4.7",
"jest-canvas-mock": "2.3.1",
"jest-junit": "13.0.0",
"react-beautiful-dnd": "13.1.0",
"react-bootstrap": "1.6.1",
"react-refresh": "0.11.0",
"react-test-renderer": "17.0.2",
"redux-mock-store": "1.5.4",
"redux-thunk": "2.4.1",
"sass": "1.46.0",
"sass-loader": "12.4.0",
"style-loader": "3.3.1",
"ts-prune": "0.10.3",
"webpack": "5.65.0",
"webpack-cli": "4.9.1",
"webpack-dev-server": "4.7.2"
},
"scripts": {
"build": "webpack --mode=production --stats-error-details",
"build:watch": "webpack --mode=production --watch",
"debug": "webpack --mode=development",
"debug:watch": "webpack --mode=development --watch",
"dev-server": "webpack serve --mode=development",
"check": "eslint --ignore-pattern node_modules --ignore-pattern dist --ext .js --ext .jsx --ext tsx --ext ts . --quiet --cache",
"fix": "eslint --ignore-pattern node_modules --ignore-pattern dist --ext .js --ext .jsx --ext tsx --ext ts . --quiet --fix --cache",
"test": "cross-env TZ=Etc/UTC jest",
"test:watch": "cross-env TZ=Etc/UTC jest --watch",
"test:updatesnapshot": "cross-env TZ=Etc/UTC jest --updateSnapshot",
"test:debug": "cross-env TZ=Etc/UTC jest --forceExit --detectOpenHandles --verbose",
"test-ci": "cross-env TZ=Etc/UTC jest --ci --maxWorkers=100%",
"check-types": "tsc -b",
"i18n-extract": "formatjs extract \"src/**/*.{ts,tsx}\" --ignore \"**/*.d.ts\" --id-interpolation-pattern '[sha512:contenthash:base64:6]' --format simple --out-file i18n/en.json",
"graphql": "graphql-codegen --config graphql_gen.ts",
"report-unused-exports": "ts-prune",
"build:product": "webpack --mode=production",
"start:product": "webpack serve --mode=development",
"deploy:product": "node scripts/deploy.js",
"clean": "rm -rf node_modules"
}
}