2016-09-09 23:10:54 +00:00
|
|
|
{
|
2016-09-15 21:53:29 +00:00
|
|
|
"name": "chronograf-ui",
|
2018-12-01 01:02:31 +00:00
|
|
|
"version": "2.0.0",
|
2016-11-08 23:23:42 +00:00
|
|
|
"private": false,
|
2016-11-11 00:22:04 +00:00
|
|
|
"license": "AGPL-3.0",
|
2016-09-15 21:53:29 +00:00
|
|
|
"description": "",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2016-11-08 23:23:42 +00:00
|
|
|
"url": "github:influxdata/chronograf"
|
2016-09-09 23:10:54 +00:00
|
|
|
},
|
2019-01-18 17:51:42 +00:00
|
|
|
"engines": {
|
2019-06-21 23:19:42 +00:00
|
|
|
"node": ">=10.5.0",
|
|
|
|
"yarn": ">=1.16.0"
|
2019-01-18 17:51:42 +00:00
|
|
|
},
|
2018-10-15 18:19:54 +00:00
|
|
|
"alias": {
|
|
|
|
"src": "./src"
|
|
|
|
},
|
2016-09-09 23:10:54 +00:00
|
|
|
"scripts": {
|
2019-10-08 22:39:33 +00:00
|
|
|
"start": "yarn install && yarn generate && cross-env TS_NODE_PROJECT=\"webpack.tsconfig.json\" && yarn run build:vendor && yarn run start:dev",
|
2019-11-22 21:33:12 +00:00
|
|
|
"start:cloud": "yarn install && yarn generate && cross-env TS_NODE_PROJECT=\"webpack.tsconfig.json\" && yarn run build:vendor && yarn run start:dev-cloud",
|
2020-04-09 15:05:05 +00:00
|
|
|
"start:dev": "webpack-dev-server --config ./webpack.dev.ts --progress false",
|
2020-04-22 16:42:39 +00:00
|
|
|
"start:dev-cloud": "cross-env CLOUD_LOGOUT_URL=http://localhost:8080/api/v2/signout CLOUD_URL=http://localhost:4000 webpack-dev-server --config ./webpack.dev.ts",
|
2019-11-21 05:55:54 +00:00
|
|
|
"start:docker": "yarn generate && yarn build:vendor && yarn run start:dev",
|
2019-10-24 20:57:25 +00:00
|
|
|
"build": "yarn install --silent && yarn build:ci",
|
2020-01-16 23:01:53 +00:00
|
|
|
"build:ci": "yarn generate && yarn build:vendor && webpack --config webpack.prod.ts --bail",
|
2019-07-23 21:10:34 +00:00
|
|
|
"build:vendor": "webpack --config webpack.vendor.ts",
|
2019-04-16 16:06:16 +00:00
|
|
|
"clean": "rm -rf ./build && rm -rf ./.cache && rm -rf node_modules && rm -rf cypress/screenshots && rm -rf cypress/videos && rm -f junit-results/* ",
|
2018-12-01 01:02:31 +00:00
|
|
|
"test": "jest --maxWorkers=2",
|
2018-12-05 19:23:03 +00:00
|
|
|
"test:watch": "jest --watch --verbose false",
|
2019-01-03 17:51:18 +00:00
|
|
|
"test:update": "jest --updateSnapshot",
|
2019-10-08 22:39:33 +00:00
|
|
|
"test:debug": "node --inspect-brk $(npm bin)/jest --runInBand --watch --verbose false",
|
2020-01-03 19:34:23 +00:00
|
|
|
"test:e2e": "CYPRESS_baseUrl=http://localhost:9999 cypress run --browser chrome --reporter junit --reporter-options 'mochaFile=junit-results/test-output-[hash].xml'",
|
|
|
|
"test:e2e:report": "junit-viewer --results=junit-results --save-file=cypress/site/junit-report.html",
|
|
|
|
"test:e2e:clean": "rm junit-results/*.xml",
|
|
|
|
"test:e2e:all": "yarn test:e2e:clean && yarn test:e2e; yarn test:e2e:report;",
|
2019-12-18 19:18:03 +00:00
|
|
|
"test:circleci": "yarn run test:ci --maxWorkers=2",
|
2019-12-18 19:07:52 +00:00
|
|
|
"test:ci": "JEST_JUNIT_OUTPUT_DIR=\"./coverage\" jest --ci --coverage",
|
2019-10-30 18:26:01 +00:00
|
|
|
"lint": "yarn tsc && yarn prettier && yarn eslint",
|
2019-03-14 18:25:02 +00:00
|
|
|
"eslint": "eslint '{src,cypress}/**/*.{ts,tsx}'",
|
2019-12-18 22:57:08 +00:00
|
|
|
"eslint:circleci": "eslint",
|
2019-03-14 18:25:02 +00:00
|
|
|
"eslint:fix": "eslint --fix '{src,cypress}/**/*.{ts,tsx}'",
|
2019-10-30 18:26:01 +00:00
|
|
|
"prettier": "prettier --config .prettierrc.json --check '{src,cypress}/**/*.{ts,tsx}'",
|
|
|
|
"prettier:fix": "prettier --config .prettierrc.json --write '{src,cypress}/**/*.{ts,tsx}'",
|
2019-02-19 23:47:19 +00:00
|
|
|
"tsc": "tsc -p ./tsconfig.json --noEmit --pretty --skipLibCheck",
|
|
|
|
"tsc:cypress": "tsc -p ./cypress/tsconfig.json --noEmit --pretty --skipLibCheck",
|
2019-07-25 19:13:51 +00:00
|
|
|
"cy": "CYPRESS_baseUrl=http://localhost:9999 cypress open",
|
2019-07-29 21:41:32 +00:00
|
|
|
"cy:dev": "CYPRESS_baseUrl=http://localhost:8080 cypress open",
|
2019-10-24 20:57:25 +00:00
|
|
|
"generate": "oats ../http/swagger.yml > ./src/client/generatedRoutes.ts"
|
2016-09-09 23:10:54 +00:00
|
|
|
},
|
2016-09-15 21:53:29 +00:00
|
|
|
"author": "",
|
|
|
|
"devDependencies": {
|
2019-07-23 21:10:34 +00:00
|
|
|
"@babel/core": "^7.5.5",
|
|
|
|
"@babel/preset-env": "^7.5.5",
|
2019-02-19 23:47:19 +00:00
|
|
|
"@cypress/webpack-preprocessor": "^4.0.3",
|
2019-10-15 20:54:33 +00:00
|
|
|
"@influxdata/oats": "0.5.0",
|
2018-05-10 19:11:10 +00:00
|
|
|
"@types/chroma-js": "^1.3.4",
|
2018-05-07 17:04:56 +00:00
|
|
|
"@types/codemirror": "^0.0.56",
|
2018-06-27 22:14:35 +00:00
|
|
|
"@types/d3-color": "^1.2.1",
|
2018-06-22 20:23:34 +00:00
|
|
|
"@types/d3-scale": "^2.0.1",
|
2018-09-27 17:46:48 +00:00
|
|
|
"@types/enzyme": "^3.1.14",
|
2018-10-12 20:16:32 +00:00
|
|
|
"@types/history": "3.2.2",
|
2018-09-27 17:46:48 +00:00
|
|
|
"@types/jest": "^23.3.2",
|
|
|
|
"@types/lodash": "^4.14.116",
|
2019-03-11 21:56:16 +00:00
|
|
|
"@types/memoize-one": "^4.0.2",
|
2019-07-23 21:10:34 +00:00
|
|
|
"@types/node": "^12.6.8",
|
2019-04-18 13:23:07 +00:00
|
|
|
"@types/papaparse": "^4.5.9",
|
2018-03-02 05:32:53 +00:00
|
|
|
"@types/prop-types": "^15.5.2",
|
2018-07-02 23:18:07 +00:00
|
|
|
"@types/qs": "^6.5.1",
|
2019-02-15 00:06:59 +00:00
|
|
|
"@types/react": "^16.8.3",
|
2019-07-23 21:10:34 +00:00
|
|
|
"@types/react-datepicker": "^2.8.1",
|
2018-04-11 01:32:28 +00:00
|
|
|
"@types/react-dnd": "^2.0.36",
|
|
|
|
"@types/react-dnd-html5-backend": "^2.1.9",
|
2019-02-15 00:06:59 +00:00
|
|
|
"@types/react-dom": "^16.8.1",
|
2018-08-07 20:10:05 +00:00
|
|
|
"@types/react-grid-layout": "^0.16.5",
|
2018-10-12 20:16:32 +00:00
|
|
|
"@types/react-redux": "^6.0.9",
|
2018-04-11 00:20:01 +00:00
|
|
|
"@types/react-router": "^3.0.15",
|
2018-10-12 20:16:32 +00:00
|
|
|
"@types/react-router-redux": "^4.0.0",
|
2018-05-10 19:11:10 +00:00
|
|
|
"@types/react-virtualized": "^9.18.3",
|
2018-04-06 21:08:51 +00:00
|
|
|
"@types/text-encoding": "^0.0.32",
|
2018-05-10 19:11:10 +00:00
|
|
|
"@types/uuid": "^3.4.3",
|
2019-07-23 21:10:34 +00:00
|
|
|
"@types/webpack": "^4.4.35",
|
2020-05-16 00:18:25 +00:00
|
|
|
"@types/webpack-env": "^1.15.2",
|
2019-10-30 18:26:01 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^2.6.0",
|
|
|
|
"@typescript-eslint/parser": "^2.6.0",
|
2019-02-19 23:47:19 +00:00
|
|
|
"acorn": "^6.0.6",
|
|
|
|
"ajv": "^6.7.0",
|
2016-09-15 21:53:29 +00:00
|
|
|
"autoprefixer": "^6.3.1",
|
2019-07-23 21:10:34 +00:00
|
|
|
"babel-loader": "^8.0.6",
|
|
|
|
"clean-webpack-plugin": "^3.0.0",
|
|
|
|
"cross-env": "^5.2.0",
|
|
|
|
"css-loader": "^3.1.0",
|
2020-01-03 17:38:37 +00:00
|
|
|
"cypress": "^3.8.1",
|
2019-10-24 17:32:12 +00:00
|
|
|
"cypress-pipe": "^1.5.0",
|
2018-09-27 17:46:48 +00:00
|
|
|
"enzyme": "^3.6.0",
|
2018-10-10 23:20:57 +00:00
|
|
|
"enzyme-adapter-react-16": "^1.6.0",
|
2018-06-27 20:15:06 +00:00
|
|
|
"enzyme-to-json": "^3.3.4",
|
2019-10-30 18:26:01 +00:00
|
|
|
"eslint": "^6.6.0",
|
|
|
|
"eslint-config-prettier": "^6.5.0",
|
2019-10-31 22:39:57 +00:00
|
|
|
"eslint-plugin-jest": "^23.0.2",
|
2019-10-30 18:26:01 +00:00
|
|
|
"eslint-plugin-react": "^7.16.0",
|
2016-12-27 21:57:23 +00:00
|
|
|
"express": "^4.14.0",
|
2019-07-23 21:10:34 +00:00
|
|
|
"file-loader": "^4.1.0",
|
|
|
|
"fork-ts-checker-webpack-plugin": "^1.4.3",
|
|
|
|
"html-webpack-plugin": "^3.2.0",
|
2018-08-17 21:54:14 +00:00
|
|
|
"http-proxy-middleware": "^0.18.0",
|
2018-07-09 22:59:20 +00:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2019-06-13 16:31:18 +00:00
|
|
|
"jest": "^24.8.0",
|
2019-12-18 03:36:13 +00:00
|
|
|
"jest-junit": "^10.0.0",
|
2016-09-15 21:53:29 +00:00
|
|
|
"jsdom": "^9.0.0",
|
2019-04-16 16:06:16 +00:00
|
|
|
"junit-viewer": "^4.11.1",
|
2019-07-23 21:10:34 +00:00
|
|
|
"mini-css-extract-plugin": "^0.8.0",
|
2019-02-19 23:47:19 +00:00
|
|
|
"mocha": "^5.2.0",
|
|
|
|
"mocha-junit-reporter": "^1.18.0",
|
2019-07-23 21:10:34 +00:00
|
|
|
"optimize-css-assets-webpack-plugin": "^5.0.3",
|
2019-02-20 19:57:58 +00:00
|
|
|
"prettier": "^1.16.4",
|
2019-01-25 22:08:57 +00:00
|
|
|
"react-testing-library": "^5.4.4",
|
2019-07-23 21:10:34 +00:00
|
|
|
"sass": "^1.22.7",
|
|
|
|
"sass-loader": "^7.1.0",
|
2019-09-04 14:00:20 +00:00
|
|
|
"source-map-loader": "^0.2.4",
|
2019-08-03 18:36:58 +00:00
|
|
|
"style-loader": "^0.23.1",
|
2019-11-11 22:05:48 +00:00
|
|
|
"terser-webpack-plugin": "2.2.1",
|
2019-02-19 20:57:49 +00:00
|
|
|
"ts-jest": "^24.0.0",
|
2019-02-19 23:47:19 +00:00
|
|
|
"ts-loader": "^5.3.3",
|
2019-07-27 00:21:52 +00:00
|
|
|
"ts-node": "^8.3.0",
|
2018-02-20 08:05:46 +00:00
|
|
|
"tslib": "^1.9.0",
|
2020-04-29 22:38:49 +00:00
|
|
|
"typescript": "3.8.3",
|
2019-12-27 22:01:16 +00:00
|
|
|
"webpack": "^4.41.4",
|
|
|
|
"webpack-cli": "^3.3.10",
|
2019-07-23 21:10:34 +00:00
|
|
|
"webpack-dev-server": "^3.7.2",
|
2019-07-27 00:21:52 +00:00
|
|
|
"webpack-merge": "^4.2.1"
|
2016-09-15 21:53:29 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-05-15 17:02:39 +00:00
|
|
|
"@influxdata/clockface": "2.2.0",
|
2020-05-18 03:49:10 +00:00
|
|
|
"@influxdata/flux": "^0.5.1",
|
2020-05-19 18:33:37 +00:00
|
|
|
"@influxdata/flux-lsp-browser": "^0.5.8",
|
2020-04-09 00:45:56 +00:00
|
|
|
"@influxdata/giraffe": "0.18.0",
|
2019-07-24 07:34:42 +00:00
|
|
|
"@influxdata/influx": "0.5.5",
|
2019-09-26 19:21:12 +00:00
|
|
|
"@influxdata/influxdb-templates": "0.9.0",
|
2019-02-04 21:01:32 +00:00
|
|
|
"@influxdata/react-custom-scrollbars": "4.3.8",
|
2019-07-31 23:07:02 +00:00
|
|
|
"abortcontroller-polyfill": "^1.3.0",
|
2020-03-09 17:33:34 +00:00
|
|
|
"auth0-js": "^9.12.2",
|
2019-06-05 16:47:35 +00:00
|
|
|
"axios": "^0.19.0",
|
2018-10-08 17:29:45 +00:00
|
|
|
"babel-polyfill": "^6.26.0",
|
2017-08-28 18:58:04 +00:00
|
|
|
"bignumber.js": "^4.0.2",
|
2017-07-05 21:03:57 +00:00
|
|
|
"calculate-size": "^1.1.1",
|
2018-03-26 23:23:46 +00:00
|
|
|
"chroma-js": "^1.3.6",
|
2016-09-15 21:53:29 +00:00
|
|
|
"classnames": "^2.2.3",
|
2018-04-13 21:58:47 +00:00
|
|
|
"codemirror": "^5.36.0",
|
2019-02-01 18:41:00 +00:00
|
|
|
"d3-format": "^1.3.2",
|
2018-06-22 20:23:34 +00:00
|
|
|
"d3-scale": "^2.1.0",
|
2017-01-30 16:05:57 +00:00
|
|
|
"fast.js": "^0.1.1",
|
2018-10-12 20:16:32 +00:00
|
|
|
"history": "^3.2",
|
2019-05-08 21:22:39 +00:00
|
|
|
"honeybadger-js": "^1.0.2",
|
2018-12-21 18:31:32 +00:00
|
|
|
"immer": "^1.9.3",
|
2019-12-02 19:16:04 +00:00
|
|
|
"intersection-observer": "^0.7.0",
|
2019-12-18 00:16:52 +00:00
|
|
|
"jsonlint-mod": "^1.7.5",
|
2016-09-15 21:53:29 +00:00
|
|
|
"lodash": "^4.3.0",
|
2018-10-01 20:33:27 +00:00
|
|
|
"memoize-one": "^4.0.2",
|
2016-09-15 21:53:29 +00:00
|
|
|
"moment": "^2.13.0",
|
2020-02-14 17:59:05 +00:00
|
|
|
"monaco-editor": "^0.19.2",
|
2019-11-22 18:13:52 +00:00
|
|
|
"monaco-editor-textmate": "^2.2.1",
|
2020-02-14 17:59:05 +00:00
|
|
|
"monaco-editor-webpack-plugin": "^1.8.2",
|
2020-03-09 17:33:34 +00:00
|
|
|
"monaco-languageclient": "^0.11.0",
|
2019-11-22 18:13:52 +00:00
|
|
|
"monaco-textmate": "^3.0.1",
|
2019-12-31 17:43:35 +00:00
|
|
|
"normalizr": "^3.4.1",
|
2019-11-22 18:13:52 +00:00
|
|
|
"onigasm": "^2.2.4",
|
2019-04-18 13:23:07 +00:00
|
|
|
"papaparse": "^4.6.3",
|
2018-02-27 16:45:38 +00:00
|
|
|
"prop-types": "^15.6.1",
|
2018-07-02 23:18:07 +00:00
|
|
|
"qs": "^6.5.2",
|
2019-11-06 17:58:04 +00:00
|
|
|
"react": "^16.11.0",
|
2018-04-13 21:58:47 +00:00
|
|
|
"react-codemirror2": "^4.2.1",
|
2018-06-05 01:00:03 +00:00
|
|
|
"react-copy-to-clipboard": "^5.0.1",
|
2019-02-14 02:19:36 +00:00
|
|
|
"react-datepicker": "^2.1.0",
|
2016-09-15 21:53:29 +00:00
|
|
|
"react-dimensions": "^1.2.0",
|
2018-04-05 22:03:56 +00:00
|
|
|
"react-dnd": "^2.6.0",
|
|
|
|
"react-dnd-html5-backend": "^2.6.0",
|
2019-02-19 22:05:13 +00:00
|
|
|
"react-dom": "^16.8.2",
|
2018-03-13 00:35:58 +00:00
|
|
|
"react-grid-layout": "^0.16.6",
|
2019-12-10 17:07:18 +00:00
|
|
|
"react-loadable": "^5.5.0",
|
2018-11-28 01:03:13 +00:00
|
|
|
"react-markdown": "^4.0.3",
|
2020-02-14 17:59:05 +00:00
|
|
|
"react-monaco-editor": "^0.33.0",
|
2019-10-23 19:34:30 +00:00
|
|
|
"react-redux": "^5.1.2",
|
2017-04-12 22:17:30 +00:00
|
|
|
"react-router": "^3.0.2",
|
2017-04-12 02:35:39 +00:00
|
|
|
"react-router-redux": "^4.0.8",
|
2019-03-28 22:05:26 +00:00
|
|
|
"react-scrollbars-custom": "^4.0.0-alpha.8",
|
2018-02-27 22:21:46 +00:00
|
|
|
"react-virtualized": "^9.18.5",
|
2018-10-12 20:16:32 +00:00
|
|
|
"redux": "^4.0.0",
|
2017-04-12 02:35:39 +00:00
|
|
|
"redux-auth-wrapper": "^1.0.0",
|
2019-12-27 22:01:16 +00:00
|
|
|
"redux-thunk": "^2.3.0",
|
2019-03-26 21:11:14 +00:00
|
|
|
"reselect": "^4.0.0",
|
2017-03-28 23:20:34 +00:00
|
|
|
"rome": "^2.1.22",
|
2019-11-04 22:12:18 +00:00
|
|
|
"uuid": "^3.2.1",
|
|
|
|
"webpack-bundle-analyzer": "^3.6.0"
|
2016-09-09 23:10:54 +00:00
|
|
|
}
|
2020-03-02 17:38:30 +00:00
|
|
|
}
|