2019-01-31 20:26:41 -05:00
|
|
|
{
|
|
|
|
"name": "web-console",
|
2019-06-30 22:33:16 -04:00
|
|
|
"version": "0.16.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": {
|
|
|
|
"watch": "./script/watch",
|
|
|
|
"compile": "./script/build",
|
|
|
|
"pretest": "./script/build",
|
|
|
|
"run": "./script/run",
|
2019-06-30 22:33:16 -04:00
|
|
|
"test": "npm run tslint && npm run stylelint && jest --silent 2>&1",
|
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-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-03-28 20:32:01 -04:00
|
|
|
"start": "webpack-dev-server --hot --open",
|
|
|
|
"stylelint": "stylelint 'src/**/*.scss'"
|
2019-01-31 20:26:41 -05:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2019-06-26 18:50:48 -04:00
|
|
|
"@blueprintjs/core": "^3.16.2",
|
|
|
|
"@blueprintjs/icons": "^3.9.0",
|
2019-06-17 16:14:42 -04:00
|
|
|
"@types/memoize-one": "^4.1.1",
|
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-05-29 11:50:06 -04:00
|
|
|
"d3-array": "^2.2.0",
|
2019-01-31 20:26:41 -05:00
|
|
|
"druid-console": "^0.0.2",
|
2019-04-07 23:19:08 -04:00
|
|
|
"es6-shim": "^0.35.5",
|
2019-01-31 20:26:41 -05:00
|
|
|
"es7-shim": "^6.0.0",
|
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-01-31 20:26:41 -05:00
|
|
|
"hjson": "^3.1.2",
|
|
|
|
"lodash.debounce": "^4.0.8",
|
2019-06-17 16:14:42 -04:00
|
|
|
"memoize-one": "^5.0.4",
|
2019-01-31 20:26:41 -05:00
|
|
|
"numeral": "^2.0.6",
|
2019-04-07 23:19:08 -04:00
|
|
|
"react": "^16.8.6",
|
2019-05-29 11:50:06 -04:00
|
|
|
"react-ace": "^7.0.1",
|
2019-04-07 23:19:08 -04:00
|
|
|
"react-dom": "^16.8.6",
|
|
|
|
"react-router": "^5.0.0",
|
|
|
|
"react-router-dom": "^5.0.0",
|
2019-05-24 18:01:45 -04:00
|
|
|
"react-splitter-layout": "^4.0.0",
|
2019-05-29 11:50:06 -04:00
|
|
|
"react-table": "~6.10.0",
|
2019-01-31 20:26:41 -05:00
|
|
|
"tslib": "^1.9.3"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-06-01 13:14:13 -04:00
|
|
|
"@types/classnames": "^2.2.8",
|
2019-04-07 23:19:08 -04:00
|
|
|
"@types/d3-array": "^2.0.0",
|
2019-05-29 11:50:06 -04:00
|
|
|
"@types/enzyme": "^3.9.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-05-29 11:50:06 -04:00
|
|
|
"@types/jest": "^24.0.13",
|
2019-04-07 23:19:08 -04:00
|
|
|
"@types/lodash.debounce": "^4.0.6",
|
2019-06-01 13:14:13 -04:00
|
|
|
"@types/node": "^12.0.4",
|
2019-01-31 20:26:41 -05:00
|
|
|
"@types/numeral": "^0.0.25",
|
2019-05-29 11:50:06 -04:00
|
|
|
"@types/react": "^16.8.19",
|
2019-05-06 06:20:12 -04:00
|
|
|
"@types/react-copy-to-clipboard": "^4.2.6",
|
2019-04-12 11:51:03 -04:00
|
|
|
"@types/react-dom": "^16.8.4",
|
2019-05-29 11:50:06 -04:00
|
|
|
"@types/react-router-dom": "^4.3.3",
|
2019-05-24 18:01:45 -04:00
|
|
|
"@types/react-splitter-layout": "^3.0.0",
|
2019-06-01 13:14:13 -04:00
|
|
|
"@types/react-table": "6.8.3",
|
2019-04-12 11:51:03 -04:00
|
|
|
"autoprefixer": "^9.5.1",
|
2019-06-21 19:52:33 -04:00
|
|
|
"awesome-code-style": "^1.4.1",
|
2019-04-07 23:19:08 -04:00
|
|
|
"css-loader": "^2.1.1",
|
2019-05-22 23:36:51 -04:00
|
|
|
"enzyme": "^3.9.0",
|
2019-05-29 11:50:06 -04:00
|
|
|
"enzyme-adapter-react-16": "^1.13.2",
|
2019-05-22 23:36:51 -04:00
|
|
|
"enzyme-to-json": "^3.3.5",
|
|
|
|
"fs-extra": "^8.0.1",
|
2019-01-31 20:26:41 -05:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
|
|
|
"ignore-styles": "^5.0.1",
|
2019-05-22 23:36:51 -04:00
|
|
|
"jest": "^24.8.0",
|
2019-03-02 15:22:54 -05:00
|
|
|
"license-checker": "^25.0.1",
|
2019-05-29 11:50:06 -04:00
|
|
|
"node-sass": "^4.12.0",
|
|
|
|
"node-sass-chokidar": "^1.3.5",
|
2019-04-07 23:19:08 -04:00
|
|
|
"postcss-cli": "^6.1.2",
|
2019-01-31 20:26:41 -05:00
|
|
|
"postcss-loader": "^3.0.0",
|
2019-04-07 23:19:08 -04:00
|
|
|
"postcss-preset-env": "^6.6.0",
|
2019-05-29 11:50:06 -04:00
|
|
|
"react-testing-library": "^7.0.1",
|
2019-01-31 20:26:41 -05:00
|
|
|
"sass-loader": "^7.1.0",
|
|
|
|
"style-loader": "^0.23.1",
|
2019-05-29 11:50:06 -04:00
|
|
|
"stylelint": "^10.0.1",
|
|
|
|
"stylelint-config-recommended-scss": "^3.3.0",
|
2019-06-01 13:14:13 -04:00
|
|
|
"stylelint-scss": "^3.8.0",
|
2019-01-31 20:26:41 -05:00
|
|
|
"stylus": "^0.54.5",
|
2019-04-12 11:51:03 -04:00
|
|
|
"ts-jest": "^24.0.2",
|
2019-06-01 13:14:13 -04:00
|
|
|
"ts-loader": "^6.0.2",
|
2019-05-29 11:50:06 -04:00
|
|
|
"ts-node": "^8.2.0",
|
2019-06-01 13:14:13 -04:00
|
|
|
"tslint": "^5.17.0",
|
2019-03-17 12:23:17 -04:00
|
|
|
"tslint-loader": "^3.5.4",
|
2019-06-01 13:14:13 -04:00
|
|
|
"typescript": "^3.5.1",
|
2019-05-29 11:50:06 -04:00
|
|
|
"webpack": "^4.32.2",
|
2019-05-03 20:14:57 -04:00
|
|
|
"webpack-bundle-analyzer": "^3.3.2",
|
2019-05-29 11:50:06 -04:00
|
|
|
"webpack-cli": "^3.3.2",
|
2019-06-01 13:14:13 -04:00
|
|
|
"webpack-dev-server": "^3.5.0"
|
2019-01-31 20:26:41 -05:00
|
|
|
}
|
|
|
|
}
|