mirror of
https://github.com/SonarSource/sonarqube.git
synced 2024-08-31 05:55:40 +02:00
124 lines
4.0 KiB
JSON
124 lines
4.0 KiB
JSON
{
|
|
"name": "sonarqube-vsts",
|
|
"version": "0.0.1",
|
|
"description": "Quality Widget for VSTS",
|
|
"repository": "SonarSource/sonarqube",
|
|
"license": "LGPL-3.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"babel-polyfill": "6.26.0",
|
|
"classnames": "2.2.5",
|
|
"lodash": "4.17.4",
|
|
"react": "16.2.0",
|
|
"react-dom": "16.2.0",
|
|
"whatwg-fetch": "2.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/classnames": "2.2.3",
|
|
"@types/enzyme": "3.1.10",
|
|
"@types/jest": "22.2.3",
|
|
"@types/lodash": "4.14.102",
|
|
"@types/react": "16.0.29",
|
|
"@types/react-dom": "16.0.3",
|
|
"autoprefixer": "7.1.6",
|
|
"babel-core": "6.26.0",
|
|
"babel-jest": "23.0.1",
|
|
"babel-loader": "7.1.4",
|
|
"babel-plugin-dynamic-import-node": "1.1.0",
|
|
"babel-plugin-lodash": "3.3.2",
|
|
"babel-plugin-syntax-dynamic-import": "6.18.0",
|
|
"babel-plugin-transform-class-properties": "6.22.0",
|
|
"babel-plugin-transform-object-rest-spread": "6.26.0",
|
|
"babel-plugin-transform-react-constant-elements": "6.22.0",
|
|
"babel-plugin-transform-react-jsx-self": "6.22.0",
|
|
"babel-plugin-transform-react-jsx-source": "6.22.0",
|
|
"babel-preset-env": "1.6.1",
|
|
"babel-preset-react": "6.22.0",
|
|
"chalk": "2.3.2",
|
|
"clean-webpack-plugin": "0.1.19",
|
|
"copy-webpack-plugin": "4.5.1",
|
|
"css-loader": "0.28.11",
|
|
"enzyme": "3.3.0",
|
|
"enzyme-adapter-react-16": "1.1.1",
|
|
"enzyme-to-json": "3.3.4",
|
|
"escape-string-regexp": "1.0.5",
|
|
"eslint": "4.19.1",
|
|
"eslint-config-sonarqube": "0.1.0",
|
|
"eslint-plugin-import": "2.11.0",
|
|
"eslint-plugin-jsx-a11y": "6.0.3",
|
|
"eslint-plugin-promise": "3.7.0",
|
|
"eslint-plugin-react": "7.7.0",
|
|
"eslint-plugin-sonarjs": "0.1.0",
|
|
"html-webpack-plugin": "3.0.6",
|
|
"jest": "23.1.0",
|
|
"postcss-calc": "6.0.1",
|
|
"postcss-custom-properties": "6.2.0",
|
|
"postcss-loader": "2.1.1",
|
|
"prettier": "1.11.1",
|
|
"react-dev-utils": "5.0.0",
|
|
"react-error-overlay": "1.0.7",
|
|
"react-test-renderer": "16.2.0",
|
|
"style-loader": "0.20.3",
|
|
"ts-jest": "22.4.6",
|
|
"ts-loader": "4.3.0",
|
|
"typescript": "2.8.4",
|
|
"typescript-eslint-parser": "15.0.0",
|
|
"webpack": "4.1.1",
|
|
"webpack-bundle-analyzer": "2.11.1",
|
|
"webpack-dev-server": "3.1.1"
|
|
},
|
|
"scripts": {
|
|
"start": "node scripts/start.js",
|
|
"build": "node scripts/build.js",
|
|
"test": "node scripts/test.js",
|
|
"coverage": "npm test -- --coverage",
|
|
"format": "prettier --write --list-different 'src/main/js/!(libs)/**/*.{js,ts,tsx,css}'",
|
|
"lint": "eslint --ext js,ts,tsx --quiet src/main/js",
|
|
"prettier-check": "prettier --list-different 'src/main/js/!(libs)/**/*.{js,ts,tsx,css}'",
|
|
"ts-check": "tsc --noEmit",
|
|
"validate":
|
|
"yarn lint && yarn ts-check && yarn prettier-check && NODE_ENV=test jest --passWithNoTests"
|
|
},
|
|
"engines": {
|
|
"node": ">=6"
|
|
},
|
|
"browserslist": [
|
|
"last 3 Chrome versions",
|
|
"last 3 Firefox versions",
|
|
"last 3 Safari versions",
|
|
"last 3 Edge versions",
|
|
"IE 11"
|
|
],
|
|
"jest": {
|
|
"coverageDirectory": "<rootDir>/target/coverage",
|
|
"coveragePathIgnorePatterns": ["<rootDir>/node_modules", "<rootDir>/tests"],
|
|
"moduleFileExtensions": ["ts", "tsx", "js", "json"],
|
|
"moduleNameMapper": {
|
|
"^.+\\.(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>/node_modules",
|
|
"<rootDir>/src/main/webapp",
|
|
"<rootDir>/scripts"
|
|
],
|
|
"testRegex": "(/__tests__/.*|\\-test)\\.(ts|tsx|js)$",
|
|
"transform": {
|
|
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
|
|
".(ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
|
}
|
|
},
|
|
"prettier": {
|
|
"jsxBracketSameLine": true,
|
|
"printWidth": 100,
|
|
"singleQuote": true
|
|
}
|
|
}
|