UNPKG

@grafana/alerting

Version:

Grafana Alerting Library – Build vertical integrations on top of the industry-leading alerting solution

119 lines 3.53 kB
{ "author": "Grafana Labs", "license": "Apache-2.0", "name": "@grafana/alerting", "version": "12.3.1", "description": "Grafana Alerting Library – Build vertical integrations on top of the industry-leading alerting solution", "keywords": [ "typescript", "grafana", "alerting", "alertmanager", "prometheus" ], "sideEffects": false, "repository": { "type": "git", "url": "http://github.com/grafana/grafana.git", "directory": "packages/grafana-alerting" }, "main": "./dist/cjs/index.cjs", "types": "./dist/types/index.d.ts", "module": "./dist/esm/index.mjs", "exports": { "./package.json": "./package.json", ".": { "import": { "types": "./dist/types/index.d.ts", "default": "./dist/esm/index.mjs" }, "require": { "types": "./dist/types/index.d.ts", "default": "./dist/cjs/index.cjs" } }, "./testing": { "import": { "types": "./dist/types/testing.d.ts", "default": "./dist/esm/testing.mjs" }, "require": { "types": "./dist/types/testing.d.ts", "default": "./dist/cjs/testing.cjs" } }, "./unstable": { "import": { "types": "./dist/types/unstable.d.ts", "default": "./dist/esm/unstable.mjs" }, "require": { "types": "./dist/types/unstable.d.ts", "default": "./dist/cjs/unstable.cjs" } } }, "publishConfig": { "main": "./dist/cjs/index.cjs", "module": "./dist/esm/index.mjs", "types": "./dist/types/index.d.ts", "access": "public" }, "files": [ "./dist", "./README.md", "./CHANGELOG.md", "./LICENSE_APACHE2", "testing", "unstable" ], "scripts": { "build": "tsc -p ./tsconfig.build.json && rollup -c rollup.config.ts --configPlugin esbuild", "bundle": "rollup -c rollup.config.ts --configPlugin esbuild", "clean": "rimraf ./dist ./compiled ./unstable ./testing ./package.tgz", "typecheck": "tsc --emitDeclarationOnly false --noEmit", "codegen": "rtk-query-codegen-openapi ./scripts/codegen.ts", "prepack": "cp package.json package.json.bak && ALIAS_PACKAGE_NAME=testing,unstable node ../../scripts/prepare-npm-package.js", "postpack": "mv package.json.bak package.json && rimraf ./unstable ./testing", "i18n-extract": "i18next-cli extract --sync-primary" }, "devDependencies": { "@grafana/test-utils": "12.3.1", "@rtk-query/codegen-openapi": "^2.0.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", "@types/lodash": "^4", "@types/react": "18.3.18", "@types/react-dom": "18.3.5", "@types/tinycolor2": "^1", "i18next": "^25.5.2", "i18next-cli": "1.11.12", "react": "18.3.1", "react-dom": "18.3.1", "react-redux": "^9.2.0", "rimraf": "^6.0.1", "rollup": "^4.22.4", "rollup-plugin-esbuild": "6.2.1", "rollup-plugin-node-externals": "^8.0.0", "type-fest": "^4.40.0", "typescript": "5.9.2" }, "peerDependencies": { "@grafana/data": ">=11.6 <= 12.x", "@grafana/runtime": ">=11.6 <= 12.x", "@grafana/ui": ">=11.6 <= 12.x", "msw": "^2.0.0", "react": "^18.0.0", "react-dom": "^18.0.0" }, "dependencies": { "@emotion/css": "11.13.5", "@faker-js/faker": "^9.8.0", "@grafana/i18n": "12.3.1", "@reduxjs/toolkit": "^2.9.0", "fishery": "^2.3.1", "lodash": "^4.17.21", "tinycolor2": "^1.6.0" } }