2013-07-21 05:56:59 +08:00
|
|
|
{
|
2018-12-20 16:25:04 +08:00
|
|
|
"private": true,
|
2013-07-21 05:56:59 +08:00
|
|
|
"author": {
|
2014-01-19 23:13:28 +08:00
|
|
|
"name": "Torkel Ödegaard",
|
2017-09-05 16:39:55 +08:00
|
|
|
"company": "Grafana Labs"
|
2013-07-21 05:56:59 +08:00
|
|
|
},
|
2014-01-19 23:13:28 +08:00
|
|
|
"name": "grafana",
|
2019-04-12 15:20:45 +08:00
|
|
|
"version": "6.2.0-pre",
|
2013-10-29 03:57:14 +08:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2016-03-01 11:25:54 +08:00
|
|
|
"url": "http://github.com/grafana/grafana.git"
|
2013-10-29 03:57:14 +08:00
|
|
|
},
|
2013-07-21 05:56:59 +08:00
|
|
|
"devDependencies": {
|
2019-03-14 16:01:27 +08:00
|
|
|
"@babel/core": "^7.3.4",
|
2018-10-29 19:18:41 +08:00
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
2019-03-14 16:01:27 +08:00
|
|
|
"@babel/preset-env": "^7.3.4",
|
2018-10-29 19:18:41 +08:00
|
|
|
"@babel/preset-react": "^7.0.0",
|
2019-03-14 16:01:27 +08:00
|
|
|
"@babel/preset-typescript": "^7.3.3",
|
2019-03-27 18:50:36 +08:00
|
|
|
"@emotion/core": "^10.0.10",
|
2018-12-25 16:59:23 +08:00
|
|
|
"@rtsao/plugin-proposal-class-properties": "^7.0.1-patch.1",
|
2019-03-12 03:44:14 +08:00
|
|
|
"@types/angular": "^1.6.6",
|
2019-02-13 21:47:59 +08:00
|
|
|
"@types/chalk": "^2.2.0",
|
2018-12-26 04:11:18 +08:00
|
|
|
"@types/classnames": "^2.2.6",
|
2019-03-25 19:08:28 +08:00
|
|
|
"@types/clipboard": "^2.0.1",
|
2019-02-13 21:47:59 +08:00
|
|
|
"@types/commander": "^2.12.2",
|
2017-10-02 02:02:25 +08:00
|
|
|
"@types/d3": "^4.10.1",
|
2018-09-11 22:31:34 +08:00
|
|
|
"@types/enzyme": "^3.1.13",
|
2019-02-21 17:58:28 +08:00
|
|
|
"@types/inquirer": "^0.0.43",
|
2019-03-14 15:20:23 +08:00
|
|
|
"@types/jest": "^24.0.11",
|
2018-12-25 18:42:23 +08:00
|
|
|
"@types/jquery": "^1.10.35",
|
2019-04-15 18:11:52 +08:00
|
|
|
"@types/lodash": "4.14.123",
|
2019-02-13 04:54:20 +08:00
|
|
|
"@types/node": "^8.0.31",
|
2019-03-14 15:36:56 +08:00
|
|
|
"@types/papaparse": "^4.5.9",
|
2019-03-19 23:11:47 +08:00
|
|
|
"@types/react": "^16.8.8",
|
|
|
|
"@types/react-dom": "^16.8.2",
|
2019-01-30 22:44:34 +08:00
|
|
|
"@types/react-grid-layout": "^0.16.6",
|
2018-10-08 03:08:22 +08:00
|
|
|
"@types/react-select": "^2.0.4",
|
2019-02-11 18:03:24 +08:00
|
|
|
"@types/react-transition-group": "^2.0.15",
|
2019-01-30 22:44:34 +08:00
|
|
|
"@types/react-virtualized": "^9.18.12",
|
2019-04-09 20:25:13 +08:00
|
|
|
"@types/react-window": "1.7.0",
|
2018-06-26 16:28:37 +08:00
|
|
|
"angular-mocks": "1.6.6",
|
2019-03-13 03:52:56 +08:00
|
|
|
"autoprefixer": "^9.4.10",
|
2019-03-13 16:37:00 +08:00
|
|
|
"axios": "^0.18.0",
|
2018-10-29 19:18:41 +08:00
|
|
|
"babel-core": "^7.0.0-bridge",
|
2019-04-03 17:41:08 +08:00
|
|
|
"babel-jest": "^24.6.0",
|
2018-10-29 19:18:41 +08:00
|
|
|
"babel-loader": "^8.0.4",
|
2019-03-14 16:01:27 +08:00
|
|
|
"babel-plugin-angularjs-annotate": "^0.10.0",
|
2019-02-13 21:47:59 +08:00
|
|
|
"chalk": "^2.4.2",
|
2019-03-13 04:52:22 +08:00
|
|
|
"clean-webpack-plugin": "^2.0.0",
|
2019-02-13 04:54:20 +08:00
|
|
|
"concurrently": "^4.1.0",
|
2019-03-13 04:25:28 +08:00
|
|
|
"css-loader": "^2.1.1",
|
2018-09-11 22:31:34 +08:00
|
|
|
"enzyme": "^3.6.0",
|
|
|
|
"enzyme-adapter-react-16": "^1.5.0",
|
|
|
|
"enzyme-to-json": "^3.3.4",
|
2015-12-18 02:18:30 +08:00
|
|
|
"es6-promise": "^3.0.2",
|
2017-09-28 16:37:33 +08:00
|
|
|
"es6-shim": "^0.35.3",
|
2019-02-21 17:58:28 +08:00
|
|
|
"execa": "^1.0.0",
|
2014-08-07 19:44:09 +08:00
|
|
|
"expect.js": "~0.2.0",
|
2019-03-12 22:26:46 +08:00
|
|
|
"expose-loader": "0.7.5",
|
2019-03-13 04:36:55 +08:00
|
|
|
"file-loader": "^3.0.1",
|
2019-03-12 22:16:56 +08:00
|
|
|
"fork-ts-checker-webpack-plugin": "^1.0.0",
|
2017-10-02 02:02:25 +08:00
|
|
|
"gaze": "^1.1.2",
|
2019-03-13 16:09:00 +08:00
|
|
|
"glob": "~7.1.3",
|
2017-10-02 02:02:25 +08:00
|
|
|
"grunt": "1.0.1",
|
2016-12-09 22:57:25 +08:00
|
|
|
"grunt-angular-templates": "^1.1.0",
|
|
|
|
"grunt-cli": "~1.2.0",
|
|
|
|
"grunt-contrib-clean": "~1.0.0",
|
2016-05-26 07:03:22 +08:00
|
|
|
"grunt-contrib-compress": "^1.3.0",
|
2016-12-09 22:57:25 +08:00
|
|
|
"grunt-contrib-copy": "~1.0.0",
|
2016-12-10 05:53:00 +08:00
|
|
|
"grunt-exec": "^1.0.1",
|
2018-10-30 17:25:53 +08:00
|
|
|
"grunt-newer": "^1.3.0",
|
2016-12-09 22:57:25 +08:00
|
|
|
"grunt-notify": "^0.4.5",
|
2016-03-08 00:48:09 +08:00
|
|
|
"grunt-postcss": "^0.8.0",
|
2018-12-26 03:18:38 +08:00
|
|
|
"grunt-sass-lint": "^0.2.4",
|
2016-12-09 22:57:25 +08:00
|
|
|
"grunt-usemin": "3.1.1",
|
2017-10-02 02:02:25 +08:00
|
|
|
"grunt-webpack": "^3.0.2",
|
2019-03-12 22:26:46 +08:00
|
|
|
"html-loader": "0.5.5",
|
2019-03-13 04:52:22 +08:00
|
|
|
"html-webpack-harddisk-plugin": "^1.0.1",
|
2018-06-26 16:28:37 +08:00
|
|
|
"html-webpack-plugin": "^3.2.0",
|
2019-02-12 19:49:40 +08:00
|
|
|
"husky": "^1.3.1",
|
2019-02-21 17:58:28 +08:00
|
|
|
"inquirer": "^6.2.2",
|
2019-04-03 17:41:08 +08:00
|
|
|
"jest": "^24.6.0",
|
2019-01-11 23:19:34 +08:00
|
|
|
"jest-date-mock": "^1.0.6",
|
2019-02-11 22:23:17 +08:00
|
|
|
"lint-staged": "^8.1.3",
|
2016-12-09 22:57:25 +08:00
|
|
|
"load-grunt-tasks": "3.5.2",
|
2019-03-12 22:33:16 +08:00
|
|
|
"mini-css-extract-plugin": "^0.5.0",
|
2017-10-08 04:05:31 +08:00
|
|
|
"mocha": "^4.0.1",
|
2018-12-18 21:54:41 +08:00
|
|
|
"monaco-editor": "^0.15.6",
|
2017-10-02 02:02:25 +08:00
|
|
|
"ng-annotate-loader": "^0.6.1",
|
2018-08-20 17:55:29 +08:00
|
|
|
"ng-annotate-webpack-plugin": "^0.3.0",
|
2017-10-02 02:02:25 +08:00
|
|
|
"ngtemplate-loader": "^2.0.1",
|
2018-12-26 04:11:18 +08:00
|
|
|
"node-sass": "^4.11.0",
|
2019-03-13 16:12:04 +08:00
|
|
|
"npm": "^6.9.0",
|
2019-03-13 04:36:55 +08:00
|
|
|
"optimize-css-assets-webpack-plugin": "^5.0.1",
|
2019-03-13 17:18:38 +08:00
|
|
|
"ora": "^3.2.0",
|
2017-09-28 16:37:33 +08:00
|
|
|
"phantomjs-prebuilt": "^2.1.15",
|
2017-10-02 02:02:25 +08:00
|
|
|
"postcss-browser-reporter": "^0.5.0",
|
2019-03-13 03:52:56 +08:00
|
|
|
"postcss-loader": "^3.0.0",
|
2019-03-13 04:52:22 +08:00
|
|
|
"postcss-reporter": "^6.0.1",
|
2019-02-19 22:41:35 +08:00
|
|
|
"prettier": "1.16.4",
|
2019-03-25 19:08:28 +08:00
|
|
|
"react-hooks-testing-library": "^0.3.7",
|
2018-09-11 22:31:34 +08:00
|
|
|
"react-hot-loader": "^4.3.6",
|
|
|
|
"react-test-renderer": "^16.5.0",
|
2019-02-06 21:35:53 +08:00
|
|
|
"redux-mock-store": "^1.5.3",
|
2019-01-22 02:22:53 +08:00
|
|
|
"regexp-replace-loader": "^1.0.1",
|
2019-02-21 17:58:28 +08:00
|
|
|
"rimraf": "^2.6.3",
|
2016-12-09 22:57:25 +08:00
|
|
|
"sass-lint": "^1.10.2",
|
2019-03-13 03:52:56 +08:00
|
|
|
"sass-loader": "7.1.0",
|
2019-02-21 17:58:28 +08:00
|
|
|
"semver": "^5.6.0",
|
2017-10-02 02:02:25 +08:00
|
|
|
"sinon": "1.17.6",
|
2019-03-13 03:52:56 +08:00
|
|
|
"style-loader": "0.23.1",
|
2017-10-02 02:02:25 +08:00
|
|
|
"systemjs": "0.20.19",
|
|
|
|
"systemjs-plugin-css": "^0.1.36",
|
2019-03-11 21:56:16 +08:00
|
|
|
"terser-webpack-plugin": "^1.2.3",
|
2019-04-03 17:41:08 +08:00
|
|
|
"ts-jest": "^24.0.1",
|
2019-03-13 03:52:56 +08:00
|
|
|
"ts-loader": "5.3.3",
|
2019-03-13 20:10:29 +08:00
|
|
|
"ts-node": "8.0.2",
|
2019-03-13 03:52:56 +08:00
|
|
|
"tslib": "1.9.3",
|
2019-03-13 16:38:49 +08:00
|
|
|
"tslint": "5.14.0",
|
2017-10-02 02:02:25 +08:00
|
|
|
"tslint-loader": "^3.5.3",
|
2018-12-25 18:42:23 +08:00
|
|
|
"tslint-react": "^3.6.0",
|
2019-04-03 17:41:08 +08:00
|
|
|
"typescript": "3.4.1",
|
2019-03-11 21:48:20 +08:00
|
|
|
"webpack": "4.29.6",
|
2019-03-13 03:52:56 +08:00
|
|
|
"webpack-bundle-analyzer": "3.1.0",
|
2018-01-12 01:14:56 +08:00
|
|
|
"webpack-cleanup-plugin": "^0.5.1",
|
2019-03-13 03:52:56 +08:00
|
|
|
"webpack-cli": "3.2.3",
|
|
|
|
"webpack-dev-server": "3.2.1",
|
|
|
|
"webpack-merge": "4.2.1",
|
2017-10-02 19:15:28 +08:00
|
|
|
"zone.js": "^0.7.2"
|
2013-07-21 05:56:59 +08:00
|
|
|
},
|
2014-02-01 18:26:22 +08:00
|
|
|
"scripts": {
|
2018-06-26 16:28:37 +08:00
|
|
|
"dev": "webpack --progress --colors --mode development --config scripts/webpack/webpack.dev.js",
|
2019-03-05 15:56:29 +08:00
|
|
|
"start": "ts-node --project ./scripts/cli/tsconfig.json ./scripts/cli/index.ts core:start --watchTheme",
|
|
|
|
"start:hot": "ts-node --project ./scripts/cli/tsconfig.json ./scripts/cli/index.ts core:start --hot --watchTheme",
|
|
|
|
"start:ignoreTheme": "ts-node --project ./scripts/cli/tsconfig.json ./scripts/cli/index.ts core:start --hot",
|
|
|
|
"watch": "yarn start -d watch,start core:start --watchTheme ",
|
2017-11-13 20:48:48 +08:00
|
|
|
"build": "grunt build",
|
|
|
|
"test": "grunt test",
|
2018-12-21 21:23:32 +08:00
|
|
|
"tslint": "tslint -c tslint.json --project tsconfig.json",
|
|
|
|
"typecheck": "tsc --noEmit",
|
2018-04-02 14:09:10 +08:00
|
|
|
"jest": "jest --notify --watch",
|
|
|
|
"api-tests": "jest --notify --watch --config=tests/api/jest.js",
|
2019-02-11 17:32:17 +08:00
|
|
|
"storybook": "cd packages/grafana-ui && yarn storybook",
|
2019-04-02 19:18:13 +08:00
|
|
|
"storybook:build": "cd packages/grafana-ui && yarn storybook:build",
|
2019-02-20 00:27:25 +08:00
|
|
|
"themes:generate": "ts-node --project ./scripts/cli/tsconfig.json ./scripts/cli/generateSassVariableFiles.ts",
|
2019-02-21 17:58:28 +08:00
|
|
|
"prettier:check": "prettier --list-different \"**/*.{ts,tsx,scss}\"",
|
2019-03-05 15:56:29 +08:00
|
|
|
"gui:build": "ts-node --project ./scripts/cli/tsconfig.json ./scripts/cli/index.ts gui:build",
|
|
|
|
"gui:releasePrepare": "ts-node --project ./scripts/cli/tsconfig.json ./scripts/cli/index.ts gui:release",
|
|
|
|
"gui:publish": "cd packages/grafana-ui/dist && npm publish --access public",
|
2019-03-08 21:42:19 +08:00
|
|
|
"gui:release": "ts-node --project ./scripts/cli/tsconfig.json ./scripts/cli/index.ts gui:release -p --createVersionCommit",
|
2019-03-06 20:18:13 +08:00
|
|
|
"cli": "ts-node --project ./scripts/cli/tsconfig.json ./scripts/cli/index.ts"
|
2018-12-26 03:18:38 +08:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged && grunt precommit"
|
|
|
|
}
|
2017-12-19 20:23:09 +08:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
2019-02-19 22:41:35 +08:00
|
|
|
"*.{ts,tsx,json,scss}": [
|
2018-12-25 16:59:23 +08:00
|
|
|
"prettier --write",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*pkg/**/*.go": [
|
|
|
|
"gofmt -w -s",
|
|
|
|
"git add"
|
|
|
|
]
|
2014-02-01 18:26:22 +08:00
|
|
|
},
|
2017-12-21 15:39:31 +08:00
|
|
|
"prettier": {
|
|
|
|
"trailingComma": "es5",
|
|
|
|
"singleQuote": true,
|
|
|
|
"printWidth": 120
|
|
|
|
},
|
2015-08-27 06:35:59 +08:00
|
|
|
"license": "Apache-2.0",
|
2014-05-31 13:46:39 +08:00
|
|
|
"dependencies": {
|
2018-10-29 19:18:41 +08:00
|
|
|
"@babel/polyfill": "^7.0.0",
|
2019-03-05 17:47:52 +08:00
|
|
|
"@torkelo/react-select": "2.4.1",
|
2019-02-11 23:57:49 +08:00
|
|
|
"@types/reselect": "^2.2.0",
|
2018-05-29 19:23:07 +08:00
|
|
|
"angular": "1.6.6",
|
2018-06-26 16:28:37 +08:00
|
|
|
"angular-bindonce": "0.3.1",
|
|
|
|
"angular-native-dragdrop": "1.2.2",
|
2018-05-29 19:23:07 +08:00
|
|
|
"angular-route": "1.6.6",
|
|
|
|
"angular-sanitize": "1.6.6",
|
2018-03-28 04:27:23 +08:00
|
|
|
"baron": "^3.0.3",
|
2017-10-02 02:02:25 +08:00
|
|
|
"brace": "^0.10.0",
|
2019-04-09 20:25:13 +08:00
|
|
|
"calculate-size": "1.1.1",
|
2018-12-25 18:42:23 +08:00
|
|
|
"classnames": "^2.2.6",
|
2019-03-20 01:24:09 +08:00
|
|
|
"clipboard": "^2.0.4",
|
2017-11-22 21:46:17 +08:00
|
|
|
"d3": "^4.11.0",
|
2018-07-10 17:17:55 +08:00
|
|
|
"d3-scale-chromatic": "^1.3.0",
|
2017-12-09 07:48:39 +08:00
|
|
|
"eventemitter3": "^2.0.3",
|
2017-10-02 02:02:25 +08:00
|
|
|
"file-saver": "^1.3.3",
|
2018-04-26 17:58:42 +08:00
|
|
|
"immutable": "^3.8.2",
|
2017-10-02 19:15:28 +08:00
|
|
|
"jquery": "^3.2.1",
|
2018-07-09 04:06:08 +08:00
|
|
|
"lodash": "^4.17.10",
|
|
|
|
"moment": "^2.22.2",
|
2016-11-02 19:55:58 +08:00
|
|
|
"mousetrap": "^1.6.0",
|
2018-02-16 16:14:32 +08:00
|
|
|
"mousetrap-global-bind": "^1.1.0",
|
2019-02-14 18:24:34 +08:00
|
|
|
"nodemon": "^1.18.10",
|
2019-03-14 15:36:56 +08:00
|
|
|
"papaparse": "^4.6.3",
|
2018-04-26 17:58:42 +08:00
|
|
|
"prismjs": "^1.6.0",
|
2018-09-11 22:31:34 +08:00
|
|
|
"prop-types": "^15.6.2",
|
2018-08-06 05:07:05 +08:00
|
|
|
"rc-cascader": "^0.14.0",
|
2019-03-19 23:11:47 +08:00
|
|
|
"react": "^16.8.4",
|
|
|
|
"react-dom": "^16.8.4",
|
2018-05-29 19:23:07 +08:00
|
|
|
"react-grid-layout": "0.16.6",
|
2018-12-01 22:26:51 +08:00
|
|
|
"react-highlight-words": "0.11.0",
|
2018-12-25 16:59:23 +08:00
|
|
|
"react-popper": "^1.3.0",
|
2018-07-09 15:17:38 +08:00
|
|
|
"react-redux": "^5.0.7",
|
2017-10-09 23:24:10 +08:00
|
|
|
"react-sizeme": "^2.3.6",
|
2018-10-17 20:58:04 +08:00
|
|
|
"react-table": "^6.8.6",
|
2018-01-31 21:19:07 +08:00
|
|
|
"react-transition-group": "^2.2.1",
|
2018-11-14 01:50:12 +08:00
|
|
|
"react-virtualized": "^9.21.0",
|
2019-04-09 20:25:13 +08:00
|
|
|
"react-window": "1.7.1",
|
2018-07-09 15:17:38 +08:00
|
|
|
"redux": "^4.0.0",
|
|
|
|
"redux-logger": "^3.0.6",
|
|
|
|
"redux-thunk": "^2.3.0",
|
2016-12-09 22:57:25 +08:00
|
|
|
"remarkable": "^1.7.1",
|
2019-02-11 23:57:49 +08:00
|
|
|
"reselect": "^4.0.0",
|
2017-12-30 04:49:54 +08:00
|
|
|
"rst2html": "github:thoward/rst2html#990cb89",
|
2018-12-14 22:47:23 +08:00
|
|
|
"rxjs": "^6.3.3",
|
2018-04-26 17:58:42 +08:00
|
|
|
"slate": "^0.33.4",
|
|
|
|
"slate-plain-serializer": "^0.5.10",
|
2018-09-14 22:32:54 +08:00
|
|
|
"slate-prism": "^0.5.0",
|
2018-04-26 17:58:42 +08:00
|
|
|
"slate-react": "^0.12.4",
|
2016-12-09 22:57:25 +08:00
|
|
|
"tether": "^1.4.0",
|
2018-02-25 07:50:49 +08:00
|
|
|
"tether-drop": "https://github.com/torkelo/drop/tarball/master",
|
2019-01-17 21:44:52 +08:00
|
|
|
"tinycolor2": "^1.4.1",
|
|
|
|
"xss": "^1.0.3"
|
2018-05-11 20:10:54 +08:00
|
|
|
},
|
|
|
|
"resolutions": {
|
2018-11-15 04:27:25 +08:00
|
|
|
"caniuse-db": "1.0.30000772",
|
2019-03-19 23:11:47 +08:00
|
|
|
"**/@types/react": "16.8.8"
|
2018-12-20 16:25:04 +08:00
|
|
|
},
|
2018-12-25 16:59:23 +08:00
|
|
|
"workspaces": {
|
2018-12-25 15:55:44 +08:00
|
|
|
"packages": [
|
|
|
|
"packages/*"
|
|
|
|
],
|
|
|
|
"nohoist": [
|
|
|
|
"**/@types/*",
|
|
|
|
"**/@types/*/**"
|
|
|
|
]
|
|
|
|
}
|
2018-05-29 19:23:07 +08:00
|
|
|
}
|