mirror of https://github.com/apache/druid.git
130 lines
4.1 KiB
JSON
130 lines
4.1 KiB
JSON
{
|
|
"name": "web-console",
|
|
"version": "0.16.0",
|
|
"description": "A web console for Apache Druid",
|
|
"author": "Imply Data Inc.",
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/apache/druid/"
|
|
},
|
|
"jest": {
|
|
"preset": "ts-jest",
|
|
"testEnvironment": "jsdom",
|
|
"moduleNameMapper": {
|
|
"\\.s?css$": "identity-obj-proxy"
|
|
},
|
|
"testMatch": [
|
|
"**/?(*.)+(spec).ts?(x)"
|
|
],
|
|
"snapshotSerializers": [
|
|
"enzyme-to-json/serializer"
|
|
],
|
|
"setupFilesAfterEnv": [
|
|
"<rootDir>src/setup-tests.ts"
|
|
]
|
|
},
|
|
"prettier": {
|
|
"trailingComma": "all",
|
|
"tabWidth": 2,
|
|
"semi": true,
|
|
"singleQuote": true,
|
|
"printWidth": 100,
|
|
"endOfLine": "lf"
|
|
},
|
|
"scripts": {
|
|
"compile": "./script/build",
|
|
"pretest": "./script/build",
|
|
"run": "./script/run",
|
|
"test": "npm run tslint && npm run stylelint && jest --silent 2>&1",
|
|
"coverage": "jest --coverage",
|
|
"update-snapshots": "jest -u",
|
|
"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",
|
|
"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",
|
|
"tslint-fix-changed-only": "npm run tslint-changed-only -- --fix",
|
|
"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",
|
|
"start": "webpack-dev-server --hot --open",
|
|
"stylelint": "stylelint 'src/**/*.scss'"
|
|
},
|
|
"dependencies": {
|
|
"@blueprintjs/core": "^3.16.2",
|
|
"@blueprintjs/icons": "^3.9.0",
|
|
"@types/memoize-one": "^4.1.1",
|
|
"axios": "^0.19.0",
|
|
"brace": "^0.11.1",
|
|
"classnames": "^2.2.6",
|
|
"copy-to-clipboard": "^3.2.0",
|
|
"d3-array": "^2.2.0",
|
|
"druid-console": "^0.0.2",
|
|
"es6-shim": "^0.35.5",
|
|
"es7-shim": "^6.0.0",
|
|
"file-saver": "^2.0.2",
|
|
"has-own-prop": "^2.0.0",
|
|
"hjson": "^3.1.2",
|
|
"lodash.debounce": "^4.0.8",
|
|
"memoize-one": "^5.0.4",
|
|
"numeral": "^2.0.6",
|
|
"react": "^16.8.6",
|
|
"react-ace": "^7.0.1",
|
|
"react-dom": "^16.8.6",
|
|
"react-router": "^5.0.0",
|
|
"react-router-dom": "^5.0.0",
|
|
"react-splitter-layout": "^4.0.0",
|
|
"react-table": "~6.10.0",
|
|
"tslib": "^1.9.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/classnames": "^2.2.8",
|
|
"@types/d3-array": "^2.0.0",
|
|
"@types/enzyme": "^3.9.3",
|
|
"@types/enzyme-adapter-react-16": "^1.0.5",
|
|
"@types/file-saver": "^2.0.1",
|
|
"@types/hjson": "^2.4.1",
|
|
"@types/jest": "^24.0.13",
|
|
"@types/lodash.debounce": "^4.0.6",
|
|
"@types/node": "^12.0.4",
|
|
"@types/numeral": "^0.0.25",
|
|
"@types/react": "^16.8.19",
|
|
"@types/react-copy-to-clipboard": "^4.2.6",
|
|
"@types/react-dom": "^16.8.4",
|
|
"@types/react-router-dom": "^4.3.3",
|
|
"@types/react-splitter-layout": "^3.0.0",
|
|
"@types/react-table": "6.8.3",
|
|
"autoprefixer": "^9.5.1",
|
|
"awesome-code-style": "^1.4.1",
|
|
"css-loader": "^2.1.1",
|
|
"enzyme": "^3.9.0",
|
|
"enzyme-adapter-react-16": "^1.13.2",
|
|
"enzyme-to-json": "^3.3.5",
|
|
"fs-extra": "^8.0.1",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"ignore-styles": "^5.0.1",
|
|
"jest": "^24.8.0",
|
|
"license-checker": "^25.0.1",
|
|
"node-sass": "^4.12.0",
|
|
"node-sass-chokidar": "^1.3.5",
|
|
"postcss-cli": "^6.1.2",
|
|
"postcss-loader": "^3.0.0",
|
|
"postcss-preset-env": "^6.6.0",
|
|
"react-testing-library": "^7.0.1",
|
|
"sass-loader": "^7.1.0",
|
|
"style-loader": "^0.23.1",
|
|
"stylelint": "^10.0.1",
|
|
"stylelint-config-recommended-scss": "^3.3.0",
|
|
"stylelint-scss": "^3.8.0",
|
|
"stylus": "^0.54.5",
|
|
"ts-jest": "^24.0.2",
|
|
"ts-loader": "^6.0.2",
|
|
"ts-node": "^8.2.0",
|
|
"tslint": "^5.17.0",
|
|
"tslint-loader": "^3.5.4",
|
|
"typescript": "^3.5.1",
|
|
"webpack": "^4.32.2",
|
|
"webpack-bundle-analyzer": "^3.3.2",
|
|
"webpack-cli": "^3.3.2",
|
|
"webpack-dev-server": "^3.5.0"
|
|
}
|
|
}
|