mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 08:56:43 -06:00
353 lines
13 KiB
JSON
353 lines
13 KiB
JSON
{
|
|
"author": "Grafana Labs",
|
|
"license": "AGPL-3.0-only",
|
|
"private": true,
|
|
"name": "grafana",
|
|
"version": "8.2.0-pre",
|
|
"repository": "github:grafana/grafana",
|
|
"scripts": {
|
|
"api-tests": "jest --notify --watch --config=devenv/e2e-api-tests/jest.js",
|
|
"build": "node ./node_modules/webpack/bin/webpack.js --config scripts/webpack/webpack.prod.js",
|
|
"dev": "webpack --progress --color --config scripts/webpack/webpack.dev.js",
|
|
"e2e": "./e2e/start-and-run-suite",
|
|
"e2e:debug": "./e2e/start-and-run-suite debug",
|
|
"e2e:dev": "./e2e/start-and-run-suite dev",
|
|
"test": "jest --notify --watch",
|
|
"test:accessibility": "pa11y-ci --config .pa11yci.conf.js",
|
|
"lint": "yarn run lint:ts && yarn run lint:sass",
|
|
"lint:ts": "eslint . --ext .js,.tsx,.ts --cache",
|
|
"lint:sass": "yarn run sass-lint -c public/sass/.sass-lint.yml 'public/sass/**/*.scss, packages/**/*.scss' -v -i '**/node_modules/**/*.scss'",
|
|
"test:ci": "mkdir -p reports/junit && export JEST_JUNIT_OUTPUT_DIR=reports/junit && jest --ci --reporters=default --reporters=jest-junit -w ${TEST_MAX_WORKERS:-100%}",
|
|
"lint:fix": "yarn lint --fix",
|
|
"packages:build": "lerna run clean && lerna run build --ignore @grafana-plugins/input-datasource",
|
|
"packages:docsExtract": "rm -rf ./reports/docs && lerna run docsExtract",
|
|
"packages:docsToMarkdown": "api-documenter markdown --input-folder ./reports/docs/ --output-folder ./docs/sources/packages_api/ --hugo",
|
|
"packages:prepare": "lerna version --no-push --no-git-tag-version --force-publish --exact",
|
|
"packages:publish": "lerna publish from-package --contents dist",
|
|
"packages:publishCanary": "lerna publish from-package --contents dist --dist-tag canary --yes",
|
|
"packages:publishLatest": "lerna publish from-package --contents dist --yes",
|
|
"packages:publishNext": "lerna publish from-package --contents dist --dist-tag next --yes",
|
|
"packages:publishDev": "lerna publish from-package --contents dist --dist-tag dev --yes --registry http://grafana-npm.local:4873 --force-publish=*",
|
|
"packages:typecheck": "lerna run typecheck",
|
|
"packages:clean": "lerna run clean",
|
|
"precommit": "yarn run lint-staged",
|
|
"prettier:check": "prettier --list-different \"**/*.{ts,tsx,scss}\"",
|
|
"prettier:write": "prettier --list-different \"**/*.{ts,tsx,scss,js}\" --write",
|
|
"prestart": "yarn themes:generate",
|
|
"prestart:hot": "yarn themes:generate",
|
|
"prestart:noTsCheck": "yarn themes:generate",
|
|
"start": "webpack --progress --color --watch --env noTsCheck=0 --config scripts/webpack/webpack.dev.js",
|
|
"start:hot": "webpack serve --progress --color --config scripts/webpack/webpack.hot.js",
|
|
"start:noTsCheck": "webpack --progress --color --watch --env noTsCheck=1 --config scripts/webpack/webpack.dev.js",
|
|
"stats": "webpack --mode production --config scripts/webpack/webpack.prod.js --profile --json > compilation-stats.json",
|
|
"storybook": "yarn workspace @grafana/ui storybook --ci",
|
|
"storybook:build": "yarn workspace @grafana/ui storybook:build",
|
|
"themes:generate": "ts-node --transpile-only --project ./scripts/cli/tsconfig.json ./scripts/cli/generateSassVariableFiles.ts",
|
|
"typecheck": "tsc --noEmit && yarn run packages:typecheck",
|
|
"plugins:build-bundled": "grafana-toolkit plugin:bundle-managed",
|
|
"watch": "yarn start -d watch,start core:start --watchTheme",
|
|
"ci:test-frontend": "yarn run prettier:check && yarn run typecheck && yarn run lint && yarn run test:ci && yarn grafana-toolkit node-version-check && ./scripts/ci-check-strict.sh"
|
|
},
|
|
"grafana": {
|
|
"whatsNewUrl": "https://grafana.com/docs/grafana/next/whatsnew/whats-new-in-v8-1/",
|
|
"releaseNotesUrl": "https://grafana.com/docs/grafana/next/release-notes/"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "yarn run precommit"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,tsx}": [
|
|
"eslint --ext .js,.tsx,.ts --cache --fix"
|
|
],
|
|
"*.{json,scss,md,mdx}": [
|
|
"prettier --write"
|
|
],
|
|
"*pkg/**/*.go": [
|
|
"gofmt -w -s"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.14.6",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "7.14.5",
|
|
"@babel/plugin-proposal-object-rest-spread": "7.14.7",
|
|
"@babel/plugin-proposal-optional-chaining": "7.14.5",
|
|
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
|
"@babel/plugin-transform-react-constant-elements": "7.14.5",
|
|
"@babel/plugin-transform-runtime": "^7.14.5",
|
|
"@babel/preset-env": "7.14.7",
|
|
"@babel/preset-react": "7.14.5",
|
|
"@babel/preset-typescript": "7.14.5",
|
|
"@emotion/eslint-plugin": "11.2.0",
|
|
"@grafana/api-documenter": "7.11.2",
|
|
"@grafana/api-extractor": "7.10.1",
|
|
"@grafana/eslint-config": "2.5.0",
|
|
"@kusto/monaco-kusto": "3.2.7",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.0-rc.6",
|
|
"@rtsao/plugin-proposal-class-properties": "7.0.1-patch.1",
|
|
"@testing-library/jest-dom": "5.11.5",
|
|
"@testing-library/react": "11.1.2",
|
|
"@testing-library/react-hooks": "^3.2.1",
|
|
"@testing-library/user-event": "^12.1.3",
|
|
"@types/angular": "1.6.56",
|
|
"@types/angular-route": "1.7.0",
|
|
"@types/classnames": "2.2.9",
|
|
"@types/clipboard": "2.0.1",
|
|
"@types/common-tags": "^1.8.0",
|
|
"@types/d3": "5.7.2",
|
|
"@types/d3-force": "^2.1.0",
|
|
"@types/d3-scale-chromatic": "1.3.1",
|
|
"@types/debounce-promise": "3.1.3",
|
|
"@types/enzyme": "3.10.5",
|
|
"@types/enzyme-adapter-react-16": "1.0.6",
|
|
"@types/file-saver": "2.0.1",
|
|
"@types/history": "^4.7.8",
|
|
"@types/hoist-non-react-statics": "3.3.1",
|
|
"@types/jest": "26.0.15",
|
|
"@types/jquery": "3.3.38",
|
|
"@types/jsurl": "^1.2.28",
|
|
"@types/lodash": "4.14.149",
|
|
"@types/logfmt": "^1.2.1",
|
|
"@types/lru-cache": "^5.1.0",
|
|
"@types/mousetrap": "1.6.3",
|
|
"@types/node": "13.7.0",
|
|
"@types/papaparse": "5.2.0",
|
|
"@types/pluralize": "^0.0.29",
|
|
"@types/prismjs": "1.16.0",
|
|
"@types/react": "16.9.9",
|
|
"@types/react-beautiful-dnd": "13.1.1",
|
|
"@types/react-dom": "16.9.9",
|
|
"@types/react-grid-layout": "1.1.1",
|
|
"@types/react-highlight-words": "^0.16.2",
|
|
"@types/react-loadable": "5.5.2",
|
|
"@types/react-redux": "7.1.7",
|
|
"@types/react-router-dom": "^5.1.7",
|
|
"@types/react-select": "4.0.13",
|
|
"@types/react-test-renderer": "17.0.1",
|
|
"@types/react-transition-group": "4.4.0",
|
|
"@types/react-virtualized-auto-sizer": "1.0.0",
|
|
"@types/react-window": "1.8.1",
|
|
"@types/redux-mock-store": "1.0.2",
|
|
"@types/reselect": "2.2.0",
|
|
"@types/semver": "^6.0.0",
|
|
"@types/slate": "0.47.2",
|
|
"@types/slate-plain-serializer": "0.6.1",
|
|
"@types/slate-react": "0.22.5",
|
|
"@types/testing-library__jest-dom": "5.9.5",
|
|
"@types/testing-library__react-hooks": "^3.2.0",
|
|
"@types/tinycolor2": "1.4.2",
|
|
"@types/uuid": "8.3.0",
|
|
"@typescript-eslint/eslint-plugin": "4.28.0",
|
|
"@typescript-eslint/parser": "4.28.0",
|
|
"@wojtekmaj/enzyme-adapter-react-17": "0.6.2",
|
|
"angular-mocks": "1.6.6",
|
|
"autoprefixer": "10.2.6",
|
|
"axios": "0.21.1",
|
|
"babel-jest": "26.6.3",
|
|
"babel-loader": "8.2.2",
|
|
"babel-plugin-angularjs-annotate": "0.10.0",
|
|
"copy-webpack-plugin": "9.0.1",
|
|
"css-loader": "6.2.0",
|
|
"css-minimizer-webpack-plugin": "^3.0.2",
|
|
"enzyme": "3.11.0",
|
|
"enzyme-to-json": "3.4.4",
|
|
"es-abstract": "1.18.0-next.1",
|
|
"es6-promise": "4.2.8",
|
|
"es6-shim": "0.35.5",
|
|
"eslint": "7.21.0",
|
|
"eslint-config-prettier": "7.2.0",
|
|
"eslint-plugin-jsdoc": "31.6.1",
|
|
"eslint-plugin-lodash": "^7.2.0",
|
|
"eslint-plugin-no-only-tests": "2.4.0",
|
|
"eslint-plugin-prettier": "3.3.1",
|
|
"eslint-plugin-react": "7.22.0",
|
|
"eslint-plugin-react-hooks": "4.2.0",
|
|
"eslint-webpack-plugin": "3.0.1",
|
|
"expect.js": "0.3.1",
|
|
"expose-loader": "3.0.0",
|
|
"file-loader": "6.2.0",
|
|
"fork-ts-checker-webpack-plugin": "6.3.2",
|
|
"fs-extra": "9.1.0",
|
|
"gaze": "1.1.3",
|
|
"glob": "7.1.6",
|
|
"html-loader": "2.1.2",
|
|
"html-webpack-harddisk-plugin": "2.0.0",
|
|
"html-webpack-plugin": "5.3.2",
|
|
"husky": "4.2.1",
|
|
"iconscout-unicons-tarball": "https://github.com/grafana/icons/tarball/9728be621a4e7d891611149c9cd179e793f790a7",
|
|
"jest": "26.6.3",
|
|
"jest-canvas-mock": "2.3.0",
|
|
"jest-date-mock": "1.0.8",
|
|
"jest-matcher-utils": "26.0.0",
|
|
"lerna": "^4.0.0",
|
|
"lint-staged": "10.0.7",
|
|
"mini-css-extract-plugin": "2.2.0",
|
|
"mocha": "7.0.1",
|
|
"module-alias": "2.2.2",
|
|
"mutationobserver-shim": "0.3.3",
|
|
"ngtemplate-loader": "2.1.0",
|
|
"nodemon": "2.0.2",
|
|
"pa11y-ci": "2.4.2",
|
|
"postcss": "8.3.6",
|
|
"postcss-browser-reporter": "0.6.0",
|
|
"postcss-loader": "6.1.1",
|
|
"postcss-reporter": "7.0.2",
|
|
"prettier": "2.2.1",
|
|
"raw-loader": "4.0.2",
|
|
"react-refresh": "^0.10.0",
|
|
"react-select-event": "^5.1.0",
|
|
"react-test-renderer": "17.0.1",
|
|
"redux-mock-store": "1.5.4",
|
|
"regexp-replace-loader": "1.0.1",
|
|
"rimraf": "3.0.1",
|
|
"rxjs-spy": "8.0.0",
|
|
"sass": "1.32.13",
|
|
"sass-lint": "1.12.1",
|
|
"sass-loader": "12.1.0",
|
|
"sinon": "8.1.1",
|
|
"style-loader": "3.2.1",
|
|
"terser-webpack-plugin": "5.1.4",
|
|
"testing-library-selector": "^0.1.3",
|
|
"ts-jest": "26.4.4",
|
|
"ts-node": "9.0.0",
|
|
"tslib": "2.2.0",
|
|
"typescript": "4.3.4",
|
|
"wait-on": "6.0.0",
|
|
"webpack": "5.51.1",
|
|
"webpack-bundle-analyzer": "4.4.2",
|
|
"webpack-cleanup-plugin": "0.5.1",
|
|
"webpack-cli": "4.8.0",
|
|
"webpack-dev-server": "4.0.0",
|
|
"webpack-merge": "5.8.0",
|
|
"worker-loader": "^3.0.8",
|
|
"zone.js": "0.7.8"
|
|
},
|
|
"dependencies": {
|
|
"@emotion/css": "11.1.3",
|
|
"@emotion/react": "11.1.5",
|
|
"@grafana/aws-sdk": "0.0.3",
|
|
"@grafana/slate-react": "0.22.10-grafana",
|
|
"@opentelemetry/api": "1.0.2",
|
|
"@opentelemetry/exporter-collector": "0.23.0",
|
|
"@opentelemetry/semantic-conventions": "0.23.0",
|
|
"@popperjs/core": "2.5.4",
|
|
"@reduxjs/toolkit": "1.5.0",
|
|
"@sentry/browser": "5.25.0",
|
|
"@sentry/types": "5.24.2",
|
|
"@sentry/utils": "5.24.2",
|
|
"@types/ol": "^6.5.1",
|
|
"@visx/event": "2.1.0",
|
|
"@visx/gradient": "2.1.0",
|
|
"@visx/scale": "2.1.0",
|
|
"@visx/shape": "2.1.0",
|
|
"@visx/tooltip": "2.1.0",
|
|
"@welldone-software/why-did-you-render": "4.0.6",
|
|
"abortcontroller-polyfill": "1.4.0",
|
|
"angular": "1.8.2",
|
|
"angular-bindonce": "0.3.1",
|
|
"angular-route": "1.8.2",
|
|
"angular-sanitize": "1.8.2",
|
|
"baron": "3.0.3",
|
|
"brace": "0.11.1",
|
|
"calculate-size": "1.1.1",
|
|
"centrifuge": "2.7.5",
|
|
"classnames": "2.2.6",
|
|
"clipboard": "2.0.4",
|
|
"common-tags": "^1.8.0",
|
|
"core-js": "3.10.0",
|
|
"d3": "5.15.0",
|
|
"d3-force": "^2.1.1",
|
|
"d3-scale-chromatic": "1.5.0",
|
|
"dangerously-set-html-content": "1.0.9",
|
|
"debounce-promise": "3.1.2",
|
|
"eventemitter3": "4.0.0",
|
|
"fast-deep-equal": "^3.1.3",
|
|
"fast-json-patch": "2.2.1",
|
|
"fast-text-encoding": "^1.0.0",
|
|
"file-saver": "2.0.2",
|
|
"history": "4.10.1",
|
|
"hoist-non-react-statics": "3.3.2",
|
|
"immer": "8.0.1",
|
|
"jquery": "3.5.1",
|
|
"json-source-map": "0.6.1",
|
|
"jsurl": "^0.1.5",
|
|
"lezer": "0.13.5",
|
|
"lezer-promql": "0.20.0",
|
|
"lezer-tree": "0.13.2",
|
|
"lodash": "4.17.21",
|
|
"logfmt": "^1.3.2",
|
|
"lru-cache": "^5.1.1",
|
|
"memoize-one": "5.1.1",
|
|
"moment": "2.29.1",
|
|
"moment-timezone": "0.5.33",
|
|
"monaco-promql": "^1.7.2",
|
|
"mousetrap": "1.6.5",
|
|
"mousetrap-global-bind": "1.1.0",
|
|
"ol": "^6.5.0",
|
|
"papaparse": "5.3.0",
|
|
"pluralize": "^8.0.0",
|
|
"prismjs": "1.24.0",
|
|
"prop-types": "15.7.2",
|
|
"rc-cascader": "1.5.0",
|
|
"re-resizable": "^6.2.0",
|
|
"react": "17.0.1",
|
|
"react-beautiful-dnd": "13.1.0",
|
|
"react-diff-viewer": "^3.1.1",
|
|
"react-dom": "17.0.1",
|
|
"react-grid-layout": "1.2.5",
|
|
"react-highlight-words": "0.17.0",
|
|
"react-loadable": "5.5.0",
|
|
"react-popper": "2.2.4",
|
|
"react-redux": "7.2.0",
|
|
"react-reverse-portal": "^2.0.1",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-select": "4.3.0",
|
|
"react-split-pane": "0.1.89",
|
|
"react-transition-group": "4.4.1",
|
|
"react-use": "17.2.4",
|
|
"react-virtualized-auto-sizer": "1.0.2",
|
|
"react-window": "1.8.5",
|
|
"redux": "4.0.5",
|
|
"redux-thunk": "2.3.0",
|
|
"regenerator-runtime": "0.13.3",
|
|
"reselect": "4.0.0",
|
|
"rst2html": "github:thoward/rst2html#990cb89",
|
|
"rxjs": "7.3.0",
|
|
"search-query-parser": "1.5.4",
|
|
"semver": "^7.1.3",
|
|
"slate": "0.47.8",
|
|
"slate-plain-serializer": "0.7.10",
|
|
"tether": "1.4.7",
|
|
"tether-drop": "https://github.com/torkelo/drop",
|
|
"tinycolor2": "1.4.1",
|
|
"uuid": "8.3.0",
|
|
"visjs-network": "4.25.0",
|
|
"whatwg-fetch": "3.1.0"
|
|
},
|
|
"resolutions": {
|
|
"caniuse-db": "1.0.30000772",
|
|
"underscore": "1.12.1"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"packages/*",
|
|
"plugins-bundled/internal/*"
|
|
],
|
|
"nohoist": [
|
|
"**/@types/*",
|
|
"**/@types/*/**"
|
|
]
|
|
},
|
|
"_moduleAliases": {
|
|
"puppeteer": "node_modules/puppeteer-core"
|
|
},
|
|
"engines": {
|
|
"node": ">= 14"
|
|
},
|
|
"volta": {
|
|
"node": "14.16.0",
|
|
"yarn": "1.22.5"
|
|
}
|
|
}
|