Build: Setup webpack configuration for direct-input bundled datasource (#67199)

This commit is contained in:
Esteban Beltran
2023-04-26 11:45:34 +02:00
committed by GitHub
parent f0bdaed5b4
commit c54d2133a7
7 changed files with 198 additions and 43 deletions
@@ -8,27 +8,28 @@
"url": "http://github.com/grafana/grafana.git"
},
"scripts": {
"build": "grafana-toolkit plugin:build",
"test": "grafana-toolkit plugin:test",
"dev": "grafana-toolkit plugin:dev",
"watch": "grafana-toolkit plugin:dev --watch"
"build": "yarn test && webpack -c webpack.config.ts --env production",
"dev": "webpack -w -c webpack.config.ts --env development",
"test": "jest -c jest.config.js"
},
"author": "Grafana Labs",
"devDependencies": {
"@grafana/toolkit": "10.0.0-pre",
"@types/jest": "26.0.15",
"@types/lodash": "4.14.149",
"@types/react": "18.0.28",
"lodash": "4.17.21"
"copy-webpack-plugin": "11.0.0",
"eslint-webpack-plugin": "4.0.0",
"fork-ts-checker-webpack-plugin": "8.0.0",
"jest": "29.3.1",
"jest-environment-jsdom": "29.3.1",
"ts-jest": "29.0.5",
"ts-loader": "9.3.1",
"ts-node": "10.9.1",
"webpack": "5.76.0"
},
"dependencies": {
"@grafana/data": "10.0.0-pre",
"@grafana/ui": "10.0.0-pre",
"jquery": "3.5.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "7.5.3",
"react-router-dom": "5.3.3",
"tslib": "2.4.0"
"tslib": "2.5.0"
}
}