2019-01-31 20:26:41 -05:00
|
|
|
{
|
|
|
|
"name": "web-console",
|
2019-10-25 20:53:06 -04:00
|
|
|
"version": "0.17.0",
|
2019-01-31 20:26:41 -05:00
|
|
|
"description": "A web console for Apache Druid",
|
|
|
|
"author": "Imply Data Inc.",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/apache/druid/"
|
|
|
|
},
|
2019-05-03 20:14:57 -04:00
|
|
|
"jest": {
|
|
|
|
"preset": "ts-jest",
|
|
|
|
"testEnvironment": "jsdom",
|
|
|
|
"moduleNameMapper": {
|
2019-05-22 23:36:51 -04:00
|
|
|
"\\.s?css$": "identity-obj-proxy"
|
2019-05-03 20:14:57 -04:00
|
|
|
},
|
|
|
|
"testMatch": [
|
|
|
|
"**/?(*.)+(spec).ts?(x)"
|
2019-05-22 23:36:51 -04:00
|
|
|
],
|
|
|
|
"snapshotSerializers": [
|
|
|
|
"enzyme-to-json/serializer"
|
|
|
|
],
|
|
|
|
"setupFilesAfterEnv": [
|
|
|
|
"<rootDir>src/setup-tests.ts"
|
2019-05-03 20:14:57 -04:00
|
|
|
]
|
|
|
|
},
|
2019-06-21 19:52:33 -04:00
|
|
|
"prettier": {
|
|
|
|
"trailingComma": "all",
|
|
|
|
"tabWidth": 2,
|
|
|
|
"semi": true,
|
|
|
|
"singleQuote": true,
|
|
|
|
"printWidth": 100,
|
|
|
|
"endOfLine": "lf"
|
|
|
|
},
|
2019-01-31 20:26:41 -05:00
|
|
|
"scripts": {
|
|
|
|
"compile": "./script/build",
|
|
|
|
"pretest": "./script/build",
|
2019-07-29 17:41:27 -04:00
|
|
|
"test": "npm run tslint && npm run sasslint && jest --silent 2>&1",
|
2019-08-28 11:49:30 -04:00
|
|
|
"test-ci": "npm run tslint && npm run sasslint && jest --coverage",
|
|
|
|
"codecov": "codecov --disable=gcov -p ..",
|
2019-05-22 23:36:51 -04:00
|
|
|
"coverage": "jest --coverage",
|
2019-05-28 20:12:50 -04:00
|
|
|
"update-snapshots": "jest -u",
|
2019-04-07 23:19:08 -04:00
|
|
|
"tslint": "./node_modules/.bin/tslint -c tslint.json --project tsconfig.json --formatters-dir ./node_modules/awesome-code-style/formatter 'src/**/*.ts?(x)'",
|
|
|
|
"tslint-fix": "npm run tslint -- --fix",
|
2019-05-03 20:14:57 -04:00
|
|
|
"tslint-changed-only": "git diff --diff-filter=ACMR --cached --name-only | grep -E \\.tsx\\?$ | xargs ./node_modules/.bin/tslint -c tslint.json --project tsconfig.json --formatters-dir ./node_modules/awesome-code-style/formatter",
|
2019-04-07 23:19:08 -04:00
|
|
|
"tslint-fix-changed-only": "npm run tslint-changed-only -- --fix",
|
2019-07-29 17:41:27 -04:00
|
|
|
"sasslint": "./node_modules/.bin/stylelint --config sasslint.json 'src/**/*.scss'",
|
|
|
|
"sasslint-fix": "npm run sasslint -- --fix",
|
|
|
|
"sasslint-changed-only": "git diff --diff-filter=ACMR --name-only | grep -E \\.scss$ | xargs ./node_modules/.bin/stylelint --config sasslint.json",
|
|
|
|
"sasslint-fix-changed-only": "npm run sasslint-changed-only -- --fix",
|
2019-03-02 15:22:54 -05:00
|
|
|
"generate-licenses-file": "license-checker --production --json --out licenses.json",
|
|
|
|
"check-licenses": "license-checker --production --onlyAllow 'Apache-1.1;Apache-2.0;BSD-2-Clause;BSD-3-Clause;MIT;CC0-1.0' --summary",
|
2019-07-29 17:41:27 -04:00
|
|
|
"start": "webpack-dev-server --hot --open"
|
2019-01-31 20:26:41 -05:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2019-10-23 19:50:08 -04:00
|
|
|
"@blueprintjs/core": "^3.19.1",
|
|
|
|
"@blueprintjs/icons": "^3.11.0",
|
2019-11-07 16:07:17 -05:00
|
|
|
"@blueprintjs/datetime": "^3.11.0",
|
2019-06-01 13:14:13 -04:00
|
|
|
"axios": "^0.19.0",
|
2019-02-25 23:54:56 -05:00
|
|
|
"brace": "^0.11.1",
|
2019-01-31 20:26:41 -05:00
|
|
|
"classnames": "^2.2.6",
|
2019-06-01 20:37:54 -04:00
|
|
|
"copy-to-clipboard": "^3.2.0",
|
2019-10-25 20:53:06 -04:00
|
|
|
"core-js": "^3.3.4",
|
|
|
|
"d3": "^5.12.0",
|
|
|
|
"d3-array": "^2.3.3",
|
2019-08-21 16:52:48 -04:00
|
|
|
"druid-console": "0.0.2",
|
2019-10-10 13:52:46 -04:00
|
|
|
"druid-query-toolkit": "^0.3.29",
|
2019-05-29 11:50:06 -04:00
|
|
|
"file-saver": "^2.0.2",
|
2019-06-19 15:48:31 -04:00
|
|
|
"has-own-prop": "^2.0.0",
|
2019-10-25 20:53:06 -04:00
|
|
|
"hjson": "^3.2.1",
|
2019-01-31 20:26:41 -05:00
|
|
|
"lodash.debounce": "^4.0.8",
|
2019-07-27 04:46:37 -04:00
|
|
|
"lodash.escape": "^4.0.1",
|
2019-10-25 20:53:06 -04:00
|
|
|
"memoize-one": "^5.1.1",
|
2019-01-31 20:26:41 -05:00
|
|
|
"numeral": "^2.0.6",
|
2019-10-25 20:53:06 -04:00
|
|
|
"react": "^16.11.0",
|
2019-07-16 12:22:12 -04:00
|
|
|
"react-ace": "^7.0.2",
|
2019-10-25 20:53:06 -04:00
|
|
|
"react-dom": "^16.11.0",
|
|
|
|
"react-router": "^5.1.2",
|
|
|
|
"react-router-dom": "^5.1.2",
|
2019-05-24 18:01:45 -04:00
|
|
|
"react-splitter-layout": "^4.0.0",
|
2019-10-25 20:53:06 -04:00
|
|
|
"react-table": "~6.10.3",
|
2019-07-30 20:54:39 -04:00
|
|
|
"regenerator-runtime": "^0.13.3",
|
2019-07-16 12:22:12 -04:00
|
|
|
"tslib": "^1.10.0"
|
2019-01-31 20:26:41 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-10-25 20:53:06 -04:00
|
|
|
"@babel/core": "^7.6.4",
|
|
|
|
"@babel/preset-env": "^7.6.3",
|
|
|
|
"@testing-library/react": "^8.0.9",
|
2019-07-16 12:22:12 -04:00
|
|
|
"@types/classnames": "^2.2.9",
|
2019-07-31 01:35:30 -04:00
|
|
|
"@types/d3": "^5.7.2",
|
2019-04-07 23:19:08 -04:00
|
|
|
"@types/d3-array": "^2.0.0",
|
2019-07-30 20:54:39 -04:00
|
|
|
"@types/enzyme": "^3.10.3",
|
2019-05-22 23:36:51 -04:00
|
|
|
"@types/enzyme-adapter-react-16": "^1.0.5",
|
2019-05-29 11:50:06 -04:00
|
|
|
"@types/file-saver": "^2.0.1",
|
2019-04-07 23:19:08 -04:00
|
|
|
"@types/hjson": "^2.4.1",
|
2019-10-25 20:53:06 -04:00
|
|
|
"@types/jest": "^24.0.19",
|
2019-04-07 23:19:08 -04:00
|
|
|
"@types/lodash.debounce": "^4.0.6",
|
2019-07-27 04:46:37 -04:00
|
|
|
"@types/lodash.escape": "^4.0.6",
|
2019-07-16 12:22:12 -04:00
|
|
|
"@types/memoize-one": "^4.1.1",
|
2019-10-25 20:53:06 -04:00
|
|
|
"@types/node": "^12.11.7",
|
2019-08-21 16:52:48 -04:00
|
|
|
"@types/numeral": "^0.0.26",
|
2019-10-25 20:53:06 -04:00
|
|
|
"@types/react": "^16.9.11",
|
|
|
|
"@types/react-dom": "^16.9.3",
|
|
|
|
"@types/react-router-dom": "^5.1.0",
|
2019-05-24 18:01:45 -04:00
|
|
|
"@types/react-splitter-layout": "^3.0.0",
|
2019-07-30 20:54:39 -04:00
|
|
|
"@types/react-table": "6.8.5",
|
2019-10-25 20:53:06 -04:00
|
|
|
"autoprefixer": "^9.7.0",
|
2019-07-30 20:54:39 -04:00
|
|
|
"awesome-code-style": "^1.4.3",
|
2019-07-16 12:22:12 -04:00
|
|
|
"babel-loader": "^8.0.6",
|
2019-10-25 20:53:06 -04:00
|
|
|
"codecov": "^3.6.1",
|
2019-08-21 16:52:48 -04:00
|
|
|
"css-loader": "^3.2.0",
|
2019-07-16 12:22:12 -04:00
|
|
|
"enzyme": "^3.10.0",
|
2019-10-25 20:53:06 -04:00
|
|
|
"enzyme-adapter-react-16": "^1.15.1",
|
|
|
|
"enzyme-to-json": "^3.4.3",
|
2019-07-16 12:22:12 -04:00
|
|
|
"fs-extra": "^8.1.0",
|
2019-01-31 20:26:41 -05:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
|
|
|
"ignore-styles": "^5.0.1",
|
2019-08-21 16:52:48 -04:00
|
|
|
"jest": "^24.9.0",
|
2019-03-02 15:22:54 -05:00
|
|
|
"license-checker": "^25.0.1",
|
2019-10-25 20:53:06 -04:00
|
|
|
"node-sass": "^4.13.0",
|
2019-05-29 11:50:06 -04:00
|
|
|
"node-sass-chokidar": "^1.3.5",
|
2019-07-16 12:22:12 -04:00
|
|
|
"postcss-cli": "^6.1.3",
|
2019-01-31 20:26:41 -05:00
|
|
|
"postcss-loader": "^3.0.0",
|
2019-07-16 12:22:12 -04:00
|
|
|
"postcss-preset-env": "^6.7.0",
|
2019-10-25 20:53:06 -04:00
|
|
|
"sass-loader": "^8.0.0",
|
2019-08-21 16:52:48 -04:00
|
|
|
"style-loader": "^1.0.0",
|
2019-10-25 20:53:06 -04:00
|
|
|
"stylelint": "^11.1.1",
|
|
|
|
"stylelint-config-recommended-scss": "^4.0.0",
|
|
|
|
"stylelint-scss": "^3.12.0",
|
|
|
|
"stylus": "^0.54.7",
|
|
|
|
"ts-jest": "^24.1.0",
|
|
|
|
"ts-loader": "^6.2.1",
|
|
|
|
"ts-node": "^8.4.1",
|
|
|
|
"tslint": "^5.20.0",
|
2019-03-17 12:23:17 -04:00
|
|
|
"tslint-loader": "^3.5.4",
|
2019-10-25 20:53:06 -04:00
|
|
|
"typescript": "^3.6.4",
|
|
|
|
"webpack": "^4.41.2",
|
|
|
|
"webpack-bundle-analyzer": "^3.6.0",
|
|
|
|
"webpack-cli": "^3.3.9",
|
|
|
|
"webpack-dev-server": "^3.9.0"
|
2019-01-31 20:26:41 -05:00
|
|
|
}
|
|
|
|
}
|