mirror of
https://github.com/SonarSource/sonarqube.git
synced 2024-08-14 02:11:26 +02:00
223 lines
6.5 KiB
JSON
223 lines
6.5 KiB
JSON
{
|
|
"name": "SonarQube",
|
|
"version": "0.0.1",
|
|
"description": "Put your technical debt under control",
|
|
"repository": "SonarSource/sonarqube",
|
|
"license": "LGPL-3.0",
|
|
"dependencies": {
|
|
"classnames": "2.2.6",
|
|
"clipboard": "2.0.1",
|
|
"core-js": "3.0.0",
|
|
"create-react-class": "15.6.3",
|
|
"d3-array": "1.2.4",
|
|
"d3-hierarchy": "1.1.8",
|
|
"d3-scale": "2.1.2",
|
|
"d3-selection": "1.3.2",
|
|
"d3-shape": "1.2.2",
|
|
"d3-zoom": "1.7.3",
|
|
"date-fns": "1.29.0",
|
|
"formik": "1.2.0",
|
|
"history": "3.3.0",
|
|
"intl-relativeformat": "2.1.0",
|
|
"keymaster": "1.6.2",
|
|
"lodash": "4.17.11",
|
|
"lunr": "2.3.4",
|
|
"mdast-util-toc": "2.1.0",
|
|
"prop-types": "15.7.2",
|
|
"react": "16.8.5",
|
|
"react-countup": "4.1.1",
|
|
"react-day-picker": "7.3.0",
|
|
"react-dom": "16.8.5",
|
|
"react-draggable": "3.2.1",
|
|
"react-ga": "2.5.7",
|
|
"react-helmet": "5.2.0",
|
|
"react-intl": "2.8.0",
|
|
"react-modal": "3.8.1",
|
|
"react-redux": "5.1.1",
|
|
"react-router": "3.2.1",
|
|
"react-select": "1.2.1",
|
|
"react-virtualized": "9.21.0",
|
|
"redux": "4.0.1",
|
|
"redux-logger": "3.0.6",
|
|
"redux-thunk": "2.3.0",
|
|
"regenerator-runtime": "0.13.2",
|
|
"remark-custom-blocks": "2.3.0",
|
|
"remark-slug": "5.1.0",
|
|
"remark-toc": "5.0.0",
|
|
"unist-util-visit": "1.4.0",
|
|
"valid-url": "1.0.9",
|
|
"whatwg-fetch": "2.0.4"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.4.0",
|
|
"@babel/plugin-proposal-class-properties": "7.4.0",
|
|
"@babel/plugin-proposal-object-rest-spread": "7.4.0",
|
|
"@babel/plugin-syntax-dynamic-import": "7.2.0",
|
|
"@babel/plugin-transform-react-constant-elements": "7.2.0",
|
|
"@babel/plugin-transform-react-jsx-self": "7.2.0",
|
|
"@babel/plugin-transform-react-jsx-source": "7.2.0",
|
|
"@babel/preset-env": "7.4.2",
|
|
"@babel/preset-react": "7.0.0",
|
|
"@types/classnames": "2.2.6",
|
|
"@types/clipboard": "2.0.1",
|
|
"@types/d3-array": "1.2.4",
|
|
"@types/d3-hierarchy": "1.1.4",
|
|
"@types/d3-scale": "2.0.2",
|
|
"@types/d3-selection": "1.3.2",
|
|
"@types/d3-shape": "1.2.4",
|
|
"@types/d3-zoom": "1.7.2",
|
|
"@types/enzyme": "3.9.1",
|
|
"@types/jest": "24.0.11",
|
|
"@types/keymaster": "1.6.28",
|
|
"@types/lodash": "4.14.123",
|
|
"@types/prop-types": "15.7.0",
|
|
"@types/react": "16.8.8",
|
|
"@types/react-dom": "16.8.3",
|
|
"@types/react-helmet": "5.0.8",
|
|
"@types/react-intl": "2.3.17",
|
|
"@types/react-modal": "3.8.1",
|
|
"@types/react-redux": "6.0.6",
|
|
"@types/react-router": "3.0.20",
|
|
"@types/react-select": "1.2.6",
|
|
"@types/react-virtualized": "9.21.0",
|
|
"@types/valid-url": "1.0.2",
|
|
"@typescript-eslint/parser": "1.5.0",
|
|
"autoprefixer": "9.5.0",
|
|
"babel-core": "7.0.0-bridge.0",
|
|
"babel-jest": "24.5.0",
|
|
"babel-loader": "8.0.5",
|
|
"babel-plugin-dynamic-import-node": "2.2.0",
|
|
"babel-plugin-lodash": "3.3.4",
|
|
"chalk": "2.4.1",
|
|
"clean-webpack-plugin": "2.0.1",
|
|
"copy-webpack-plugin": "5.0.1",
|
|
"css-loader": "1.0.1",
|
|
"enzyme": "3.9.0",
|
|
"enzyme-adapter-react-16": "1.10.0",
|
|
"enzyme-to-json": "3.3.5",
|
|
"escape-string-regexp": "1.0.5",
|
|
"eslint": "5.15.3",
|
|
"eslint-config-sonarqube": "0.3.0",
|
|
"eslint-plugin-import": "2.16.0",
|
|
"eslint-plugin-jsx-a11y": "6.2.1",
|
|
"eslint-plugin-promise": "4.0.1",
|
|
"eslint-plugin-react": "7.12.4",
|
|
"eslint-plugin-sonarjs": "0.3.0",
|
|
"expose-loader": "0.7.5",
|
|
"glob": "7.1.3",
|
|
"glob-promise": "3.4.0",
|
|
"html-webpack-plugin": "3.2.0",
|
|
"jest": "24.5.0",
|
|
"lint-staged": "7.3.0",
|
|
"lodash-webpack-plugin": "0.11.5",
|
|
"mini-css-extract-plugin": "0.5.0",
|
|
"postcss-calc": "7.0.1",
|
|
"postcss-custom-properties": "8.0.9",
|
|
"postcss-loader": "3.0.0",
|
|
"prettier": "1.16.4",
|
|
"raw-loader": "2.0.0",
|
|
"react-dev-utils": "5.0.1",
|
|
"react-error-overlay": "1.0.7",
|
|
"react-test-renderer": "16.8.5",
|
|
"remark": "9.0.0",
|
|
"remark-react": "4.0.3",
|
|
"style-loader": "0.23.1",
|
|
"ts-jest": "24.0.0",
|
|
"ts-loader": "5.3.3",
|
|
"typescript": "3.3.3333",
|
|
"webpack": "4.29.6",
|
|
"webpack-bundle-analyzer": "3.1.0",
|
|
"webpack-dev-server": "3.2.1"
|
|
},
|
|
"scripts": {
|
|
"start": "node scripts/start.js",
|
|
"build": "node scripts/build.js",
|
|
"build-release": "node scripts/build.js release",
|
|
"test": "jest",
|
|
"format": "prettier --write --list-different 'src/main/js/**/*.{js,ts,tsx,css}'",
|
|
"format-check": "prettier --list-different 'src/main/js/**/*.{js,ts,tsx,css}'",
|
|
"lint": "eslint --ext js,ts,tsx --quiet src/main/js",
|
|
"lint-report": "eslint --ext js,ts,tsx -f json -o eslint-report.json src/main/js",
|
|
"ts-check": "tsc --noEmit",
|
|
"validate": "yarn lint && yarn ts-check && yarn format-check && yarn test",
|
|
"validate-ci": "yarn lint-report && yarn ts-check && yarn format-check && yarn test --coverage",
|
|
"precommit": "yarn ts-check && lint-staged"
|
|
},
|
|
"engines": {
|
|
"node": ">=8"
|
|
},
|
|
"browserslist": [
|
|
"last 3 Chrome versions",
|
|
"last 3 Firefox versions",
|
|
"last 3 Safari versions",
|
|
"last 3 Edge versions",
|
|
"IE 11"
|
|
],
|
|
"jest": {
|
|
"coverageDirectory": "<rootDir>/coverage",
|
|
"collectCoverageFrom": [
|
|
"src/main/js/**/*.{ts,tsx,js}"
|
|
],
|
|
"coverageReporters": [
|
|
"lcovonly",
|
|
"text"
|
|
],
|
|
"globals": {
|
|
"ts-jest": {
|
|
"diagnostics": {
|
|
"ignoreCodes": [
|
|
151001
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"json"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^.+\\.(md|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/config/jest/FileStub.js",
|
|
"^.+\\.css$": "<rootDir>/config/jest/CSSStub.js"
|
|
},
|
|
"setupFiles": [
|
|
"<rootDir>/config/polyfills.js",
|
|
"<rootDir>/config/jest/SetupTestEnvironment.js",
|
|
"<rootDir>/config/jest/SetupEnzyme.js"
|
|
],
|
|
"snapshotSerializers": [
|
|
"enzyme-to-json/serializer"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"<rootDir>/config",
|
|
"<rootDir>/node_modules",
|
|
"<rootDir>/scripts"
|
|
],
|
|
"testRegex": "(/__tests__/.*|\\-test)\\.(ts|tsx|js)$",
|
|
"transform": {
|
|
"\\.js$": "babel-jest",
|
|
"\\.(ts|tsx)$": "ts-jest"
|
|
}
|
|
},
|
|
"prettier": {
|
|
"jsxBracketSameLine": true,
|
|
"printWidth": 100,
|
|
"singleQuote": true
|
|
},
|
|
"lint-staged": {
|
|
"linters": {
|
|
"*.{css,json}": [
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"*.{js,ts,tsx}": [
|
|
"eslint",
|
|
"jest --bail --passWithNoTests --findRelatedTests",
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|
|
}
|