UNPKG

@grafana/alerting

Version:

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

101 lines 2.99 kB
{ "author": "Grafana Labs", "license": "Apache-2.0", "name": "@grafana/alerting", "version": "12.1.0", "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": "git+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" } }, "./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", "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 ./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=unstable node ../../scripts/prepare-npm-package.js", "postpack": "mv package.json.bak package.json && rimraf ./unstable" }, "devDependencies": { "@grafana/test-utils": "12.1.0", "@grafana/tsconfig": "^2.0.0", "@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", "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.0", "rollup-plugin-node-externals": "^8.0.0", "type-fest": "^4.40.0", "typescript": "5.8.3" }, "peerDependencies": { "@grafana/runtime": ">=11.6 <= 12.x", "@grafana/ui": ">=11.6 <= 12.x", "@reduxjs/toolkit": "^2.8.0", "msw": "^2.0.0", "react": "^18.0.0", "react-dom": "^18.0.0" }, "dependencies": { "@faker-js/faker": "^9.8.0", "fishery": "^2.3.1", "lodash": "^4.17.21" } }