| { |
| "name": "web-console", |
| "version": "36.0.0", |
| "description": "A web console for Apache Druid", |
| "author": "Apache Druid Developers <dev@druid.apache.org>", |
| "license": "Apache-2.0", |
| "repository": { |
| "type": "git", |
| "url": "https://github.com/apache/druid" |
| }, |
| "prettier": "@awesome-code-style/prettier-config", |
| "scripts": { |
| "compile": "./script/build", |
| "pretest": "./script/build", |
| "jest": "jest --config jest.config.js src", |
| "test-base": "npm run eslint && npm run sasslint && npm run prettify-check && npm run jest", |
| "test": "npm run test-base -- --silent 2>&1", |
| "test-ci": "npm run test-base -- --coverage", |
| "test-e2e": "jest --runInBand --config jest.e2e.config.js e2e-tests", |
| "codecov": "codecov --disable=gcov -p ..", |
| "coverage": "jest --coverage src", |
| "update-snapshots": "jest -u --config jest.config.js", |
| "autofix": "npm run eslint-fix && npm run sasslint-fix && npm run prettify", |
| "typecheck": "tsc --noEmit", |
| "eslint": "eslint", |
| "eslint-fix": "npm run eslint -- --fix", |
| "eslint-changed-only": "git diff --diff-filter=ACMR --cached --name-only | grep -E \\.tsx\\?$ | xargs ./node_modules/.bin/eslint", |
| "eslint-fix-changed-only": "npm run eslint-changed-only -- --fix", |
| "sasslint": "./node_modules/.bin/stylelint '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", |
| "sasslint-fix-changed-only": "npm run sasslint-changed-only -- --fix", |
| "prettify": "prettier --write '{src,e2e-tests}/**/*.{ts,tsx,scss}' './*.js'", |
| "prettify-check": "prettier --check '{src,e2e-tests}/**/*.{ts,tsx,scss}' './*.js'", |
| "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;0BSD;MIT;ISC;CC0-1.0;OFL-1.1' --summary", |
| "start": "webpack serve" |
| }, |
| "engines": { |
| "node": ">=20" |
| }, |
| "volta": { |
| "node": "20.9.0", |
| "npm": "10.9.0" |
| }, |
| "browserslist": [ |
| "> 1% and supports es6", |
| "last 3 versions and supports es6", |
| "Firefox ESR", |
| "not dead", |
| "not ie 11" |
| ], |
| "dependencies": { |
| "@blueprintjs/core": "^5.16.0", |
| "@blueprintjs/datetime": "^5.3.17", |
| "@blueprintjs/datetime2": "^2.3.17", |
| "@blueprintjs/icons": "^5.15.0", |
| "@blueprintjs/select": "^5.3.5", |
| "@flatten-js/interval-tree": "^1.1.3", |
| "@fontsource/open-sans": "^5.0.30", |
| "@internationalized/date": "^3.5.6", |
| "ace-builds": "~1.5.3", |
| "axios": "^1.12.0", |
| "chronoshift": "^1.2.3", |
| "classnames": "^2.2.6", |
| "copy-to-clipboard": "^3.3.3", |
| "d3-array": "^3.2.4", |
| "d3-axis": "^3.0.0", |
| "d3-dsv": "^3.0.1", |
| "d3-scale": "^4.0.2", |
| "d3-selection": "^3.0.0", |
| "d3-shape": "^3.2.0", |
| "d3-time-format": "^4.1.0", |
| "date-fns": "^2.28.0", |
| "dayjs": "^1.11.15", |
| "druid-query-toolkit": "^1.2.2", |
| "echarts": "^5.5.1", |
| "file-saver": "^2.0.5", |
| "hjson": "^3.2.2", |
| "json-bigint-native": "^1.2.0", |
| "lodash.debounce": "^4.0.8", |
| "lodash.escape": "^4.0.1", |
| "markdown-table-ts": "^1.0.3", |
| "memoize-one": "^5.2.1", |
| "numeral": "^2.0.6", |
| "react": "^18.3.1", |
| "react-ace": "^10.1.0", |
| "react-diff-viewer": "^3.1.1", |
| "react-dom": "^18.3.1", |
| "react-router": "^5.3.4", |
| "react-router-dom": "^5.3.4", |
| "react-table": "~6.11.5", |
| "regenerator-runtime": "^0.13.7", |
| "tslib": "^2.8.0", |
| "uuid": "^7.0.3", |
| "zustand": "^4.5.5" |
| }, |
| "devDependencies": { |
| "@awesome-code-style/eslint-config": "^6.0.2", |
| "@awesome-code-style/prettier-config": "^4.0.0", |
| "@awesome-code-style/stylelint-config": "^6.0.0", |
| "@testing-library/dom": "^10.4.0", |
| "@testing-library/react": "^16.0.1", |
| "@types/classnames": "^2.2.9", |
| "@types/d3-array": "^3.2.1", |
| "@types/d3-axis": "^3.0.6", |
| "@types/d3-dsv": "^3.0.7", |
| "@types/d3-scale": "^4.0.8", |
| "@types/d3-selection": "^3.0.11", |
| "@types/d3-shape": "^3.1.6", |
| "@types/d3-time-format": "^4.0.3", |
| "@types/enzyme": "^3.10.18", |
| "@types/enzyme-adapter-react-16": "^1.0.9", |
| "@types/file-saver": "^2.0.7", |
| "@types/hjson": "^2.4.6", |
| "@types/jest": "^27.4.0", |
| "@types/lodash.debounce": "^4.0.8", |
| "@types/lodash.escape": "^4.0.9", |
| "@types/memoize-one": "^4.1.1", |
| "@types/node": "^18.19.56", |
| "@types/numeral": "^2.0.5", |
| "@types/react": "^18.3.11", |
| "@types/react-dom": "^18.3.1", |
| "@types/react-router-dom": "^5.3.3", |
| "@types/react-table": "6.8.5", |
| "@types/uuid": "^7.0.2", |
| "autoprefixer": "^10.4.20", |
| "browserslist": "^4.24.0", |
| "codecov": "^3.8.2", |
| "css-loader": "^5.2.1", |
| "eslint": "^9.31.0", |
| "eslint-plugin-notice": "^1.0.0", |
| "eslint-plugin-react": "^7.37.1", |
| "eslint-plugin-react-hooks": "^5.0.0", |
| "fs-extra": "^8.1.0", |
| "globals": "^15.11.0", |
| "identity-obj-proxy": "^3.0.0", |
| "jest": "^29.7.0", |
| "jest-environment-jsdom": "^29.7.0", |
| "license-checker": "^25.0.1", |
| "playwright-chromium": "^1.24.1", |
| "postcss": "^8.4.47", |
| "postcss-loader": "^5.3.0", |
| "postcss-preset-env": "^10.0.7", |
| "prettier": "^2.5.1", |
| "react-shallow-renderer": "^16.15.0", |
| "replace": "^1.2.2", |
| "sass": "^1.59.3", |
| "sass-loader": "^13.2.0", |
| "snarkdown": "^2.0.0", |
| "style-loader": "^2.0.0", |
| "stylelint": "^16.1.0", |
| "ts-jest": "^29.2.5", |
| "ts-loader": "^9.5.1", |
| "ts-node": "^10.9.2", |
| "typescript": "~5.5.4", |
| "webpack": "^5.89.0", |
| "webpack-bundle-analyzer": "^4.10.1", |
| "webpack-cli": "^5.1.4", |
| "webpack-dev-server": "^5.2.2" |
| }, |
| "overrides": { |
| "@types/react": "$@types/react" |
| } |
| } |