mirror of
https://github.com/SonarSource/sonarqube.git
synced 2024-08-08 03:05:57 +02:00
110 lines
3.5 KiB
JSON
110 lines
3.5 KiB
JSON
{
|
|
"name": "sonar-docs",
|
|
"version": "0.0.0",
|
|
"license": "LGPL-3.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@andrew-codes/gatsby-plugin-elasticlunr-search": "1.0.4",
|
|
"classnames": "2.2.6",
|
|
"gatsby": "2.19.49",
|
|
"gatsby-plugin-layout": "1.1.24",
|
|
"gatsby-plugin-polyfill-io": "1.1.0",
|
|
"gatsby-plugin-react-helmet": "3.1.24",
|
|
"gatsby-plugin-typescript": "2.2.5",
|
|
"gatsby-plugin-typography": "2.3.25",
|
|
"gatsby-remark-custom-blocks": "2.1.27",
|
|
"gatsby-source-filesystem": "2.1.57",
|
|
"gatsby-transformer-remark": "2.6.59",
|
|
"lodash": "4.17.15",
|
|
"lunr": "2.3.8",
|
|
"react": "16.13.0",
|
|
"react-dom": "16.13.0",
|
|
"react-helmet": "5.2.1",
|
|
"react-typography": "0.16.19",
|
|
"sonar-ui-common": "1.0.20",
|
|
"typography": "0.16.19"
|
|
},
|
|
"devDependencies": {
|
|
"@types/classnames": "2.2.7",
|
|
"@types/enzyme": "3.10.5",
|
|
"@types/jest": "25.1.4",
|
|
"@types/lodash": "4.14.149",
|
|
"@types/lunr": "2.3.2",
|
|
"@types/react": "16.8.23",
|
|
"@types/react-dom": "16.8.4",
|
|
"@types/react-helmet": "5.0.15",
|
|
"@typescript-eslint/parser": "2.6.0",
|
|
"babel-jest": "25.1.0",
|
|
"enzyme": "3.11.0",
|
|
"enzyme-adapter-react-16": "1.15.2",
|
|
"enzyme-to-json": "3.4.4",
|
|
"eslint": "6.8.0",
|
|
"eslint-config-sonarqube": "0.6.1",
|
|
"eslint-plugin-import": "2.20.1",
|
|
"eslint-plugin-jest": "23.8.2",
|
|
"eslint-plugin-jsx-a11y": "6.2.3",
|
|
"eslint-plugin-promise": "4.2.1",
|
|
"eslint-plugin-react": "7.19.0",
|
|
"eslint-plugin-react-hooks": "2.5.0",
|
|
"eslint-plugin-sonarjs": "0.5.0",
|
|
"fs-extra": "7.0.1",
|
|
"glob-promise": "3.4.0",
|
|
"graphql-code-generator": "0.5.2",
|
|
"jest": "25.1.0",
|
|
"jest-fetch-mock": "2.1.2",
|
|
"prettier": "1.19.1",
|
|
"react-test-renderer": "16.8.5",
|
|
"remark": "11.0.2",
|
|
"ts-jest": "25.2.1",
|
|
"typescript": "3.8.3",
|
|
"unist-util-visit": "2.0.2"
|
|
},
|
|
"scripts": {
|
|
"build": "gatsby clean && gatsby build --prefix-paths",
|
|
"develop": "gatsby develop",
|
|
"graphql-types": "gql-gen --url http://localhost:8000/___graphql --template typescript --out ./src/@types/graphql-types.d.ts",
|
|
"test": "jest",
|
|
"format": "prettier --write --list-different \"src/**/*.{js,ts,tsx,css}\"",
|
|
"format-check": "prettier --list-different \"src/**/*.{js,ts,tsx,css}\"",
|
|
"lint": "eslint --ext js,ts,tsx --quiet src",
|
|
"lint-report": "eslint --ext js,ts,tsx -f json -o eslint-report.json src",
|
|
"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"
|
|
},
|
|
"prettier": {
|
|
"jsxBracketSameLine": true,
|
|
"printWidth": 100,
|
|
"singleQuote": true
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"json"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^.+\\.(hbs|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/jest/SetupEnzyme.js",
|
|
"<rootDir>/config/jest/SetupJest.ts"
|
|
],
|
|
"snapshotSerializers": [
|
|
"enzyme-to-json/serializer"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"<rootDir>/node_modules",
|
|
"<rootDir>/config",
|
|
"<rootDir>/.cache"
|
|
],
|
|
"testRegex": "(/__tests__/.*|\\-test)\\.(ts|tsx|js)$",
|
|
"transform": {
|
|
"\\.js$": "babel-jest",
|
|
"\\.(ts|tsx)$": "ts-jest"
|
|
}
|
|
}
|
|
}
|