package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. {
  2. "name": "@testing-library/dom",
  3. "version": "10.4.1",
  4. "description": "Simple and complete DOM testing utilities that encourage good testing practices.",
  5. "main": "dist/index.js",
  6. "types": "types/index.d.ts",
  7. "module": "dist/@testing-library/dom.esm.js",
  8. "umd:main": "dist/@testing-library/dom.umd.js",
  9. "source": "src/index.js",
  10. "keywords": [
  11. "testing",
  12. "ui",
  13. "dom",
  14. "jsdom",
  15. "unit",
  16. "integration",
  17. "functional",
  18. "end-to-end",
  19. "e2e"
  20. ],
  21. "author": "Kent C. Dodds <me@kentcdodds.com> (https://kentcdodds.com)",
  22. "license": "MIT",
  23. "engines": {
  24. "node": ">=18"
  25. },
  26. "browserslist": [
  27. "and_chr 103",
  28. "and_ff 101",
  29. "and_qq 10.4",
  30. "and_uc 12.12",
  31. "android 103",
  32. "chrome 102",
  33. "edge 102",
  34. "firefox 91",
  35. "ios_saf 12.2-12.5",
  36. "kaios 2.5",
  37. "op_mini all",
  38. "op_mob 64",
  39. "opera 88",
  40. "safari 15.5",
  41. "samsung 17.0",
  42. "samsung 16.0",
  43. "node 18.0"
  44. ],
  45. "scripts": {
  46. "build": "kcd-scripts build --no-ts-defs --ignore \"**/__tests__/**,**/__node_tests__/**,**/__mocks__/**\" && kcd-scripts build --no-ts-defs --bundle --no-clean",
  47. "format": "kcd-scripts format",
  48. "install:csb": "npm install",
  49. "lint": "kcd-scripts lint",
  50. "setup": "npm install && npm run validate -s",
  51. "test": "kcd-scripts test",
  52. "test:debug": "node --inspect-brk ./node_modules/.bin/jest --watch --runInBand",
  53. "test:update": "npm test -- --updateSnapshot --coverage",
  54. "validate": "kcd-scripts validate",
  55. "typecheck": "kcd-scripts typecheck --build types"
  56. },
  57. "files": [
  58. "dist",
  59. "types/*.d.ts"
  60. ],
  61. "dependencies": {
  62. "@babel/code-frame": "^7.10.4",
  63. "@babel/runtime": "^7.12.5",
  64. "@types/aria-query": "^5.0.1",
  65. "aria-query": "5.3.0",
  66. "dom-accessibility-api": "^0.5.9",
  67. "lz-string": "^1.5.0",
  68. "picocolors": "1.1.1",
  69. "pretty-format": "^27.0.2"
  70. },
  71. "devDependencies": {
  72. "@testing-library/jest-dom": "^5.11.6",
  73. "browserslist": "4.21.8",
  74. "caniuse-lite": "1.0.30001502",
  75. "jest-in-case": "^1.0.2",
  76. "jest-snapshot-serializer-ansi": "^1.0.0",
  77. "jest-watch-select-projects": "^2.0.0",
  78. "jsdom": "20.0.0",
  79. "kcd-scripts": "^13.0.0",
  80. "typescript": "^4.1.2"
  81. },
  82. "overrides": {
  83. "@babel/helper-compilation-targets": "7.24.7",
  84. "browserslist": "4.21.8",
  85. "caniuse-lite": "1.0.30001502"
  86. },
  87. "eslintConfig": {
  88. "extends": [
  89. "./node_modules/kcd-scripts/eslint.js",
  90. "plugin:import/typescript"
  91. ],
  92. "parserOptions": {
  93. "ecmaVersion": 2020
  94. },
  95. "rules": {
  96. "@typescript-eslint/prefer-optional-chain": "off",
  97. "@typescript-eslint/no-explicit-any": "off",
  98. "@typescript-eslint/no-unsafe-member-access": "off",
  99. "@typescript-eslint/no-unnecessary-boolean-literal-compare": "off",
  100. "@typescript-eslint/prefer-includes": "off",
  101. "import/prefer-default-export": "off",
  102. "import/no-unassigned-import": "off",
  103. "import/no-useless-path-segments": "off",
  104. "no-console": "off"
  105. }
  106. },
  107. "eslintIgnore": [
  108. "node_modules",
  109. "coverage",
  110. "dist"
  111. ],
  112. "repository": {
  113. "type": "git",
  114. "url": "https://github.com/testing-library/dom-testing-library"
  115. },
  116. "bugs": {
  117. "url": "https://github.com/testing-library/dom-testing-library/issues"
  118. },
  119. "homepage": "https://github.com/testing-library/dom-testing-library#readme"
  120. }