redash/package.json

166 lines
5.0 KiB
JSON
Raw Normal View History

2016-10-30 09:29:51 +00:00
{
"name": "redash-client",
"version": "7.0.0",
2016-10-30 09:29:51 +00:00
"description": "The frontend part of Redash.",
"main": "index.js",
"scripts": {
2017-06-19 19:32:13 +00:00
"start": "webpack-dev-server",
"bundle": "bin/bundle-extensions",
"clean": "rm -rf ./client/dist/",
"build": "npm run clean && NODE_ENV=production node --max-old-space-size=4096 node_modules/.bin/webpack",
2018-03-22 15:23:49 +00:00
"watch": "webpack --watch --progress --colors -d",
"analyze": "npm run clean && BUNDLE_ANALYZER=on webpack",
"analyze:build": "npm run clean && NODE_ENV=production BUNDLE_ANALYZER=on webpack",
"lint": "npm run lint:base -- --ext .js --ext .jsx ./client/app",
"lint:base": "eslint --config ./client/.eslintrc.js",
"test": "TZ=Africa/Khartoum jest",
2018-11-07 13:37:08 +00:00
"test:watch": "jest --watch",
"cypress:install": "npm install --no-save cypress@^3.1.5 @percy/cypress@^0.2.3 atob@2.1.2",
2019-03-24 14:24:59 +00:00
"cypress": "node client/cypress/cypress.js"
2016-10-30 09:29:51 +00:00
},
"repository": {
"type": "git",
"url": "git+https://github.com/getredash/redash.git"
},
"engines": {
"node": "^8.0.0",
"npm": "^5.0.0"
},
2016-10-30 09:29:51 +00:00
"author": "Redash Contributors",
"license": "BSD-2-Clause",
"bugs": {
"url": "https://github.com/getredash/redash/issues"
},
"homepage": "https://redash.io/",
"dependencies": {
"@types/prop-types": "^15.5.2",
"@types/react": "^16.3.13",
"@types/react-dom": "^16.0.5",
2017-01-02 15:12:32 +00:00
"angular": "~1.5.8",
"angular-base64-upload": "^0.1.23",
"angular-messages": "~1.5.8",
2016-11-09 21:55:40 +00:00
"angular-resizable": "^1.2.0",
"angular-resource": "~1.5.8",
"angular-route": "~1.5.8",
"angular-sanitize": "~1.5.8",
2016-11-07 16:09:11 +00:00
"angular-ui-ace": "^0.2.3",
"angular-ui-bootstrap": "^2.5.0",
2016-11-13 12:03:32 +00:00
"angular-vs-repeat": "^1.1.7",
"antd": "^3.12.3",
2017-11-20 15:46:37 +00:00
"bootstrap": "^3.3.7",
2018-10-03 19:25:19 +00:00
"brace": "^0.11.0",
"chroma-js": "^1.3.6",
2019-01-30 18:21:22 +00:00
"classnames": "^2.2.6",
2019-03-10 07:29:44 +00:00
"core-js": "^2.6.4",
2016-11-21 14:16:27 +00:00
"cornelius": "git+https://github.com/restorando/cornelius.git",
2016-11-06 12:40:05 +00:00
"d3": "^3.5.17",
"d3-cloud": "^1.2.4",
"debug": "^3.1.0",
"font-awesome": "^4.7.0",
"gridstack": "^0.3.0",
"hoist-non-react-statics": "^3.3.0",
"jquery": "^3.2.1",
2016-11-14 17:04:52 +00:00
"jquery-ui": "^1.12.1",
"leaflet": "^1.2.0",
2018-04-06 16:58:55 +00:00
"leaflet-fullscreen": "^1.0.2",
"leaflet.markercluster": "^1.1.0",
"lodash": "^4.17.10",
"markdown": "0.5.0",
"material-design-iconic-font": "^2.2.0",
2017-12-02 11:03:19 +00:00
"moment": "^2.19.3",
"mousetrap": "^1.6.1",
"mustache": "^2.3.0",
2017-11-30 22:02:37 +00:00
"numeral": "^2.0.6",
2016-11-28 07:51:51 +00:00
"pace-progress": "git+https://github.com/getredash/pace.git",
"pivottable": "^2.15.0",
"plotly.js": "1.41.3",
"prop-types": "^15.6.1",
"react": "^16.8.3",
2018-10-03 19:25:19 +00:00
"react-ace": "^6.1.0",
"react-dom": "^16.8.3",
"react2angular": "^3.2.1",
"ui-select": "^0.19.8",
"underscore.string": "^3.3.4"
2016-10-30 09:29:51 +00:00
},
"devDependencies": {
2019-03-10 07:29:44 +00:00
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.3.0",
"@babel/plugin-transform-object-assign": "^7.2.0",
"@babel/preset-env": "^7.3.1",
"@babel/preset-react": "^7.0.0",
"babel-eslint": "^8.2.3",
2019-03-10 07:29:44 +00:00
"babel-jest": "^24.1.0",
"babel-loader": "^8.0.5",
"babel-plugin-angularjs-annotate": "^0.8.2",
2018-01-03 12:00:34 +00:00
"babel-plugin-transform-builtin-extend": "^1.1.2",
2018-10-18 18:21:47 +00:00
"copy-webpack-plugin": "^4.5.3",
"css-loader": "^0.28.7",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.7.1",
"enzyme-to-json": "^3.3.5",
Frontend lint update (#3253) * client: Add lint command Signed-off-by: koooge <koooooge@gmail.com> * client: Override eslint rule object-curly-newline to keep current style Signed-off-by: koooge <koooooge@gmail.com> * client: Override eslint rule no-else-return to keep current style Signed-off-by: koooge <koooooge@gmail.com> * client: Fix eslint import/named Signed-off-by: koooge <koooooge@gmail.com> * client: eslint-5 Signed-off-by: koooge <koooooge@gmail.com> * codeclimate: Delete the old setting Signed-off-by: koooge <koooooge@gmail.com> * client: Downgrade eslint 5 to 4 in codeclimate Signed-off-by: koooge <koooooge@gmail.com> * client: npx install-peerdeps --dev eslint-config-airbnb Signed-off-by: koooge <koooooge@gmail.com> * client: Enbale .jsx lint Signed-off-by: koooge <koooooge@gmail.com> * client: Set warn Signed-off-by: koooge <koooooge@gmail.com> * client: Fix lint indent, implicit-arrow-linebreak, lines-between-class-members Signed-off-by: koooge <koooooge@gmail.com> * client: Disable eslint operator-linebreak Signed-off-by: koooge <koooooge@gmail.com> * Revert "client: Downgrade eslint 5 to 4 in codeclimate" This reverts commit f0fb0f005992a8b3c92eae505fcc2767b9d55266. * client: Fix react/button-has-type Signed-off-by: koooge <koooooge@gmail.com> * client: Disable an eslint rule react/jsx-one-expression-per-line Signed-off-by: koooge <koooooge@gmail.com> * codeclimate: Disable no-multiple-empty-lines Signed-off-by: koooge <koooooge@gmail.com> * client: Disable eslint react/destructuring-assignment Signed-off-by: koooge <koooooge@gmail.com>
2019-01-29 15:25:58 +00:00
"eslint": "^5.3.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-import-resolver-webpack": "^0.8.3",
2018-10-18 18:21:47 +00:00
"eslint-loader": "^2.1.1",
2018-11-07 13:37:08 +00:00
"eslint-plugin-cypress": "^2.0.1",
Frontend lint update (#3253) * client: Add lint command Signed-off-by: koooge <koooooge@gmail.com> * client: Override eslint rule object-curly-newline to keep current style Signed-off-by: koooge <koooooge@gmail.com> * client: Override eslint rule no-else-return to keep current style Signed-off-by: koooge <koooooge@gmail.com> * client: Fix eslint import/named Signed-off-by: koooge <koooooge@gmail.com> * client: eslint-5 Signed-off-by: koooge <koooooge@gmail.com> * codeclimate: Delete the old setting Signed-off-by: koooge <koooooge@gmail.com> * client: Downgrade eslint 5 to 4 in codeclimate Signed-off-by: koooge <koooooge@gmail.com> * client: npx install-peerdeps --dev eslint-config-airbnb Signed-off-by: koooge <koooooge@gmail.com> * client: Enbale .jsx lint Signed-off-by: koooge <koooooge@gmail.com> * client: Set warn Signed-off-by: koooge <koooooge@gmail.com> * client: Fix lint indent, implicit-arrow-linebreak, lines-between-class-members Signed-off-by: koooge <koooooge@gmail.com> * client: Disable eslint operator-linebreak Signed-off-by: koooge <koooooge@gmail.com> * Revert "client: Downgrade eslint 5 to 4 in codeclimate" This reverts commit f0fb0f005992a8b3c92eae505fcc2767b9d55266. * client: Fix react/button-has-type Signed-off-by: koooge <koooooge@gmail.com> * client: Disable an eslint rule react/jsx-one-expression-per-line Signed-off-by: koooge <koooooge@gmail.com> * codeclimate: Disable no-multiple-empty-lines Signed-off-by: koooge <koooooge@gmail.com> * client: Disable eslint react/destructuring-assignment Signed-off-by: koooge <koooooge@gmail.com>
2019-01-29 15:25:58 +00:00
"eslint-plugin-import": "^2.14.0",
2019-03-10 07:29:44 +00:00
"eslint-plugin-jest": "^22.2.2",
Frontend lint update (#3253) * client: Add lint command Signed-off-by: koooge <koooooge@gmail.com> * client: Override eslint rule object-curly-newline to keep current style Signed-off-by: koooge <koooooge@gmail.com> * client: Override eslint rule no-else-return to keep current style Signed-off-by: koooge <koooooge@gmail.com> * client: Fix eslint import/named Signed-off-by: koooge <koooooge@gmail.com> * client: eslint-5 Signed-off-by: koooge <koooooge@gmail.com> * codeclimate: Delete the old setting Signed-off-by: koooge <koooooge@gmail.com> * client: Downgrade eslint 5 to 4 in codeclimate Signed-off-by: koooge <koooooge@gmail.com> * client: npx install-peerdeps --dev eslint-config-airbnb Signed-off-by: koooge <koooooge@gmail.com> * client: Enbale .jsx lint Signed-off-by: koooge <koooooge@gmail.com> * client: Set warn Signed-off-by: koooge <koooooge@gmail.com> * client: Fix lint indent, implicit-arrow-linebreak, lines-between-class-members Signed-off-by: koooge <koooooge@gmail.com> * client: Disable eslint operator-linebreak Signed-off-by: koooge <koooooge@gmail.com> * Revert "client: Downgrade eslint 5 to 4 in codeclimate" This reverts commit f0fb0f005992a8b3c92eae505fcc2767b9d55266. * client: Fix react/button-has-type Signed-off-by: koooge <koooooge@gmail.com> * client: Disable an eslint rule react/jsx-one-expression-per-line Signed-off-by: koooge <koooooge@gmail.com> * codeclimate: Disable no-multiple-empty-lines Signed-off-by: koooge <koooooge@gmail.com> * client: Disable eslint react/destructuring-assignment Signed-off-by: koooge <koooooge@gmail.com>
2019-01-29 15:25:58 +00:00
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.12.3",
2018-10-18 18:21:47 +00:00
"file-loader": "^2.0.0",
"html-webpack-plugin": "^3.2.0",
2019-02-05 14:16:49 +00:00
"husky": "^1.3.1",
"identity-obj-proxy": "^3.0.0",
2019-03-10 07:29:44 +00:00
"jest": "^24.1.0",
2019-03-10 11:35:27 +00:00
"less": "^3.9.0",
2018-10-18 18:21:47 +00:00
"less-loader": "^4.1.0",
2017-11-07 08:41:29 +00:00
"less-plugin-autoprefix": "^1.5.1",
"lint-staged": "^8.1.3",
2018-10-18 18:21:47 +00:00
"mini-css-extract-plugin": "^0.4.4",
"mockdate": "^2.0.2",
2017-01-24 07:54:28 +00:00
"raw-loader": "^0.5.1",
"react-test-renderer": "^16.5.2",
2018-11-07 13:37:08 +00:00
"request": "^2.88.0",
2019-03-10 11:35:27 +00:00
"url-loader": "^1.1.2",
2018-10-18 18:21:47 +00:00
"webpack": "^4.20.2",
"webpack-build-notifier": "^0.1.30",
2018-03-22 15:23:49 +00:00
"webpack-bundle-analyzer": "^2.11.1",
2018-10-18 18:21:47 +00:00
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.9",
"webpack-manifest-plugin": "^2.0.4"
2018-07-24 09:01:03 +00:00
},
"optionalDependencies": {
"fsevents": "^1.2.4"
},
"jest": {
"setupFiles": [
"./client/app/__tests__/enzyme_setup.js",
"./client/app/__tests__/mocks.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"moduleNameMapper": {
"^@/(.*)": "<rootDir>/client/app/$1",
"\\.(css|less)$": "identity-obj-proxy"
},
"testPathIgnorePatterns": [
"<rootDir>/client/app/__tests__/"
]
2019-02-05 14:16:49 +00:00
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
2019-02-05 14:16:49 +00:00
}
},
"lint-staged": {
2019-03-24 14:24:59 +00:00
"linters": {
"client/**/*.{js,jsx}": [
"npm run lint:base",
"npm run test -- --bail --findRelatedTests"
]
},
"ignore": ["client/dist/*"]
2016-10-30 09:29:51 +00:00
}
}