|
|
@@ -1,4 +1,5 @@
|
|
|
{
|
|
|
+ "private": true,
|
|
|
"author": {
|
|
|
"name": "Torkel Ödegaard",
|
|
|
"company": "Grafana Labs"
|
|
|
@@ -11,19 +12,21 @@
|
|
|
},
|
|
|
"devDependencies": {
|
|
|
"@babel/core": "^7.1.2",
|
|
|
- "@rtsao/plugin-proposal-class-properties": "^7.0.1-patch.1",
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
|
"@babel/preset-env": "^7.1.0",
|
|
|
"@babel/preset-react": "^7.0.0",
|
|
|
"@babel/preset-typescript": "^7.1.0",
|
|
|
+ "@rtsao/plugin-proposal-class-properties": "^7.0.1-patch.1",
|
|
|
"@types/d3": "^4.10.1",
|
|
|
"@types/enzyme": "^3.1.13",
|
|
|
"@types/jest": "^23.3.2",
|
|
|
+ "@types/jquery": "^1.10.35",
|
|
|
"@types/node": "^8.0.31",
|
|
|
"@types/react": "^16.7.6",
|
|
|
"@types/react-custom-scrollbars": "^4.0.5",
|
|
|
"@types/react-dom": "^16.0.9",
|
|
|
"@types/react-select": "^2.0.4",
|
|
|
+ "@types/classnames": "^2.2.6",
|
|
|
"angular-mocks": "1.6.6",
|
|
|
"autoprefixer": "^6.4.0",
|
|
|
"axios": "^0.17.1",
|
|
|
@@ -92,6 +95,7 @@
|
|
|
"tslib": "^1.9.3",
|
|
|
"tslint": "^5.8.0",
|
|
|
"tslint-loader": "^3.5.3",
|
|
|
+ "tslint-react": "^3.6.0",
|
|
|
"typescript": "^3.0.3",
|
|
|
"uglifyjs-webpack-plugin": "^1.2.7",
|
|
|
"webpack": "4.19.1",
|
|
|
@@ -108,15 +112,25 @@
|
|
|
"watch": "webpack --progress --colors --watch --mode development --config scripts/webpack/webpack.dev.js",
|
|
|
"build": "grunt build",
|
|
|
"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",
|
|
|
"api-tests": "jest --notify --watch --config=tests/api/jest.js",
|
|
|
"precommit": "lint-staged && grunt precommit"
|
|
|
},
|
|
|
"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": {
|
|
|
"trailingComma": "es5",
|
|
|
@@ -126,6 +140,7 @@
|
|
|
"license": "Apache-2.0",
|
|
|
"dependencies": {
|
|
|
"@babel/polyfill": "^7.0.0",
|
|
|
+ "@torkelo/react-select": "2.1.1",
|
|
|
"angular": "1.6.6",
|
|
|
"angular-bindonce": "0.3.1",
|
|
|
"angular-native-dragdrop": "1.2.2",
|
|
|
@@ -133,7 +148,7 @@
|
|
|
"angular-sanitize": "1.6.6",
|
|
|
"baron": "^3.0.3",
|
|
|
"brace": "^0.10.0",
|
|
|
- "classnames": "^2.2.5",
|
|
|
+ "classnames": "^2.2.6",
|
|
|
"clipboard": "^1.7.1",
|
|
|
"d3": "^4.11.0",
|
|
|
"d3-scale-chromatic": "^1.3.0",
|
|
|
@@ -152,10 +167,9 @@
|
|
|
"react-custom-scrollbars": "^4.2.1",
|
|
|
"react-dom": "^16.6.3",
|
|
|
"react-grid-layout": "0.16.6",
|
|
|
- "react-popper": "^1.3.0",
|
|
|
"react-highlight-words": "0.11.0",
|
|
|
+ "react-popper": "^1.3.0",
|
|
|
"react-redux": "^5.0.7",
|
|
|
- "@torkelo/react-select": "2.1.1",
|
|
|
"react-sizeme": "^2.3.6",
|
|
|
"react-table": "^6.8.6",
|
|
|
"react-transition-group": "^2.2.1",
|
|
|
@@ -172,11 +186,19 @@
|
|
|
"slate-react": "^0.12.4",
|
|
|
"tether": "^1.4.0",
|
|
|
"tether-drop": "https://github.com/torkelo/drop/tarball/master",
|
|
|
- "tinycolor2": "^1.4.1",
|
|
|
- "tslint-react": "^3.6.0"
|
|
|
+ "tinycolor2": "^1.4.1"
|
|
|
},
|
|
|
"resolutions": {
|
|
|
"caniuse-db": "1.0.30000772",
|
|
|
"**/@types/react": "16.7.6"
|
|
|
+ },
|
|
|
+ "workspaces": {
|
|
|
+ "packages": [
|
|
|
+ "packages/*"
|
|
|
+ ],
|
|
|
+ "nohoist": [
|
|
|
+ "**/@types/*",
|
|
|
+ "**/@types/*/**"
|
|
|
+ ]
|
|
|
}
|
|
|
}
|