193 lines
5.7 KiB
JSON
193 lines
5.7 KiB
JSON
{
|
|
"name": "chronograf-ui",
|
|
"version": "2.0.0",
|
|
"private": false,
|
|
"license": "AGPL-3.0",
|
|
"description": "",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "github:influxdata/chronograf"
|
|
},
|
|
"engines": {
|
|
"npm": "~6.8",
|
|
"node": "~10.5"
|
|
},
|
|
"alias": {
|
|
"src": "./src"
|
|
},
|
|
"scripts": {
|
|
"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",
|
|
"clean": "rm -rf ./build && rm -rf ./.cache && rm -rf node_modules",
|
|
"test": "jest --maxWorkers=2",
|
|
"test:watch": "jest --watch --verbose false",
|
|
"test:update": "jest --updateSnapshot",
|
|
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand --watch --verbose false",
|
|
"test:junit": "cypress run --reporter junit --reporter-options 'mochaFile=junit-results/my-test-output.xml'",
|
|
"lint": "npm run tsc && npm run eslint",
|
|
"eslint": "eslint '{src,cypress}/**/*.{ts,tsx}'",
|
|
"eslint:fix": "eslint --fix '{src,cypress}/**/*.{ts,tsx}'",
|
|
"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",
|
|
"cy": "cypress open"
|
|
},
|
|
"jest": {
|
|
"setupFilesAfterEnv": [
|
|
"./jestSetup.ts"
|
|
],
|
|
"displayName": "test",
|
|
"testURL": "http://localhost",
|
|
"testPathIgnorePatterns": [
|
|
"build",
|
|
"<rootDir>/node_modules/(?!(jest-test))",
|
|
"cypress"
|
|
],
|
|
"setupFiles": [
|
|
"<rootDir>/testSetup.ts"
|
|
],
|
|
"modulePaths": [
|
|
"<rootDir>",
|
|
"<rootDir>/node_modules/"
|
|
],
|
|
"moduleDirectories": [
|
|
"src"
|
|
],
|
|
"transform": {
|
|
"^.+\\.tsx?$": "ts-jest"
|
|
},
|
|
"testRegex": "(/__tests__/.*|(\\.|/)(test))\\.(ts?|tsx?)$",
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"jsx",
|
|
"json",
|
|
"node"
|
|
],
|
|
"snapshotSerializers": [
|
|
"enzyme-to-json/serializer"
|
|
],
|
|
"moduleNameMapper": {
|
|
"\\.(css|scss)$": "identity-obj-proxy"
|
|
}
|
|
},
|
|
"author": "",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.2.2",
|
|
"@babel/preset-env": "^7.3.1",
|
|
"@cypress/webpack-preprocessor": "^4.0.3",
|
|
"@types/chroma-js": "^1.3.4",
|
|
"@types/codemirror": "^0.0.56",
|
|
"@types/d3-color": "^1.2.1",
|
|
"@types/d3-scale": "^2.0.1",
|
|
"@types/dygraphs": "^1.1.6",
|
|
"@types/encoding-down": "^5.0.0",
|
|
"@types/enzyme": "^3.1.14",
|
|
"@types/history": "3.2.2",
|
|
"@types/jest": "^23.3.2",
|
|
"@types/levelup": "^3.1.0",
|
|
"@types/lodash": "^4.14.116",
|
|
"@types/memoize-one": "^4.0.2",
|
|
"@types/node": "^9.4.6",
|
|
"@types/papaparse": "^4.1.34",
|
|
"@types/prop-types": "^15.5.2",
|
|
"@types/qs": "^6.5.1",
|
|
"@types/react": "^16.8.3",
|
|
"@types/react-dnd": "^2.0.36",
|
|
"@types/react-dnd-html5-backend": "^2.1.9",
|
|
"@types/react-dom": "^16.8.1",
|
|
"@types/react-grid-layout": "^0.16.5",
|
|
"@types/react-redux": "^6.0.9",
|
|
"@types/react-router": "^3.0.15",
|
|
"@types/react-router-redux": "^4.0.0",
|
|
"@types/react-virtualized": "^9.18.3",
|
|
"@types/text-encoding": "^0.0.32",
|
|
"@types/uuid": "^3.4.3",
|
|
"@typescript-eslint/eslint-plugin": "^1.4.0",
|
|
"@typescript-eslint/parser": "^1.4.0",
|
|
"acorn": "^6.0.6",
|
|
"ajv": "^6.7.0",
|
|
"autoprefixer": "^6.3.1",
|
|
"babel-loader": "^8.0.5",
|
|
"cypress": "^3.1.5",
|
|
"enzyme": "^3.6.0",
|
|
"enzyme-adapter-react-16": "^1.6.0",
|
|
"enzyme-to-json": "^3.3.4",
|
|
"eslint": "^5.14.1",
|
|
"eslint-config-prettier": "^4.0.0",
|
|
"eslint-plugin-prettier": "^3.0.1",
|
|
"eslint-plugin-react": "^7.12.4",
|
|
"express": "^4.14.0",
|
|
"http-proxy-middleware": "^0.18.0",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^24.1.0",
|
|
"jsdom": "^9.0.0",
|
|
"mocha": "^5.2.0",
|
|
"mocha-junit-reporter": "^1.18.0",
|
|
"parcel": "^1.11.0",
|
|
"prettier": "^1.16.4",
|
|
"react-testing-library": "^5.4.4",
|
|
"sass": "^1.15.3",
|
|
"ts-jest": "^24.0.0",
|
|
"ts-loader": "^5.3.3",
|
|
"tslib": "^1.9.0",
|
|
"typescript": "^3.3.3",
|
|
"webpack": "^4.29.0"
|
|
},
|
|
"dependencies": {
|
|
"@influxdata/clockface": "0.0.10",
|
|
"@influxdata/influx": "github:influxdata/influxdb2-js#dev",
|
|
"@influxdata/react-custom-scrollbars": "4.3.8",
|
|
"@influxdata/vis": "^0.2.3",
|
|
"axios": "^0.18.0",
|
|
"babel-polyfill": "^6.26.0",
|
|
"bignumber.js": "^4.0.2",
|
|
"calculate-size": "^1.1.1",
|
|
"chroma-js": "^1.3.6",
|
|
"classnames": "^2.2.3",
|
|
"codemirror": "^5.36.0",
|
|
"d3-color": "^1.2.0",
|
|
"d3-format": "^1.3.2",
|
|
"d3-scale": "^2.1.0",
|
|
"dygraphs": "2.1.0",
|
|
"encoding-down": "^5.0.4",
|
|
"fast.js": "^0.1.1",
|
|
"history": "^3.2",
|
|
"immer": "^1.9.3",
|
|
"level-js": "^3.0.0",
|
|
"levelup": "^3.1.1",
|
|
"lodash": "^4.3.0",
|
|
"memoize-one": "^4.0.2",
|
|
"moment": "^2.13.0",
|
|
"nano-date": "^2.0.1",
|
|
"papaparse": "^4.4.0",
|
|
"prop-types": "^15.6.1",
|
|
"qs": "^6.5.2",
|
|
"react": "^16.8.2",
|
|
"react-codemirror2": "^4.2.1",
|
|
"react-copy-to-clipboard": "^5.0.1",
|
|
"react-datepicker": "^2.1.0",
|
|
"react-dimensions": "^1.2.0",
|
|
"react-dnd": "^2.6.0",
|
|
"react-dnd-html5-backend": "^2.6.0",
|
|
"react-dom": "^16.8.2",
|
|
"react-grid-layout": "^0.16.6",
|
|
"react-markdown": "^4.0.3",
|
|
"react-redux": "^5.0.7",
|
|
"react-resize-detector": "^2.3.0",
|
|
"react-router": "^3.0.2",
|
|
"react-router-redux": "^4.0.8",
|
|
"react-scrollbars-custom": "^4.0.0-alpha.8",
|
|
"react-tooltip": "^3.2.1",
|
|
"react-virtualized": "^9.18.5",
|
|
"redux": "^4.0.0",
|
|
"redux-auth-wrapper": "^1.0.0",
|
|
"redux-thunk": "^1.0.3",
|
|
"reselect": "^4.0.0",
|
|
"rome": "^2.1.22",
|
|
"ui": "^0.2.4",
|
|
"uuid": "^3.2.1"
|
|
}
|
|
}
|