mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 02:10:45 -06:00
f22bee8ca2
* chore(packages): bump rollup and rollup plugins to latest * chore(packages): fix rollup node-externals plugin imports * chore(packages): update build/bundle scripts to pass configPlugin arg to rollup * feat(packages): migrate rollup configs to be esm compliant * feat(packages): build using es2018 target and use same tsconfig and tsc for rollup
81 lines
2.3 KiB
JSON
81 lines
2.3 KiB
JSON
{
|
|
"author": "Grafana Labs",
|
|
"license": "Apache-2.0",
|
|
"name": "@grafana/runtime",
|
|
"version": "11.3.0-pre",
|
|
"description": "Grafana Runtime Library",
|
|
"keywords": [
|
|
"grafana",
|
|
"typescript"
|
|
],
|
|
"sideEffects": false,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "http://github.com/grafana/grafana.git",
|
|
"directory": "packages/grafana-runtime"
|
|
},
|
|
"main": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"publishConfig": {
|
|
"main": "dist/index.js",
|
|
"module": "dist/esm/index.js",
|
|
"types": "dist/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-packagejson.js",
|
|
"postpack": "mv package.json.bak package.json"
|
|
},
|
|
"dependencies": {
|
|
"@grafana/data": "11.3.0-pre",
|
|
"@grafana/e2e-selectors": "11.3.0-pre",
|
|
"@grafana/faro-web-sdk": "^1.3.6",
|
|
"@grafana/schema": "11.3.0-pre",
|
|
"@grafana/ui": "11.3.0-pre",
|
|
"history": "4.10.1",
|
|
"lodash": "4.17.21",
|
|
"rxjs": "7.8.1",
|
|
"tslib": "2.7.0"
|
|
},
|
|
"devDependencies": {
|
|
"@grafana/tsconfig": "^2.0.0",
|
|
"@rollup/plugin-node-resolve": "15.3.0",
|
|
"@rollup/plugin-terser": "0.4.4",
|
|
"@testing-library/dom": "10.0.0",
|
|
"@testing-library/react": "15.0.2",
|
|
"@testing-library/user-event": "14.5.2",
|
|
"@types/angular": "1.8.9",
|
|
"@types/history": "4.7.11",
|
|
"@types/jest": "29.5.13",
|
|
"@types/lodash": "4.17.9",
|
|
"@types/react": "18.3.3",
|
|
"@types/react-dom": "18.2.25",
|
|
"@types/systemjs": "6.15.1",
|
|
"esbuild": "0.24.0",
|
|
"lodash": "4.17.21",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0",
|
|
"rimraf": "6.0.1",
|
|
"rollup": "^4.22.4",
|
|
"rollup-plugin-dts": "^6.1.1",
|
|
"rollup-plugin-esbuild": "6.1.1",
|
|
"rollup-plugin-node-externals": "^7.1.3",
|
|
"rollup-plugin-sourcemaps": "0.6.3",
|
|
"typescript": "5.5.4"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.0.0",
|
|
"react-dom": "^18.0.0"
|
|
}
|
|
}
|