mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 20:59:35 +08:00
109 lines
2.9 KiB
JSON
109 lines
2.9 KiB
JSON
{
|
|
"author": "Grafana Labs",
|
|
"license": "Apache-2.0",
|
|
"name": "@grafana/data",
|
|
"version": "12.1.0-pre",
|
|
"description": "Grafana Data Library",
|
|
"keywords": [
|
|
"typescript"
|
|
],
|
|
"sideEffects": false,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "http://github.com/grafana/grafana.git",
|
|
"directory": "packages/grafana-data"
|
|
},
|
|
"main": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"module": "src/index.ts",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"import": "./src/index.ts",
|
|
"require": "./src/index.ts"
|
|
},
|
|
"./internal": {
|
|
"import": "./src/internal/index.ts",
|
|
"require": "./src/internal/index.ts"
|
|
},
|
|
"./unstable": {
|
|
"import": "./src/unstable.ts",
|
|
"require": "./src/unstable.ts"
|
|
},
|
|
"./test": {
|
|
"import": "./test/index.ts",
|
|
"require": "./test/index.ts"
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"main": "./dist/cjs/index.cjs",
|
|
"module": "./dist/esm/index.mjs",
|
|
"types": "./dist/cjs/index.d.cts",
|
|
"access": "public"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"./README.md",
|
|
"./CHANGELOG.md",
|
|
"LICENSE_APACHE2"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc -p ./tsconfig.build.json && rollup -c rollup.config.ts --configPlugin esbuild",
|
|
"clean": "rimraf ./dist ./compiled ./unstable ./package.tgz",
|
|
"typecheck": "tsc --emitDeclarationOnly false --noEmit",
|
|
"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"
|
|
},
|
|
"dependencies": {
|
|
"@braintree/sanitize-url": "7.0.1",
|
|
"@grafana/schema": "12.1.0-pre",
|
|
"@types/d3-interpolate": "^3.0.0",
|
|
"@types/string-hash": "1.1.3",
|
|
"@types/systemjs": "6.15.1",
|
|
"d3-interpolate": "3.0.1",
|
|
"date-fns": "4.1.0",
|
|
"dompurify": "3.2.6",
|
|
"eventemitter3": "5.0.1",
|
|
"fast_array_intersect": "1.1.0",
|
|
"history": "4.10.1",
|
|
"lodash": "4.17.21",
|
|
"marked": "15.0.11",
|
|
"marked-mangle": "1.1.10",
|
|
"moment": "2.30.1",
|
|
"moment-timezone": "0.5.47",
|
|
"ol": "7.4.0",
|
|
"papaparse": "5.5.2",
|
|
"react-use": "17.6.0",
|
|
"rxjs": "7.8.1",
|
|
"string-hash": "^1.1.3",
|
|
"tinycolor2": "1.6.0",
|
|
"tslib": "2.8.1",
|
|
"uplot": "1.6.32",
|
|
"xss": "^1.0.14"
|
|
},
|
|
"devDependencies": {
|
|
"@grafana/tsconfig": "^2.0.0",
|
|
"@rollup/plugin-node-resolve": "16.0.0",
|
|
"@types/history": "4.7.11",
|
|
"@types/lodash": "4.17.15",
|
|
"@types/node": "22.12.0",
|
|
"@types/papaparse": "5.3.15",
|
|
"@types/react": "18.3.18",
|
|
"@types/react-dom": "18.3.5",
|
|
"@types/tinycolor2": "1.4.6",
|
|
"esbuild": "0.25.0",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1",
|
|
"rimraf": "6.0.1",
|
|
"rollup": "^4.22.4",
|
|
"rollup-plugin-dts": "^6.1.1",
|
|
"rollup-plugin-esbuild": "6.2.0",
|
|
"rollup-plugin-node-externals": "^8.0.0",
|
|
"typescript": "5.7.3"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.0.0",
|
|
"react-dom": "^18.0.0"
|
|
}
|
|
}
|