zrcadlo
https://github.com/SonarSource/sonarqube.git
synchronizováno 2024-08-30 17:55:19 +02:00
124 řádky
3.9 KiB
JSON
124 řádky
3.9 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",
|
|
"hast-util-select": "4.0.0",
|
|
"lodash": "4.17.21",
|
|
"lunr": "2.3.8",
|
|
"react": "16.13.0",
|
|
"react-dom": "16.13.0",
|
|
"react-helmet": "5.2.1",
|
|
"react-typography": "0.16.19",
|
|
"rehype-react": "6.1.0",
|
|
"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",
|
|
"@types/rehype-react": "4.0.0",
|
|
"@typescript-eslint/eslint-plugin": "4.13.0",
|
|
"@typescript-eslint/parser": "4.13.0",
|
|
"babel-jest": "25.1.0",
|
|
"enzyme": "3.11.0",
|
|
"enzyme-adapter-react-16": "1.15.2",
|
|
"enzyme-to-json": "3.4.4",
|
|
"eslint": "7.17.0",
|
|
"eslint-config-sonarqube": "1.0.0",
|
|
"eslint-plugin-import": "2.22.1",
|
|
"eslint-plugin-jest": "24.1.0",
|
|
"eslint-plugin-jsx-a11y": "6.4.0",
|
|
"eslint-plugin-promise": "4.2.1",
|
|
"eslint-plugin-react": "7.22.0",
|
|
"eslint-plugin-react-hooks": "4.2.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",
|
|
"jest-junit": "12.0.0",
|
|
"prettier": "1.19.1",
|
|
"react-test-renderer": "16.8.5",
|
|
"remark": "11.0.2",
|
|
"ts-jest": "25.2.1",
|
|
"typescript": "4.1.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 test --coverage --ci --reporters=default --reporters=jest-junit",
|
|
"check-ci": "yarn ts-check && yarn format-check"
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"jest-junit": {
|
|
"outputDirectory": "build/test-results/test-jest",
|
|
"outputName": "junit.xml",
|
|
"ancestorSeparator": " > ",
|
|
"suiteNameTemplate": "{filename}",
|
|
"classNameTemplate": "{classname}",
|
|
"titleTemplate": "{title}"
|
|
},
|
|
"packageManager": "yarn@3.0.2"
|
|
}
|