|
@@ -1,4 +1,5 @@
|
|
|
{
|
|
{
|
|
|
|
|
+ "private": true,
|
|
|
"author": {
|
|
"author": {
|
|
|
"name": "Torkel Ödegaard",
|
|
"name": "Torkel Ödegaard",
|
|
|
"company": "Grafana Labs"
|
|
"company": "Grafana Labs"
|
|
@@ -11,14 +12,16 @@
|
|
|
},
|
|
},
|
|
|
"devDependencies": {
|
|
"devDependencies": {
|
|
|
"@babel/core": "^7.1.2",
|
|
"@babel/core": "^7.1.2",
|
|
|
- "@rtsao/plugin-proposal-class-properties": "^7.0.1-patch.1",
|
|
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
|
"@babel/preset-env": "^7.1.0",
|
|
"@babel/preset-env": "^7.1.0",
|
|
|
"@babel/preset-react": "^7.0.0",
|
|
"@babel/preset-react": "^7.0.0",
|
|
|
"@babel/preset-typescript": "^7.1.0",
|
|
"@babel/preset-typescript": "^7.1.0",
|
|
|
|
|
+ "@rtsao/plugin-proposal-class-properties": "^7.0.1-patch.1",
|
|
|
|
|
+ "@types/classnames": "^2.2.6",
|
|
|
"@types/d3": "^4.10.1",
|
|
"@types/d3": "^4.10.1",
|
|
|
"@types/enzyme": "^3.1.13",
|
|
"@types/enzyme": "^3.1.13",
|
|
|
"@types/jest": "^23.3.2",
|
|
"@types/jest": "^23.3.2",
|
|
|
|
|
+ "@types/jquery": "^1.10.35",
|
|
|
"@types/node": "^8.0.31",
|
|
"@types/node": "^8.0.31",
|
|
|
"@types/react": "^16.7.6",
|
|
"@types/react": "^16.7.6",
|
|
|
"@types/react-custom-scrollbars": "^4.0.5",
|
|
"@types/react-custom-scrollbars": "^4.0.5",
|
|
@@ -49,15 +52,12 @@
|
|
|
"grunt-cli": "~1.2.0",
|
|
"grunt-cli": "~1.2.0",
|
|
|
"grunt-contrib-clean": "~1.0.0",
|
|
"grunt-contrib-clean": "~1.0.0",
|
|
|
"grunt-contrib-compress": "^1.3.0",
|
|
"grunt-contrib-compress": "^1.3.0",
|
|
|
- "grunt-contrib-concat": "^1.0.1",
|
|
|
|
|
"grunt-contrib-copy": "~1.0.0",
|
|
"grunt-contrib-copy": "~1.0.0",
|
|
|
- "grunt-contrib-cssmin": "~1.0.2",
|
|
|
|
|
"grunt-exec": "^1.0.1",
|
|
"grunt-exec": "^1.0.1",
|
|
|
"grunt-newer": "^1.3.0",
|
|
"grunt-newer": "^1.3.0",
|
|
|
"grunt-notify": "^0.4.5",
|
|
"grunt-notify": "^0.4.5",
|
|
|
"grunt-postcss": "^0.8.0",
|
|
"grunt-postcss": "^0.8.0",
|
|
|
- "grunt-sass": "^2.0.0",
|
|
|
|
|
- "grunt-sass-lint": "^0.2.2",
|
|
|
|
|
|
|
+ "grunt-sass-lint": "^0.2.4",
|
|
|
"grunt-usemin": "3.1.1",
|
|
"grunt-usemin": "3.1.1",
|
|
|
"grunt-webpack": "^3.0.2",
|
|
"grunt-webpack": "^3.0.2",
|
|
|
"html-loader": "^0.5.1",
|
|
"html-loader": "^0.5.1",
|
|
@@ -73,6 +73,7 @@
|
|
|
"ng-annotate-webpack-plugin": "^0.3.0",
|
|
"ng-annotate-webpack-plugin": "^0.3.0",
|
|
|
"ngtemplate-loader": "^2.0.1",
|
|
"ngtemplate-loader": "^2.0.1",
|
|
|
"npm": "^5.4.2",
|
|
"npm": "^5.4.2",
|
|
|
|
|
+ "node-sass": "^4.11.0",
|
|
|
"optimize-css-assets-webpack-plugin": "^4.0.2",
|
|
"optimize-css-assets-webpack-plugin": "^4.0.2",
|
|
|
"phantomjs-prebuilt": "^2.1.15",
|
|
"phantomjs-prebuilt": "^2.1.15",
|
|
|
"postcss-browser-reporter": "^0.5.0",
|
|
"postcss-browser-reporter": "^0.5.0",
|
|
@@ -92,6 +93,7 @@
|
|
|
"tslib": "^1.9.3",
|
|
"tslib": "^1.9.3",
|
|
|
"tslint": "^5.8.0",
|
|
"tslint": "^5.8.0",
|
|
|
"tslint-loader": "^3.5.3",
|
|
"tslint-loader": "^3.5.3",
|
|
|
|
|
+ "tslint-react": "^3.6.0",
|
|
|
"typescript": "^3.0.3",
|
|
"typescript": "^3.0.3",
|
|
|
"uglifyjs-webpack-plugin": "^1.2.7",
|
|
"uglifyjs-webpack-plugin": "^1.2.7",
|
|
|
"webpack": "4.19.1",
|
|
"webpack": "4.19.1",
|
|
@@ -108,15 +110,30 @@
|
|
|
"watch": "webpack --progress --colors --watch --mode development --config scripts/webpack/webpack.dev.js",
|
|
"watch": "webpack --progress --colors --watch --mode development --config scripts/webpack/webpack.dev.js",
|
|
|
"build": "grunt build",
|
|
"build": "grunt build",
|
|
|
"test": "grunt test",
|
|
"test": "grunt test",
|
|
|
- "lint": "tslint -c tslint.json --project tsconfig.json",
|
|
|
|
|
|
|
+ "tslint": "tslint -c tslint.json --project tsconfig.json",
|
|
|
|
|
+ "typecheck": "tsc --noEmit",
|
|
|
"jest": "jest --notify --watch",
|
|
"jest": "jest --notify --watch",
|
|
|
"api-tests": "jest --notify --watch --config=tests/api/jest.js",
|
|
"api-tests": "jest --notify --watch --config=tests/api/jest.js",
|
|
|
- "precommit": "lint-staged && grunt precommit"
|
|
|
|
|
|
|
+ "precommit": "grunt precommit"
|
|
|
|
|
+ },
|
|
|
|
|
+ "husky": {
|
|
|
|
|
+ "hooks": {
|
|
|
|
|
+ "pre-commit": "lint-staged && grunt precommit"
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
"lint-staged": {
|
|
"lint-staged": {
|
|
|
- "*.{ts,tsx}": ["prettier --write", "git add"],
|
|
|
|
|
- "*.scss": ["prettier --write", "git add"],
|
|
|
|
|
- "*pkg/**/*.go": ["gofmt -w -s", "git add"]
|
|
|
|
|
|
|
+ "*.{ts,tsx}": [
|
|
|
|
|
+ "prettier --write",
|
|
|
|
|
+ "git add"
|
|
|
|
|
+ ],
|
|
|
|
|
+ "*.scss": [
|
|
|
|
|
+ "prettier --write",
|
|
|
|
|
+ "git add"
|
|
|
|
|
+ ],
|
|
|
|
|
+ "*pkg/**/*.go": [
|
|
|
|
|
+ "gofmt -w -s",
|
|
|
|
|
+ "git add"
|
|
|
|
|
+ ]
|
|
|
},
|
|
},
|
|
|
"prettier": {
|
|
"prettier": {
|
|
|
"trailingComma": "es5",
|
|
"trailingComma": "es5",
|
|
@@ -126,6 +143,7 @@
|
|
|
"license": "Apache-2.0",
|
|
"license": "Apache-2.0",
|
|
|
"dependencies": {
|
|
"dependencies": {
|
|
|
"@babel/polyfill": "^7.0.0",
|
|
"@babel/polyfill": "^7.0.0",
|
|
|
|
|
+ "@torkelo/react-select": "2.1.1",
|
|
|
"angular": "1.6.6",
|
|
"angular": "1.6.6",
|
|
|
"angular-bindonce": "0.3.1",
|
|
"angular-bindonce": "0.3.1",
|
|
|
"angular-native-dragdrop": "1.2.2",
|
|
"angular-native-dragdrop": "1.2.2",
|
|
@@ -133,7 +151,7 @@
|
|
|
"angular-sanitize": "1.6.6",
|
|
"angular-sanitize": "1.6.6",
|
|
|
"baron": "^3.0.3",
|
|
"baron": "^3.0.3",
|
|
|
"brace": "^0.10.0",
|
|
"brace": "^0.10.0",
|
|
|
- "classnames": "^2.2.5",
|
|
|
|
|
|
|
+ "classnames": "^2.2.6",
|
|
|
"clipboard": "^1.7.1",
|
|
"clipboard": "^1.7.1",
|
|
|
"d3": "^4.11.0",
|
|
"d3": "^4.11.0",
|
|
|
"d3-scale-chromatic": "^1.3.0",
|
|
"d3-scale-chromatic": "^1.3.0",
|
|
@@ -152,10 +170,9 @@
|
|
|
"react-custom-scrollbars": "^4.2.1",
|
|
"react-custom-scrollbars": "^4.2.1",
|
|
|
"react-dom": "^16.6.3",
|
|
"react-dom": "^16.6.3",
|
|
|
"react-grid-layout": "0.16.6",
|
|
"react-grid-layout": "0.16.6",
|
|
|
- "react-popper": "^1.3.0",
|
|
|
|
|
"react-highlight-words": "0.11.0",
|
|
"react-highlight-words": "0.11.0",
|
|
|
|
|
+ "react-popper": "^1.3.0",
|
|
|
"react-redux": "^5.0.7",
|
|
"react-redux": "^5.0.7",
|
|
|
- "@torkelo/react-select": "2.1.1",
|
|
|
|
|
"react-sizeme": "^2.3.6",
|
|
"react-sizeme": "^2.3.6",
|
|
|
"react-table": "^6.8.6",
|
|
"react-table": "^6.8.6",
|
|
|
"react-transition-group": "^2.2.1",
|
|
"react-transition-group": "^2.2.1",
|
|
@@ -165,18 +182,26 @@
|
|
|
"redux-thunk": "^2.3.0",
|
|
"redux-thunk": "^2.3.0",
|
|
|
"remarkable": "^1.7.1",
|
|
"remarkable": "^1.7.1",
|
|
|
"rst2html": "github:thoward/rst2html#990cb89",
|
|
"rst2html": "github:thoward/rst2html#990cb89",
|
|
|
- "rxjs": "^5.4.3",
|
|
|
|
|
|
|
+ "rxjs": "^6.3.3",
|
|
|
"slate": "^0.33.4",
|
|
"slate": "^0.33.4",
|
|
|
"slate-plain-serializer": "^0.5.10",
|
|
"slate-plain-serializer": "^0.5.10",
|
|
|
"slate-prism": "^0.5.0",
|
|
"slate-prism": "^0.5.0",
|
|
|
"slate-react": "^0.12.4",
|
|
"slate-react": "^0.12.4",
|
|
|
"tether": "^1.4.0",
|
|
"tether": "^1.4.0",
|
|
|
"tether-drop": "https://github.com/torkelo/drop/tarball/master",
|
|
"tether-drop": "https://github.com/torkelo/drop/tarball/master",
|
|
|
- "tinycolor2": "^1.4.1",
|
|
|
|
|
- "tslint-react": "^3.6.0"
|
|
|
|
|
|
|
+ "tinycolor2": "^1.4.1"
|
|
|
},
|
|
},
|
|
|
"resolutions": {
|
|
"resolutions": {
|
|
|
"caniuse-db": "1.0.30000772",
|
|
"caniuse-db": "1.0.30000772",
|
|
|
"**/@types/react": "16.7.6"
|
|
"**/@types/react": "16.7.6"
|
|
|
|
|
+ },
|
|
|
|
|
+ "workspaces": {
|
|
|
|
|
+ "packages": [
|
|
|
|
|
+ "packages/*"
|
|
|
|
|
+ ],
|
|
|
|
|
+ "nohoist": [
|
|
|
|
|
+ "**/@types/*",
|
|
|
|
|
+ "**/@types/*/**"
|
|
|
|
|
+ ]
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|