grafana/packages/grafana-ui/package.json

183 lines
5.8 KiB
JSON
Raw Normal View History

2018-12-20 02:25:04 -06:00
{
"author": "Grafana Labs",
"license": "Apache-2.0",
"name": "@grafana/ui",
2022-04-07 07:32:37 -05:00
"version": "9.0.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"
},
2018-12-21 05:27:43 -06:00
"main": "src/index.ts",
2018-12-20 02:25:04 -06:00
"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",
"storybook:build": "build-storybook -o ./dist/storybook -c .storybook",
"typecheck": "tsc --noEmit"
2018-12-20 02:25:04 -06:00
},
Build: Upgrade Webpack 5 (#36444) * 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>
2021-08-31 05:55:05 -05:00
"browserslist": [
"defaults",
"not IE 11"
],
"dependencies": {
"@emotion/css": "11.9.0",
"@emotion/react": "11.9.0",
"@grafana/aws-sdk": "0.0.36",
2022-04-07 07:32:37 -05:00
"@grafana/data": "9.0.0-pre",
"@grafana/e2e-selectors": "9.0.0-pre",
"@grafana/schema": "9.0.0-pre",
2021-05-05 08:22:00 -05:00
"@grafana/slate-react": "0.22.10-grafana",
"@monaco-editor/react": "4.3.1",
"@popperjs/core": "2.11.5",
"@react-aria/button": "3.4.4",
"@react-aria/dialog": "3.1.9",
"@react-aria/focus": "3.5.5",
"@react-aria/menu": "3.4.4",
"@react-aria/overlays": "3.8.2",
"@react-stately/menu": "3.2.7",
"@sentry/browser": "6.19.7",
"ansicolor": "1.1.100",
"calculate-size": "1.1.1",
"classnames": "2.3.1",
"core-js": "3.22.5",
2020-01-07 04:59:11 -06:00
"d3": "5.15.0",
"date-fns": "2.28.0",
"hoist-non-react-statics": "3.3.2",
"immutable": "4.0.0",
"is-hotkey": "0.2.0",
"jquery": "3.6.0",
2021-03-02 03:13:27 -06:00
"lodash": "4.17.21",
"memoize-one": "6.0.0",
"moment": "2.29.3",
"monaco-editor": "^0.31.1",
"ol": "6.14.1",
"prismjs": "1.28.0",
"rc-cascader": "3.5.0",
"rc-drawer": "4.4.3",
"rc-slider": "9.7.5",
"rc-time-picker": "^3.7.3",
"react": "17.0.2",
"react-beautiful-dnd": "13.1.0",
"react-calendar": "3.7.0",
"react-colorful": "5.5.1",
"react-custom-scrollbars-2": "4.4.0",
"react-dom": "17.0.2",
"react-dropzone": "12.0.4",
"react-highlight-words": "0.18.0",
"react-hook-form": "7.5.3",
"react-inlinesvg": "2.3.0",
"react-popper": "2.3.0",
"react-popper-tooltip": "^4.3.1",
"react-router-dom": "^5.2.0",
"react-select": "5.3.2",
"react-select-event": "^5.1.0",
"react-table": "7.8.0",
"react-transition-group": "4.4.2",
"react-use": "17.3.2",
"react-window": "1.8.7",
"rxjs": "7.5.5",
"slate": "0.47.8",
"slate-plain-serializer": "0.7.10",
"tinycolor2": "1.4.2",
"tslib": "2.4.0",
2022-05-03 06:22:14 -05:00
"uplot": "1.6.20",
"uuid": "8.3.2"
},
"devDependencies": {
"@babel/core": "7.17.8",
"@grafana/tsconfig": "^1.2.0-rc1",
"@mdx-js/react": "1.6.22",
"@rollup/plugin-commonjs": "22.0.0",
"@rollup/plugin-node-resolve": "13.3.0",
"@storybook/addon-a11y": "6.4.21",
"@storybook/addon-actions": "6.4.21",
"@storybook/addon-docs": "6.4.21",
"@storybook/addon-essentials": "6.4.21",
"@storybook/addon-knobs": "6.4.0",
"@storybook/addon-storysource": "6.4.21",
"@storybook/addons": "6.4.21",
"@storybook/api": "6.4.21",
"@storybook/builder-webpack5": "6.4.21",
"@storybook/components": "6.4.21",
"@storybook/core-events": "6.4.21",
"@storybook/manager-webpack5": "6.4.21",
"@storybook/react": "6.4.21",
"@storybook/theming": "6.4.21",
"@swc/helpers": "0.3.13",
"@testing-library/dom": "8.13.0",
"@testing-library/jest-dom": "5.16.4",
"@testing-library/react": "12.1.4",
"@testing-library/react-hooks": "8.0.0",
"@testing-library/user-event": "14.2.0",
"@types/classnames": "2.3.0",
"@types/common-tags": "^1.8.0",
"@types/d3": "7.1.0",
"@types/enzyme": "3.10.12",
"@types/enzyme-adapter-react-16": "1.0.6",
"@types/grafana__slate-react": "npm:@types/slate-react@0.22.5",
"@types/hoist-non-react-statics": "3.3.1",
"@types/is-hotkey": "0.1.7",
"@types/jest": "27.4.1",
"@types/jquery": "3.5.14",
"@types/lodash": "4.14.182",
"@types/mock-raf": "1.0.3",
"@types/node": "16.11.36",
"@types/prismjs": "1.26.0",
"@types/react": "17.0.42",
"@types/react-beautiful-dnd": "13.1.2",
"@types/react-calendar": "3.5.1",
"@types/react-color": "3.0.6",
"@types/react-dom": "17.0.14",
"@types/react-router-dom": "5.3.3",
"@types/react-table": "7.7.12",
"@types/react-test-renderer": "17.0.1",
"@types/react-transition-group": "4.4.4",
"@types/react-window": "1.8.5",
"@types/slate": "0.47.2",
"@types/slate-plain-serializer": "0.7.2",
"@types/testing-library__jest-dom": "5.14.3",
"@types/testing-library__react-hooks": "^3.2.0",
"@types/tinycolor2": "1.4.3",
"@types/uuid": "8.3.4",
"@wojtekmaj/enzyme-adapter-react-17": "0.6.7",
"babel-loader": "8.2.5",
"common-tags": "1.8.2",
"css-loader": "6.7.1",
"css-minimizer-webpack-plugin": "4.0.0",
"csstype": "3.1.0",
"enzyme": "3.11.0",
"expose-loader": "4.0.0",
"mock-raf": "1.0.1",
"postcss": "8.4.14",
"postcss-loader": "7.0.0",
"process": "^0.11.10",
"raw-loader": "4.0.2",
Chore: Bump storybook to v6 (#28926) * Wip * feat: get storybook and app building locally * docs: comment webpack react alias * build(grafana-ui): put back ts-loader * build: prefer storybook essentials over actions and docs. bump dark-mode * chore(storybook): migrate to latest config * build: prevent test env throwing Invalid hook call errors * chore: lodash resolves to package dependency rather than project * use decorators as variable instead of function * perf(storybook): reduce bundling time by splitting type check and compilation * refactor(storybook): use sortOrder.order param to sort intro story first * build: use yarn workspace command * refactor(storybook): use previous knobs addon registration * migrate button story to controls * build(storybook): silence warnings in console * build: bump storybook related ts packages * style: remove trailing whitespace * refactor(graphng): export interface for storybook * controls migration guide * fix typo * docs(storybook): default docs to use dark theme as per current implementation * revert(grafana-ui): put back react-is namedExport this was changed for react 17 bump but causes rollup to fail during bundling * chore: bump storybook to 6.1, enable fastRefresh, silence eslint prop-types * docs(grafana-ui): move knobs -> controls migration guide to storybook style-guide * chore(storybook): silence terminal warning about order of docs addon * Update contribute/style-guides/storybook.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * Apply documentation suggestions Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * chore(storybook): bump to 6.1.2 Co-authored-by: Peter Holmberg <peter.hlmbrg@gmail.com> Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2020-11-24 03:38:41 -06:00
"react-docgen-typescript-loader": "3.7.2",
"react-test-renderer": "17.0.2",
"rimraf": "3.0.2",
"rollup": "2.74.1",
"rollup-plugin-sourcemaps": "0.6.3",
"rollup-plugin-svg-import": "^1.6.0",
"rollup-plugin-terser": "7.0.2",
"sass-loader": "13.0.0",
"storybook-dark-mode": "1.1.0",
"style-loader": "3.3.1",
"terser-webpack-plugin": "5.3.1",
Chore: Bump storybook to v6 (#28926) * Wip * feat: get storybook and app building locally * docs: comment webpack react alias * build(grafana-ui): put back ts-loader * build: prefer storybook essentials over actions and docs. bump dark-mode * chore(storybook): migrate to latest config * build: prevent test env throwing Invalid hook call errors * chore: lodash resolves to package dependency rather than project * use decorators as variable instead of function * perf(storybook): reduce bundling time by splitting type check and compilation * refactor(storybook): use sortOrder.order param to sort intro story first * build: use yarn workspace command * refactor(storybook): use previous knobs addon registration * migrate button story to controls * build(storybook): silence warnings in console * build: bump storybook related ts packages * style: remove trailing whitespace * refactor(graphng): export interface for storybook * controls migration guide * fix typo * docs(storybook): default docs to use dark theme as per current implementation * revert(grafana-ui): put back react-is namedExport this was changed for react 17 bump but causes rollup to fail during bundling * chore: bump storybook to 6.1, enable fastRefresh, silence eslint prop-types * docs(grafana-ui): move knobs -> controls migration guide to storybook style-guide * chore(storybook): silence terminal warning about order of docs addon * Update contribute/style-guides/storybook.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * Apply documentation suggestions Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * chore(storybook): bump to 6.1.2 Co-authored-by: Peter Holmberg <peter.hlmbrg@gmail.com> Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2020-11-24 03:38:41 -06:00
"ts-loader": "8.0.11",
"typescript": "4.6.4",
"webpack": "5.72.1",
Chore: Bump storybook to v6 (#28926) * Wip * feat: get storybook and app building locally * docs: comment webpack react alias * build(grafana-ui): put back ts-loader * build: prefer storybook essentials over actions and docs. bump dark-mode * chore(storybook): migrate to latest config * build: prevent test env throwing Invalid hook call errors * chore: lodash resolves to package dependency rather than project * use decorators as variable instead of function * perf(storybook): reduce bundling time by splitting type check and compilation * refactor(storybook): use sortOrder.order param to sort intro story first * build: use yarn workspace command * refactor(storybook): use previous knobs addon registration * migrate button story to controls * build(storybook): silence warnings in console * build: bump storybook related ts packages * style: remove trailing whitespace * refactor(graphng): export interface for storybook * controls migration guide * fix typo * docs(storybook): default docs to use dark theme as per current implementation * revert(grafana-ui): put back react-is namedExport this was changed for react 17 bump but causes rollup to fail during bundling * chore: bump storybook to 6.1, enable fastRefresh, silence eslint prop-types * docs(grafana-ui): move knobs -> controls migration guide to storybook style-guide * chore(storybook): silence terminal warning about order of docs addon * Update contribute/style-guides/storybook.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * Apply documentation suggestions Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * chore(storybook): bump to 6.1.2 Co-authored-by: Peter Holmberg <peter.hlmbrg@gmail.com> Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2020-11-24 03:38:41 -06:00
"webpack-filter-warnings-plugin": "1.2.1"
},
"types": "src/index.ts"
2018-12-20 02:25:04 -06:00
}