package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. {
  2. "name": "@testing-library/dom",
  3. "version": "8.20.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": ">=12"
  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 73",
  39. "opera 88",
  40. "safari 15.5",
  41. "samsung 17.0",
  42. "samsung 16.0",
  43. "node 12.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.1.3",
  66. "chalk": "^4.1.0",
  67. "dom-accessibility-api": "^0.5.9",
  68. "lz-string": "^1.5.0",
  69. "pretty-format": "^27.0.2"
  70. },
  71. "devDependencies": {
  72. "@testing-library/jest-dom": "^5.11.6",
  73. "jest-in-case": "^1.0.2",
  74. "jest-snapshot-serializer-ansi": "^1.0.0",
  75. "jest-watch-select-projects": "^2.0.0",
  76. "jsdom": "^16.4.0",
  77. "kcd-scripts": "^11.0.0",
  78. "typescript": "^4.1.2"
  79. },
  80. "eslintConfig": {
  81. "extends": [
  82. "./node_modules/kcd-scripts/eslint.js",
  83. "plugin:import/typescript"
  84. ],
  85. "rules": {
  86. "@typescript-eslint/prefer-optional-chain": "off",
  87. "@typescript-eslint/no-explicit-any": "off",
  88. "@typescript-eslint/no-unsafe-member-access": "off",
  89. "@typescript-eslint/prefer-includes": "off",
  90. "import/prefer-default-export": "off",
  91. "import/no-unassigned-import": "off",
  92. "import/no-useless-path-segments": "off",
  93. "no-console": "off"
  94. }
  95. },
  96. "eslintIgnore": [
  97. "node_modules",
  98. "coverage",
  99. "dist"
  100. ],
  101. "repository": {
  102. "type": "git",
  103. "url": "https://github.com/testing-library/dom-testing-library"
  104. },
  105. "bugs": {
  106. "url": "https://github.com/testing-library/dom-testing-library/issues"
  107. },
  108. "homepage": "https://github.com/testing-library/dom-testing-library#readme"
  109. }