Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. {
  2. "name": "sonar-docs",
  3. "version": "0.0.0",
  4. "license": "LGPL-3.0",
  5. "private": true,
  6. "dependencies": {
  7. "@andrew-codes/gatsby-plugin-elasticlunr-search": "1.0.4",
  8. "classnames": "2.2.6",
  9. "gatsby": "2.19.49",
  10. "gatsby-plugin-layout": "1.1.24",
  11. "gatsby-plugin-polyfill-io": "1.1.0",
  12. "gatsby-plugin-react-helmet": "3.1.24",
  13. "gatsby-plugin-typescript": "2.2.5",
  14. "gatsby-plugin-typography": "2.3.25",
  15. "gatsby-remark-custom-blocks": "2.1.27",
  16. "gatsby-source-filesystem": "2.1.57",
  17. "gatsby-transformer-remark": "2.6.59",
  18. "hast-util-select": "4.0.0",
  19. "lodash": "4.17.21",
  20. "lunr": "2.3.8",
  21. "react": "16.13.0",
  22. "react-dom": "16.13.0",
  23. "react-helmet": "5.2.1",
  24. "react-typography": "0.16.19",
  25. "rehype-react": "6.1.0",
  26. "typography": "0.16.19"
  27. },
  28. "devDependencies": {
  29. "@types/classnames": "2.2.7",
  30. "@types/enzyme": "3.10.5",
  31. "@types/jest": "25.1.4",
  32. "@types/lodash": "4.14.149",
  33. "@types/lunr": "2.3.2",
  34. "@types/react": "16.8.23",
  35. "@types/react-dom": "16.8.4",
  36. "@types/react-helmet": "5.0.15",
  37. "@types/rehype-react": "4.0.0",
  38. "@typescript-eslint/eslint-plugin": "4.13.0",
  39. "@typescript-eslint/parser": "4.13.0",
  40. "babel-jest": "25.1.0",
  41. "enzyme": "3.11.0",
  42. "enzyme-adapter-react-16": "1.15.2",
  43. "enzyme-to-json": "3.4.4",
  44. "eslint": "7.17.0",
  45. "eslint-config-sonarqube": "1.0.0",
  46. "eslint-plugin-import": "2.22.1",
  47. "eslint-plugin-jest": "24.1.0",
  48. "eslint-plugin-jsx-a11y": "6.4.0",
  49. "eslint-plugin-promise": "4.2.1",
  50. "eslint-plugin-react": "7.22.0",
  51. "eslint-plugin-react-hooks": "4.2.0",
  52. "eslint-plugin-sonarjs": "0.5.0",
  53. "fs-extra": "7.0.1",
  54. "glob-promise": "3.4.0",
  55. "graphql-code-generator": "0.5.2",
  56. "jest": "25.1.0",
  57. "jest-fetch-mock": "2.1.2",
  58. "prettier": "1.19.1",
  59. "react-test-renderer": "16.8.5",
  60. "remark": "11.0.2",
  61. "ts-jest": "25.2.1",
  62. "typescript": "4.1.3",
  63. "unist-util-visit": "2.0.2"
  64. },
  65. "scripts": {
  66. "build": "yarn install --immutable && yarn gatsby clean && yarn gatsby build --prefix-paths",
  67. "develop": "gatsby develop",
  68. "graphql-types": "gql-gen --url http://localhost:8000/___graphql --template typescript --out ./src/@types/graphql-types.d.ts",
  69. "test": "jest",
  70. "format": "prettier --write --list-different \"src/**/*.{js,ts,tsx,css}\"",
  71. "format-check": "prettier --list-different \"src/**/*.{js,ts,tsx,css}\"",
  72. "lint": "eslint --ext js,ts,tsx --quiet src",
  73. "ts-check": "tsc --noEmit",
  74. "validate": "yarn lint && yarn ts-check && yarn format-check && yarn test",
  75. "validate-ci": "yarn install --immutable && yarn test --ci",
  76. "check-ci": "yarn install --immutable && yarn ts-check && yarn format-check",
  77. "audit-ci": "yarn npm audit --environment production --severity high"
  78. },
  79. "prettier": {
  80. "jsxBracketSameLine": true,
  81. "printWidth": 100,
  82. "singleQuote": true
  83. },
  84. "jest": {
  85. "moduleFileExtensions": [
  86. "ts",
  87. "tsx",
  88. "js",
  89. "json"
  90. ],
  91. "moduleNameMapper": {
  92. "^.+\\.(hbs|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/config/jest/FileStub.js",
  93. "^.+\\.css$": "<rootDir>/config/jest/CSSStub.js"
  94. },
  95. "setupFiles": [
  96. "<rootDir>/config/jest/SetupEnzyme.js",
  97. "<rootDir>/config/jest/SetupJest.ts"
  98. ],
  99. "snapshotSerializers": [
  100. "enzyme-to-json/serializer"
  101. ],
  102. "testPathIgnorePatterns": [
  103. "<rootDir>/node_modules",
  104. "<rootDir>/config",
  105. "<rootDir>/.cache"
  106. ],
  107. "testRegex": "(/__tests__/.*|\\-test)\\.(ts|tsx|js)$",
  108. "transform": {
  109. "\\.js$": "babel-jest",
  110. "\\.(ts|tsx)$": "ts-jest"
  111. }
  112. },
  113. "packageManager": "yarn@3.0.2"
  114. }