169 lines
6.0 KiB
JSON
169 lines
6.0 KiB
JSON
{
|
|
"name": "chronograf-ui",
|
|
"version": "1.10.6",
|
|
"private": true,
|
|
"license": "AGPL-3.0",
|
|
"description": "",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "github:influxdata/chronograf"
|
|
},
|
|
"browserslist": "> 5%, last 2 versions, not dead",
|
|
"alias": {
|
|
"src": "./src",
|
|
"shared": "./src/shared",
|
|
"style": "./src/style",
|
|
"utils": "./src/utils"
|
|
},
|
|
"targets": {
|
|
"default": {
|
|
"source": "src/index.html",
|
|
"distDir": "./build"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"start": "APP_VERSION=$npm_package_version PORT=8080 GIT_SHA=$(git rev-parse HEAD) parcel serve",
|
|
"build": "APP_VERSION=$npm_package_version GIT_SHA=$(git rev-parse HEAD) parcel build --log-level error",
|
|
"build:inspect": "APP_VERSION=$npm_package_version GIT_SHA=$(git rev-parse HEAD) parcel build --log-level verbose --no-optimize",
|
|
"clean": "rm -rf ./build/* && rm -rf ./.cache ../.parcel-cache",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand --watch",
|
|
"lint": "yarn run eslint; yarn run tsc",
|
|
"test:e2e": "yarn test:oauth-mock:check && CYPRESS_oauth2ServerURL=http://${OAUTH2_HOSTNAME:-localhost}:${OAUTH2_PORT:-8087} cypress run --browser chrome --headless --reporter junit --reporter-options 'mochaFile=cypress/results/results-[hash].xml'",
|
|
"test:e2e:headed": "yarn test:oauth-mock:check && CYPRESS_oauth2ServerURL=http://${OAUTH2_HOSTNAME:-localhost}:${OAUTH2_PORT:-8087} cypress open --browser chrome",
|
|
"test:oauth-mock": "yarn --cwd ../etc/oauth2-server-mock install && yarn --cwd ../etc/oauth2-server-mock start",
|
|
"test:oauth-mock:check": "nc -z ${OAUTH2_HOSTNAME:-localhost} ${OAUTH2_PORT:-8087} || (echo 'Unable to contact OAuth2 Server. Type \"yarn test:oauth-mock\" to start it.' && exit 1)",
|
|
"eslint": "eslint src",
|
|
"eslint:watch": "esw src --watch --cache",
|
|
"eslint:fix": "eslint src --fix",
|
|
"tsc": "tsc -p ./tsconfig.json --noEmit --pretty",
|
|
"tsc:watch": "tsc -p ./tsconfig.json --noEmit --pretty -w",
|
|
"dev": "yarn clean && yarn start",
|
|
"postinstall": "echo \"\" > ../node_modules/go.mod"
|
|
},
|
|
"author": "",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.4.0",
|
|
"@babel/eslint-parser": "^7.17.0",
|
|
"@babel/eslint-plugin": "^7.17.7",
|
|
"@babel/plugin-proposal-class-properties": "^7.1.0",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
|
|
"@babel/plugin-transform-runtime": "^7.1.0",
|
|
"@babel/preset-env": "^7.13.9",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"@babel/preset-typescript": "^7.18.6",
|
|
"@parcel/core": "^2.6.2",
|
|
"@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/enzyme": "^3.1.13",
|
|
"@types/jest": "^26.0.20",
|
|
"@types/levelup": "^4.3.3",
|
|
"@types/lodash": "^4.14.104",
|
|
"@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.23",
|
|
"@types/react-dnd": "^2.0.36",
|
|
"@types/react-dnd-html5-backend": "^2.1.9",
|
|
"@types/react-dom": "^16.8.4",
|
|
"@types/react-onclickoutside": "^6.7.4",
|
|
"@types/react-router": "^3.0.15",
|
|
"@types/react-router-redux": "4",
|
|
"@types/react-virtualized": "^9.18.3",
|
|
"@types/text-encoding": "^0.0.32",
|
|
"@types/uuid": "^3.4.3",
|
|
"@typescript-eslint/eslint-plugin": "^5.16.0",
|
|
"@typescript-eslint/parser": "^5.16.0",
|
|
"autoprefixer": "^6.3.1",
|
|
"babel-jest": "^28.1.3",
|
|
"babel-plugin-lodash": "^3.3.4",
|
|
"babel-plugin-module-resolver": "^4.1.0",
|
|
"babel-plugin-transform-import-meta": "^2.2.0",
|
|
"enzyme": "^3.6.0",
|
|
"enzyme-adapter-react-16": "^1.5.0",
|
|
"enzyme-to-json": "^3.3.4",
|
|
"eslint": "^7.21.0",
|
|
"eslint-config-prettier": "^8.1.0",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"eslint-plugin-jest": "^24.1.8",
|
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
"eslint-plugin-prettier": "^3.3.1",
|
|
"eslint-plugin-react": "^7.22.0",
|
|
"eslint-watch": "^7.0.0",
|
|
"express": "^4.21.1",
|
|
"fake-indexeddb": "^2.0.4",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^28.1.3",
|
|
"jest-environment-jsdom": "^28.1.3",
|
|
"jest-runner-eslint": "^1.0.1",
|
|
"node-sass": "^7.0.0",
|
|
"parcel": "^2.6.2",
|
|
"prettier": "2.2.1",
|
|
"sass": "^1.26.3",
|
|
"tslib": "^1.9.0",
|
|
"typescript": "^4.2.2"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.0.0",
|
|
"babel-polyfill": "^6.26.0",
|
|
"bignumber.js": "^4.0.2",
|
|
"browserslist": "^4.17.0",
|
|
"calculate-size": "^1.1.1",
|
|
"chroma-js": "^1.3.6",
|
|
"classnames": "^2.2.3",
|
|
"codemirror": "^5.36.0",
|
|
"copy-to-clipboard": "^3.3.1",
|
|
"cypress": "^8.4.1",
|
|
"cypress-file-upload": "^5.0.8",
|
|
"cypress-image-snapshot": "^4.0.1",
|
|
"cypress-pipe": "^2.0.0",
|
|
"cypress-plugin-tab": "^1.0.5",
|
|
"cypress-real-events": "^1.7.0",
|
|
"d3-color": "^3.1.0",
|
|
"d3-scale": "^4.0.2",
|
|
"dygraphs": "2.1.0",
|
|
"encoding-down": "^5.0.4",
|
|
"eslint-plugin-no-only-tests": "^2.6.0",
|
|
"fast.js": "^0.1.1",
|
|
"he": "^1.1.1",
|
|
"level-js": "^3.0.0",
|
|
"levelup": "^3.1.1",
|
|
"lodash": "^4.17.13",
|
|
"memoize-one": "^4.0.2",
|
|
"moment": "^2.29.4",
|
|
"nano-date": "^2.0.1",
|
|
"papaparse": "^5.3.0",
|
|
"prop-types": "^15.6.1",
|
|
"qs": "^6.5.2",
|
|
"react": "^16.8.6",
|
|
"react-addons-shallow-compare": "^15.0.2",
|
|
"react-codemirror2": "^7.2.1",
|
|
"react-copy-to-clipboard": "^5.0.1",
|
|
"react-custom-scrollbars": "^4.1.1",
|
|
"react-dimensions": "^1.2.0",
|
|
"react-dnd": "^2.6.0",
|
|
"react-dnd-html5-backend": "^2.6.0",
|
|
"react-dom": "^16.5.1",
|
|
"react-grid-layout": "1.2.2",
|
|
"react-markdown": "^6.0.2",
|
|
"react-onclickoutside": "^6.10.0",
|
|
"react-redux": "^7.2.2",
|
|
"react-resize-detector": "^7.0.0",
|
|
"react-router": "^3.0.2",
|
|
"react-router-redux": "^4.0.8",
|
|
"react-tooltip": "^3.2.1",
|
|
"react-virtualized": "^9.18.5",
|
|
"redux": "^3.3.1",
|
|
"redux-auth-wrapper": "^3.0.0",
|
|
"redux-thunk": "^1.0.3",
|
|
"reselect": "^3.0.1",
|
|
"rome": "^2.1.22",
|
|
"uuid": "^3.2.1"
|
|
}
|
|
}
|