246 lines
7.7 KiB
JSON
246 lines
7.7 KiB
JSON
|
{
|
||
|
"name": "frontend",
|
||
|
"version": "1.0.0",
|
||
|
"description": "",
|
||
|
"main": "webpack.config.js",
|
||
|
"scripts": {
|
||
|
"i18n:generate-hash": "node ./i18-generate-hash.js",
|
||
|
"dev": "npm run i18n:generate-hash && cross-env NODE_ENV=development webpack serve --progress",
|
||
|
"build": "npm run i18n:generate-hash && webpack --config=webpack.config.prod.js --progress",
|
||
|
"prettify": "prettier --write .",
|
||
|
"lint": "npm run i18n:generate-hash && eslint ./src",
|
||
|
"lint:fix": "npm run i18n:generate-hash && eslint ./src --fix",
|
||
|
"jest": "jest",
|
||
|
"jest:coverage": "jest --coverage",
|
||
|
"jest:watch": "jest --watch",
|
||
|
"postinstall": "is-ci || yarn husky:configure",
|
||
|
"playwright": "npm run i18n:generate-hash && NODE_ENV=testing playwright test --config=./playwright.config.ts",
|
||
|
"playwright:local:debug": "PWDEBUG=console yarn playwright --headed --browser=chromium",
|
||
|
"playwright:codegen:local": "playwright codegen http://localhost:3301",
|
||
|
"playwright:codegen:local:auth": "yarn playwright:codegen:local --load-storage=tests/auth.json",
|
||
|
"husky:configure": "cd .. && husky install frontend/.husky && cd frontend && chmod ug+x .husky/*",
|
||
|
"commitlint": "commitlint --edit $1",
|
||
|
"test": "jest --coverage",
|
||
|
"test:changedsince": "jest --changedSince=develop --coverage --silent"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">=16.15.0"
|
||
|
},
|
||
|
"author": "",
|
||
|
"license": "ISC",
|
||
|
"dependencies": {
|
||
|
"@ant-design/colors": "6.0.0",
|
||
|
"@ant-design/icons": "4.8.0",
|
||
|
"@dnd-kit/core": "6.1.0",
|
||
|
"@dnd-kit/modifiers": "7.0.0",
|
||
|
"@dnd-kit/sortable": "8.0.0",
|
||
|
"@grafana/data": "^9.5.2",
|
||
|
"@mdx-js/loader": "2.3.0",
|
||
|
"@mdx-js/react": "2.3.0",
|
||
|
"@monaco-editor/react": "^4.3.1",
|
||
|
"@radix-ui/react-tabs": "1.0.4",
|
||
|
"@radix-ui/react-tooltip": "1.0.7",
|
||
|
"@sentry/react": "7.102.1",
|
||
|
"@sentry/webpack-plugin": "2.16.0",
|
||
|
"@signozhq/design-tokens": "0.0.8",
|
||
|
"@uiw/react-md-editor": "3.23.5",
|
||
|
"@visx/group": "3.3.0",
|
||
|
"@visx/shape": "3.5.0",
|
||
|
"@visx/tooltip": "3.3.0",
|
||
|
"@xstate/react": "^3.0.0",
|
||
|
"ansi-to-html": "0.7.2",
|
||
|
"antd": "5.11.0",
|
||
|
"antd-table-saveas-excel": "2.2.1",
|
||
|
"axios": "1.6.4",
|
||
|
"babel-eslint": "^10.1.0",
|
||
|
"babel-jest": "^29.6.4",
|
||
|
"babel-loader": "9.1.3",
|
||
|
"babel-plugin-named-asset-import": "^0.3.7",
|
||
|
"babel-preset-minify": "^0.5.1",
|
||
|
"babel-preset-react-app": "^10.0.1",
|
||
|
"chart.js": "3.9.1",
|
||
|
"chartjs-adapter-date-fns": "^2.0.0",
|
||
|
"chartjs-plugin-annotation": "^1.4.0",
|
||
|
"classnames": "2.3.2",
|
||
|
"color": "^4.2.1",
|
||
|
"color-alpha": "1.1.3",
|
||
|
"cross-env": "^7.0.3",
|
||
|
"css-loader": "5.0.0",
|
||
|
"css-minimizer-webpack-plugin": "5.0.1",
|
||
|
"dayjs": "^1.10.7",
|
||
|
"dompurify": "3.0.0",
|
||
|
"dotenv": "8.2.0",
|
||
|
"event-source-polyfill": "1.0.31",
|
||
|
"eventemitter3": "5.0.1",
|
||
|
"file-loader": "6.1.1",
|
||
|
"fontfaceobserver": "2.3.0",
|
||
|
"history": "4.10.1",
|
||
|
"html-webpack-plugin": "5.5.0",
|
||
|
"http-proxy-middleware": "2.0.6",
|
||
|
"i18next": "^21.6.12",
|
||
|
"i18next-browser-languagedetector": "^6.1.3",
|
||
|
"i18next-http-backend": "^1.3.2",
|
||
|
"jest": "^27.5.1",
|
||
|
"js-base64": "^3.7.2",
|
||
|
"less": "^4.1.2",
|
||
|
"less-loader": "^10.2.0",
|
||
|
"lodash-es": "^4.17.21",
|
||
|
"lucide-react": "0.379.0",
|
||
|
"mini-css-extract-plugin": "2.4.5",
|
||
|
"papaparse": "5.4.1",
|
||
|
"posthog-js": "1.142.1",
|
||
|
"rc-tween-one": "3.0.6",
|
||
|
"react": "18.2.0",
|
||
|
"react-addons-update": "15.6.3",
|
||
|
"react-beautiful-dnd": "13.1.1",
|
||
|
"react-dnd": "16.0.1",
|
||
|
"react-dnd-html5-backend": "16.0.1",
|
||
|
"react-dom": "18.2.0",
|
||
|
"react-drag-listview": "2.0.0",
|
||
|
"react-error-boundary": "4.0.11",
|
||
|
"react-force-graph": "^1.43.0",
|
||
|
"react-full-screen": "1.1.1",
|
||
|
"react-grid-layout": "^1.3.4",
|
||
|
"react-helmet-async": "1.3.0",
|
||
|
"react-i18next": "^11.16.1",
|
||
|
"react-markdown": "8.0.7",
|
||
|
"react-query": "3.39.3",
|
||
|
"react-redux": "^7.2.2",
|
||
|
"react-router-dom": "^5.2.0",
|
||
|
"react-syntax-highlighter": "15.5.0",
|
||
|
"react-use": "^17.3.2",
|
||
|
"react-virtuoso": "4.0.3",
|
||
|
"overlayscrollbars-react": "^0.5.6",
|
||
|
"overlayscrollbars": "^2.8.1",
|
||
|
"redux": "^4.0.5",
|
||
|
"redux-thunk": "^2.3.0",
|
||
|
"rehype-raw": "7.0.0",
|
||
|
"stream": "^0.0.2",
|
||
|
"style-loader": "1.3.0",
|
||
|
"styled-components": "^5.3.11",
|
||
|
"terser-webpack-plugin": "^5.2.5",
|
||
|
"timestamp-nano": "^1.0.0",
|
||
|
"ts-node": "^10.2.1",
|
||
|
"tsconfig-paths-webpack-plugin": "^3.5.1",
|
||
|
"typescript": "^4.0.5",
|
||
|
"uplot": "1.6.26",
|
||
|
"uuid": "^8.3.2",
|
||
|
"web-vitals": "^0.2.4",
|
||
|
"webpack": "5.88.2",
|
||
|
"webpack-dev-server": "^4.15.1",
|
||
|
"webpack-retry-chunk-load-plugin": "3.1.1",
|
||
|
"xstate": "^4.31.0"
|
||
|
},
|
||
|
"browserslist": {
|
||
|
"production": [
|
||
|
">0.2%",
|
||
|
"not dead",
|
||
|
"not op_mini all"
|
||
|
],
|
||
|
"development": [
|
||
|
"last 1 chrome version",
|
||
|
"last 1 firefox version",
|
||
|
"last 1 safari version"
|
||
|
]
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@babel/core": "^7.22.11",
|
||
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
||
|
"@babel/plugin-syntax-jsx": "^7.12.13",
|
||
|
"@babel/preset-env": "^7.22.14",
|
||
|
"@babel/preset-react": "^7.12.13",
|
||
|
"@babel/preset-typescript": "^7.21.4",
|
||
|
"@commitlint/cli": "^16.3.0",
|
||
|
"@commitlint/config-conventional": "^16.2.4",
|
||
|
"@jest/globals": "^27.5.1",
|
||
|
"@playwright/test": "^1.22.0",
|
||
|
"@testing-library/jest-dom": "5.16.5",
|
||
|
"@testing-library/react": "13.4.0",
|
||
|
"@testing-library/user-event": "14.4.3",
|
||
|
"@types/color": "^3.0.3",
|
||
|
"@types/compression-webpack-plugin": "^9.0.0",
|
||
|
"@types/copy-webpack-plugin": "^8.0.1",
|
||
|
"@types/dompurify": "^2.4.0",
|
||
|
"@types/event-source-polyfill": "^1.0.0",
|
||
|
"@types/fontfaceobserver": "2.1.0",
|
||
|
"@types/jest": "^27.5.1",
|
||
|
"@types/lodash-es": "^4.17.4",
|
||
|
"@types/mini-css-extract-plugin": "^2.5.1",
|
||
|
"@types/node": "^16.10.3",
|
||
|
"@types/papaparse": "5.3.7",
|
||
|
"@types/react": "18.0.26",
|
||
|
"@types/react-addons-update": "0.14.21",
|
||
|
"@types/react-beautiful-dnd": "13.1.8",
|
||
|
"@types/react-dom": "18.0.10",
|
||
|
"@types/react-grid-layout": "^1.1.2",
|
||
|
"@types/react-helmet-async": "1.0.3",
|
||
|
"@types/react-redux": "^7.1.11",
|
||
|
"@types/react-resizable": "3.0.3",
|
||
|
"@types/react-router-dom": "^5.1.6",
|
||
|
"@types/react-syntax-highlighter": "15.5.7",
|
||
|
"@types/redux-mock-store": "1.0.4",
|
||
|
"@types/styled-components": "^5.1.4",
|
||
|
"@types/uuid": "^8.3.1",
|
||
|
"@types/webpack": "^5.28.0",
|
||
|
"@types/webpack-dev-server": "^4.7.2",
|
||
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
||
|
"@typescript-eslint/parser": "^4.33.0",
|
||
|
"autoprefixer": "10.4.19",
|
||
|
"babel-plugin-styled-components": "^1.12.0",
|
||
|
"compression-webpack-plugin": "9.0.0",
|
||
|
"copy-webpack-plugin": "^8.1.0",
|
||
|
"critters-webpack-plugin": "^3.0.1",
|
||
|
"eslint": "^7.32.0",
|
||
|
"eslint-config-airbnb": "^19.0.4",
|
||
|
"eslint-config-airbnb-typescript": "^16.1.4",
|
||
|
"eslint-config-prettier": "^8.3.0",
|
||
|
"eslint-config-standard": "^16.0.3",
|
||
|
"eslint-plugin-import": "^2.28.1",
|
||
|
"eslint-plugin-jest": "^26.9.0",
|
||
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
||
|
"eslint-plugin-node": "^11.1.0",
|
||
|
"eslint-plugin-prettier": "^4.0.0",
|
||
|
"eslint-plugin-promise": "^5.1.0",
|
||
|
"eslint-plugin-react": "^7.24.0",
|
||
|
"eslint-plugin-react-hooks": "^4.3.0",
|
||
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
||
|
"eslint-plugin-sonarjs": "^0.12.0",
|
||
|
"husky": "^7.0.4",
|
||
|
"is-ci": "^3.0.1",
|
||
|
"jest-playwright-preset": "^1.7.2",
|
||
|
"jest-styled-components": "^7.0.8",
|
||
|
"lint-staged": "^12.5.0",
|
||
|
"msw": "1.3.2",
|
||
|
"npm-run-all": "latest",
|
||
|
"portfinder-sync": "^0.0.2",
|
||
|
"postcss": "8.4.38",
|
||
|
"prettier": "2.2.1",
|
||
|
"raw-loader": "4.0.2",
|
||
|
"react-hooks-testing-library": "0.6.0",
|
||
|
"react-hot-loader": "^4.13.0",
|
||
|
"react-resizable": "3.0.4",
|
||
|
"redux-mock-store": "1.5.4",
|
||
|
"sass": "1.66.1",
|
||
|
"sass-loader": "13.3.2",
|
||
|
"ts-jest": "^27.1.5",
|
||
|
"ts-node": "^10.2.1",
|
||
|
"typescript-plugin-css-modules": "5.0.1",
|
||
|
"webpack-bundle-analyzer": "^4.5.0",
|
||
|
"webpack-cli": "^4.9.2"
|
||
|
},
|
||
|
"lint-staged": {
|
||
|
"*.(js|jsx|ts|tsx)": [
|
||
|
"eslint --fix",
|
||
|
"sh scripts/typecheck-staged.sh"
|
||
|
]
|
||
|
},
|
||
|
"resolutions": {
|
||
|
"@types/react": "18.0.26",
|
||
|
"@types/react-dom": "18.0.10",
|
||
|
"debug": "4.3.4",
|
||
|
"semver": "7.5.4",
|
||
|
"xml2js": "0.5.0",
|
||
|
"phin": "^3.7.1"
|
||
|
}
|
||
|
}
|