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-02-19 20:51:54 +00:00
|
|
|
"npm": "~6.8",
|
2019-01-18 17:51:42 +00:00
|
|
|
"node": "~10.5"
|
|
|
|
},
|
2018-10-15 18:19:54 +00:00
|
|
|
"alias": {
|
|
|
|
"src": "./src"
|
|
|
|
},
|
2016-09-09 23:10:54 +00:00
|
|
|
"scripts": {
|
2019-02-20 23:33:21 +00:00
|
|
|
"start": "npm --no-progress i && GIT_SHA=$(git rev-parse HEAD) parcel watch -d build src/index.html",
|
|
|
|
"build": "npm --no-progress i && GIT_SHA=$(git rev-parse HEAD) parcel build -d build --no-source-maps --log-level 2 src/index.html",
|
2018-09-25 22:40:46 +00:00
|
|
|
"clean": "rm -rf ./build && rm -rf ./.cache && rm -rf node_modules",
|
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",
|
2018-12-05 19:23:03 +00:00
|
|
|
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand --watch --verbose false",
|
2019-02-19 23:47:19 +00:00
|
|
|
"test:junit": "cypress run --reporter junit --reporter-options 'mochaFile=junit-results/my-test-output.xml'",
|
2019-02-20 19:57:58 +00:00
|
|
|
"lint": "npm run tsc && npm run eslint && npm run prettier && npm run tsc:cypress",
|
|
|
|
"eslint": "eslint '{src,cypress}**/*.{ts,tsx}'",
|
|
|
|
"eslint:fix": "eslint --fix '{src,cypress}**/*.{ts,tsx}'",
|
|
|
|
"prettier": "prettier --check '{src,cypress}/**/*.{ts,tsx}'",
|
|
|
|
"prettier:fix": "prettier --write '{src,cypress}/**/*.{ts,tsx}'",
|
2019-02-19 23:47:19 +00:00
|
|
|
"tsc": "tsc -p ./tsconfig.json --noEmit --pretty --skipLibCheck",
|
|
|
|
"tsc:watch": "tsc -p ./tsconfig.json --noEmit --pretty -w",
|
|
|
|
"tsc:cypress": "tsc -p ./cypress/tsconfig.json --noEmit --pretty --skipLibCheck",
|
2019-02-22 00:13:57 +00:00
|
|
|
"e2e": "cypress open"
|
2016-09-09 23:10:54 +00:00
|
|
|
},
|
2018-10-15 18:19:54 +00:00
|
|
|
"jest": {
|
2019-02-21 19:26:26 +00:00
|
|
|
"setupFilesAfterEnv": [
|
|
|
|
"./jestSetup.ts"
|
|
|
|
],
|
2018-10-15 18:19:54 +00:00
|
|
|
"displayName": "test",
|
|
|
|
"testURL": "http://localhost",
|
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
"build",
|
2019-02-21 19:26:26 +00:00
|
|
|
"<rootDir>/node_modules/(?!(jest-test))",
|
|
|
|
"cypress"
|
2018-10-15 18:19:54 +00:00
|
|
|
],
|
2018-10-22 22:38:31 +00:00
|
|
|
"setupFiles": [
|
|
|
|
"<rootDir>/testSetup.ts"
|
|
|
|
],
|
|
|
|
"modulePaths": [
|
|
|
|
"<rootDir>",
|
|
|
|
"<rootDir>/node_modules/"
|
|
|
|
],
|
|
|
|
"moduleDirectories": [
|
|
|
|
"src"
|
|
|
|
],
|
2018-10-15 18:19:54 +00:00
|
|
|
"transform": {
|
|
|
|
"^.+\\.tsx?$": "ts-jest"
|
|
|
|
},
|
|
|
|
"testRegex": "(/__tests__/.*|(\\.|/)(test))\\.(ts?|tsx?)$",
|
2018-10-22 22:38:31 +00:00
|
|
|
"moduleFileExtensions": [
|
|
|
|
"ts",
|
|
|
|
"tsx",
|
|
|
|
"js",
|
|
|
|
"jsx",
|
|
|
|
"json",
|
|
|
|
"node"
|
|
|
|
],
|
|
|
|
"snapshotSerializers": [
|
|
|
|
"enzyme-to-json/serializer"
|
|
|
|
],
|
2018-10-15 18:19:54 +00:00
|
|
|
"moduleNameMapper": {
|
|
|
|
"\\.(css|scss)$": "identity-obj-proxy"
|
|
|
|
}
|
|
|
|
},
|
2016-09-15 21:53:29 +00:00
|
|
|
"author": "",
|
|
|
|
"devDependencies": {
|
2019-02-19 23:47:19 +00:00
|
|
|
"@babel/core": "^7.2.2",
|
|
|
|
"@babel/preset-env": "^7.3.1",
|
|
|
|
"@cypress/webpack-preprocessor": "^4.0.3",
|
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-04-12 18:10:19 +00:00
|
|
|
"@types/dygraphs": "^1.1.6",
|
2018-10-22 22:38:31 +00:00
|
|
|
"@types/encoding-down": "^5.0.0",
|
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",
|
2018-10-22 22:38:31 +00:00
|
|
|
"@types/levelup": "^3.1.0",
|
2018-09-27 17:46:48 +00:00
|
|
|
"@types/lodash": "^4.14.116",
|
2018-02-20 08:05:46 +00:00
|
|
|
"@types/node": "^9.4.6",
|
2018-05-23 18:30:52 +00:00
|
|
|
"@types/papaparse": "^4.1.34",
|
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",
|
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-02-20 19:57:58 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^1.4.0",
|
|
|
|
"@typescript-eslint/parser": "^1.4.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-02-19 23:47:19 +00:00
|
|
|
"babel-loader": "^8.0.5",
|
|
|
|
"cypress": "^3.1.5",
|
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-02-20 19:57:58 +00:00
|
|
|
"eslint": "^5.14.1",
|
|
|
|
"eslint-config-prettier": "^4.0.0",
|
|
|
|
"eslint-plugin-react": "^7.12.4",
|
2016-12-27 21:57:23 +00:00
|
|
|
"express": "^4.14.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-02-19 18:19:02 +00:00
|
|
|
"jest": "^24.1.0",
|
2016-09-15 21:53:29 +00:00
|
|
|
"jsdom": "^9.0.0",
|
2019-02-19 23:47:19 +00:00
|
|
|
"mocha": "^5.2.0",
|
|
|
|
"mocha-junit-reporter": "^1.18.0",
|
2019-01-03 17:20:01 +00:00
|
|
|
"parcel": "^1.11.0",
|
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-01-08 17:37:32 +00:00
|
|
|
"sass": "^1.15.3",
|
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",
|
2018-02-20 08:05:46 +00:00
|
|
|
"tslib": "^1.9.0",
|
2019-02-20 19:57:58 +00:00
|
|
|
"typescript": "^3.3.3",
|
2019-02-19 23:47:19 +00:00
|
|
|
"webpack": "^4.29.0"
|
2016-09-15 21:53:29 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2019-02-20 23:49:23 +00:00
|
|
|
"@influxdata/clockface": "0.0.5",
|
2019-02-27 18:41:00 +00:00
|
|
|
"@influxdata/influx": "0.2.19",
|
2019-02-04 21:01:32 +00:00
|
|
|
"@influxdata/react-custom-scrollbars": "4.3.8",
|
2018-05-10 06:46:48 +00:00
|
|
|
"axios": "^0.18.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",
|
2018-06-27 22:14:35 +00:00
|
|
|
"d3-color": "^1.2.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-12-08 22:33:03 +00:00
|
|
|
"dygraphs": "2.1.0",
|
2018-10-22 22:38:31 +00:00
|
|
|
"encoding-down": "^5.0.4",
|
2017-01-30 16:05:57 +00:00
|
|
|
"fast.js": "^0.1.1",
|
2018-10-12 20:16:32 +00:00
|
|
|
"history": "^3.2",
|
2018-12-21 18:31:32 +00:00
|
|
|
"immer": "^1.9.3",
|
2018-10-22 22:38:31 +00:00
|
|
|
"level-js": "^3.0.0",
|
|
|
|
"levelup": "^3.1.1",
|
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",
|
2017-10-19 20:20:58 +00:00
|
|
|
"nano-date": "^2.0.1",
|
2018-05-23 18:30:52 +00:00
|
|
|
"papaparse": "^4.4.0",
|
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-02-19 22:05:13 +00:00
|
|
|
"react": "^16.8.2",
|
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",
|
2018-11-28 01:03:13 +00:00
|
|
|
"react-markdown": "^4.0.3",
|
2018-10-12 20:16:32 +00:00
|
|
|
"react-redux": "^5.0.7",
|
2018-05-14 20:08:51 +00:00
|
|
|
"react-resize-detector": "^2.3.0",
|
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",
|
2016-11-11 19:25:34 +00:00
|
|
|
"react-tooltip": "^3.2.1",
|
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",
|
2016-09-15 21:53:29 +00:00
|
|
|
"redux-thunk": "^1.0.3",
|
2017-03-28 23:20:34 +00:00
|
|
|
"rome": "^2.1.22",
|
2018-02-27 15:37:51 +00:00
|
|
|
"uuid": "^3.2.1"
|
2016-09-09 23:10:54 +00:00
|
|
|
}
|
2018-05-23 18:30:52 +00:00
|
|
|
}
|