mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 10:50:37 -06:00
8d3b31ff23
* build(webpack): bump to v5 and successful yarn start compilation * build(webpack): update postcss dependencies * build(webpack): silence warnings about hash renamed to fullhash * build(webpack): enable persistent cache to store generated webpack modules / chunks * build(webpack): prefer eslintWebpackPlugin over tschecker so eslint doesn't block typechecking * chore(yarn): run yarn-deduplicate to clean up dependencies * chore(yarn): refresh lock file after clean install * build(webpack): prefer output.clean over CleanWebpackPlugin * build(webpack): prefer esbuild over babel-loader for dev config * build(babel): turn off cache compression to improve build performance * build(webpack): get production builds working * build(webpack): remove phantomJS (removed from grafana in v7) specific loader * build(webpack): put back babel for dev builds no performance gain in using esbuild in webpack * build(webpack): prefer terser and optimise css plugins for prod. slower but smaller bundles * build(webpack): clean up redundant code. inform postcss about node_modules * build(webpack): remove deprecation warnings flag * build(webpack): bump packages, dev performance optimisations, attempt to get hot working * chore(storybook): use webpack 5 for dev and production builds * build(storybook): speed up dev build * chore(yarn): refresh lock file * chore(webpack): bump webpack and related deps to latest * refactor(webpack): put back inline-source-map, move start scripts out of grafana toolkit * feat(webpack): prefer react-refresh over react-hot-loader * build(webpack): update webpack.hot to use react-refresh * chore: remove react-hot-loader from codebase * refactor(queryeditorrow): fix circular dependency causing react-fast-refresh errors * revert(webpack): remove stats.errorDetails from common config * build(webpack): bump to v5 and successful yarn start compilation * build(webpack): update postcss dependencies * build(webpack): silence warnings about hash renamed to fullhash * build(webpack): enable persistent cache to store generated webpack modules / chunks * build(webpack): prefer eslintWebpackPlugin over tschecker so eslint doesn't block typechecking * chore(yarn): run yarn-deduplicate to clean up dependencies * chore(yarn): refresh lock file after clean install * build(webpack): prefer output.clean over CleanWebpackPlugin * build(webpack): prefer esbuild over babel-loader for dev config * build(babel): turn off cache compression to improve build performance * build(webpack): get production builds working * build(webpack): remove phantomJS (removed from grafana in v7) specific loader * build(webpack): put back babel for dev builds no performance gain in using esbuild in webpack * build(webpack): prefer terser and optimise css plugins for prod. slower but smaller bundles * build(webpack): clean up redundant code. inform postcss about node_modules * build(webpack): remove deprecation warnings flag * build(webpack): bump packages, dev performance optimisations, attempt to get hot working * chore(storybook): use webpack 5 for dev and production builds * build(storybook): speed up dev build * chore(yarn): refresh lock file * chore(webpack): bump webpack and related deps to latest * refactor(webpack): put back inline-source-map, move start scripts out of grafana toolkit * feat(webpack): prefer react-refresh over react-hot-loader * build(webpack): update webpack.hot to use react-refresh * chore: remove react-hot-loader from codebase * refactor(queryeditorrow): fix circular dependency causing react-fast-refresh errors * revert(webpack): remove stats.errorDetails from common config * revert(webpack): remove include from babel-loader so symlinks (enterprise) work as before * refactor(webpack): fix deprecation warnings in prod builds * fix(storybook): fix failing builds due to replacing css-optimise webpack plugin * fix(storybook): use raw-loader for svg icons * build(webpack): fix dev script colors error * chore(webpack): bump css-loader and react-refresh-webpack-plugin to latest versions Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
135 lines
4.3 KiB
JSON
135 lines
4.3 KiB
JSON
{
|
|
"author": "Grafana Labs",
|
|
"license": "Apache-2.0",
|
|
"name": "@grafana/ui",
|
|
"version": "8.2.0-pre",
|
|
"description": "Grafana Components Library",
|
|
"keywords": [
|
|
"grafana",
|
|
"react",
|
|
"react-component",
|
|
"typescript"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "http://github.com/grafana/grafana.git",
|
|
"directory": "packages/grafana-ui"
|
|
},
|
|
"main": "src/index.ts",
|
|
"scripts": {
|
|
"build": "grafana-toolkit package:build --scope=ui",
|
|
"bundle": "rollup -c rollup.config.ts",
|
|
"clean": "rimraf ./dist ./compiled",
|
|
"docsExtract": "mkdir -p ../../reports/docs && api-extractor run 2>&1 | tee ../../reports/docs/$(basename $(pwd)).log",
|
|
"storybook": "start-storybook -p 9001 -c .storybook -s ../../public/img:public/img,../../public/lib:public/lib",
|
|
"storybook:build": "build-storybook -o ./dist/storybook -c .storybook -s ../../public/img:public/img,../../public/lib:public/lib",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"browserslist": [
|
|
"defaults",
|
|
"not IE 11"
|
|
],
|
|
"dependencies": {
|
|
"@emotion/css": "11.1.3",
|
|
"@emotion/react": "11.1.5",
|
|
"@grafana/aws-sdk": "0.0.3",
|
|
"@grafana/data": "8.2.0-pre",
|
|
"@grafana/e2e-selectors": "8.2.0-pre",
|
|
"@grafana/schema": "8.2.0-pre",
|
|
"@grafana/slate-react": "0.22.10-grafana",
|
|
"@grafana/tsconfig": "^1.0.0-rc1",
|
|
"@monaco-editor/react": "4.1.1",
|
|
"@popperjs/core": "2.5.4",
|
|
"@sentry/browser": "5.25.0",
|
|
"ansicolor": "1.1.95",
|
|
"classnames": "2.2.6",
|
|
"d3": "5.15.0",
|
|
"hoist-non-react-statics": "3.3.2",
|
|
"immutable": "3.8.2",
|
|
"is-hotkey": "0.1.6",
|
|
"jquery": "3.5.1",
|
|
"lodash": "4.17.21",
|
|
"moment": "2.29.1",
|
|
"monaco-editor": "0.21.2",
|
|
"papaparse": "5.3.0",
|
|
"rc-cascader": "1.5.0",
|
|
"rc-drawer": "4.4.0",
|
|
"rc-slider": "9.6.4",
|
|
"rc-time-picker": "^3.7.3",
|
|
"react": "17.0.1",
|
|
"react-beautiful-dnd": "13.1.0",
|
|
"react-calendar": "2.19.2",
|
|
"react-colorful": "5.1.2",
|
|
"react-custom-scrollbars-2": "4.4.0",
|
|
"react-dom": "17.0.1",
|
|
"react-dropzone": "11.3.4",
|
|
"react-highlight-words": "0.17.0",
|
|
"react-hook-form": "7.5.3",
|
|
"react-inlinesvg": "2.3.0",
|
|
"react-popper": "2.2.4",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-select": "4.3.0",
|
|
"react-table": "7.7.0",
|
|
"react-transition-group": "4.4.1",
|
|
"slate": "0.47.8",
|
|
"tinycolor2": "1.4.1",
|
|
"uplot": "1.6.15"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "16.0.0",
|
|
"@rollup/plugin-image": "2.0.5",
|
|
"@rollup/plugin-node-resolve": "10.0.0",
|
|
"@storybook/addon-a11y": "6.3.7",
|
|
"@storybook/addon-essentials": "6.3.7",
|
|
"@storybook/addon-knobs": "6.3.0",
|
|
"@storybook/addon-storysource": "6.3.7",
|
|
"@storybook/react": "6.3.7",
|
|
"@storybook/theming": "6.3.7",
|
|
"@storybook/builder-webpack5": "6.3.7",
|
|
"@storybook/manager-webpack5": "6.3.7",
|
|
"@testing-library/jest-dom": "5.11.9",
|
|
"@types/classnames": "2.2.7",
|
|
"@types/common-tags": "^1.8.0",
|
|
"@types/d3": "5.7.2",
|
|
"@types/hoist-non-react-statics": "3.3.1",
|
|
"@types/is-hotkey": "0.1.1",
|
|
"@types/jest": "26.0.15",
|
|
"@types/jquery": "3.3.38",
|
|
"@types/lodash": "4.14.123",
|
|
"@types/mock-raf": "1.0.2",
|
|
"@types/node": "10.14.1",
|
|
"@types/papaparse": "5.2.0",
|
|
"@types/react": "16.9.9",
|
|
"@types/react-beautiful-dnd": "13.1.1",
|
|
"@types/react-color": "3.0.1",
|
|
"@types/react-router-dom": "^5.1.7",
|
|
"@types/react-select": "4.0.13",
|
|
"@types/react-table": "7.7.2",
|
|
"@types/react-test-renderer": "17.0.1",
|
|
"@types/react-transition-group": "4.4.0",
|
|
"@types/rollup-plugin-visualizer": "2.6.0",
|
|
"@types/slate": "0.47.2",
|
|
"@types/slate-react": "0.22.5",
|
|
"@types/tinycolor2": "1.4.1",
|
|
"common-tags": "^1.8.0",
|
|
"mock-raf": "1.0.1",
|
|
"pretty-format": "25.1.0",
|
|
"react-docgen-typescript-loader": "3.7.2",
|
|
"react-is": "16.8.0",
|
|
"react-test-renderer": "17.0.1",
|
|
"rollup": "2.33.3",
|
|
"rollup-plugin-sourcemaps": "0.6.3",
|
|
"rollup-plugin-terser": "7.0.2",
|
|
"rollup-plugin-typescript2": "0.29.0",
|
|
"rollup-plugin-visualizer": "4.2.0",
|
|
"storybook-dark-mode": "1.0.8",
|
|
"ts-loader": "8.0.11",
|
|
"typescript": "4.3.4",
|
|
"webpack-filter-warnings-plugin": "1.2.1"
|
|
},
|
|
"types": "src/index.ts",
|
|
"volta": {
|
|
"extends": "../../package.json"
|
|
}
|
|
}
|