mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 20:59:35 +08:00
91 lines
2.5 KiB
JSON
91 lines
2.5 KiB
JSON
{
|
|
"author": "Grafana Labs",
|
|
"license": "Apache-2.0",
|
|
"name": "@grafana/flamegraph",
|
|
"version": "12.1.0-pre",
|
|
"description": "Grafana flamegraph visualization component",
|
|
"keywords": [
|
|
"grafana",
|
|
"flamegraph",
|
|
"profiling",
|
|
"pyroscope"
|
|
],
|
|
"sideEffects": false,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "http://github.com/grafana/grafana.git",
|
|
"directory": "packages/grafana-flamegraph"
|
|
},
|
|
"main": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"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"
|
|
],
|
|
"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 ./package.tgz",
|
|
"typecheck": "tsc --emitDeclarationOnly false --noEmit",
|
|
"prepack": "cp package.json package.json.bak && node ../../scripts/prepare-npm-package.js",
|
|
"postpack": "mv package.json.bak package.json"
|
|
},
|
|
"browserslist": [
|
|
"defaults",
|
|
"not IE 11"
|
|
],
|
|
"dependencies": {
|
|
"@emotion/css": "11.13.5",
|
|
"@grafana/data": "12.1.0-pre",
|
|
"@grafana/ui": "12.1.0-pre",
|
|
"@leeoniya/ufuzzy": "1.0.18",
|
|
"d3": "^7.8.5",
|
|
"lodash": "4.17.21",
|
|
"react": "18.3.1",
|
|
"react-use": "17.6.0",
|
|
"react-virtualized-auto-sizer": "1.0.25",
|
|
"tinycolor2": "1.6.0",
|
|
"tslib": "2.8.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.26.10",
|
|
"@babel/preset-env": "7.26.9",
|
|
"@babel/preset-react": "7.26.3",
|
|
"@grafana/tsconfig": "^2.0.0",
|
|
"@rollup/plugin-node-resolve": "16.0.1",
|
|
"@testing-library/dom": "10.4.0",
|
|
"@testing-library/jest-dom": "^6.1.2",
|
|
"@testing-library/react": "16.2.0",
|
|
"@testing-library/user-event": "14.6.1",
|
|
"@types/d3": "^7",
|
|
"@types/jest": "^29.5.4",
|
|
"@types/lodash": "4.17.20",
|
|
"@types/node": "22.15.0",
|
|
"@types/react": "18.3.18",
|
|
"@types/react-virtualized-auto-sizer": "1.0.4",
|
|
"@types/tinycolor2": "1.4.6",
|
|
"babel-jest": "29.7.0",
|
|
"esbuild": "0.25.6",
|
|
"jest": "^29.6.4",
|
|
"jest-canvas-mock": "2.5.2",
|
|
"rollup": "^4.22.4",
|
|
"rollup-plugin-esbuild": "6.2.0",
|
|
"rollup-plugin-node-externals": "^8.0.0",
|
|
"ts-jest": "29.2.5",
|
|
"ts-node": "10.9.2",
|
|
"typescript": "5.8.3"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.0.0",
|
|
"react-dom": "^18.0.0"
|
|
}
|
|
}
|