package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "name": "@testing-library/user-event",
  3. "version": "13.5.0",
  4. "description": "Fire events the same way the user does",
  5. "main": "dist/index.js",
  6. "keywords": [
  7. "react-testing-library",
  8. "dom-testing-library",
  9. "react",
  10. "testing"
  11. ],
  12. "author": "Giorgio Polvara <polvara@gmail.com>",
  13. "license": "MIT",
  14. "engines": {
  15. "node": ">=10",
  16. "npm": ">=6"
  17. },
  18. "repository": {
  19. "type": "git",
  20. "url": "https://github.com/testing-library/user-event"
  21. },
  22. "bugs": {
  23. "url": "https://github.com/testing-library/user-event/issues"
  24. },
  25. "homepage": "https://github.com/testing-library/user-event#readme",
  26. "files": [
  27. "dist"
  28. ],
  29. "scripts": {
  30. "build": "kcd-scripts build",
  31. "lint": "kcd-scripts lint",
  32. "setup": "npm install && npm run validate -s",
  33. "test": "kcd-scripts test",
  34. "test:debug": "kcd-scripts --inspect-brk test --runInBand",
  35. "test:update": "npm test -- --updateSnapshot --coverage",
  36. "validate": "kcd-scripts validate",
  37. "typecheck": "kcd-scripts typecheck"
  38. },
  39. "dependencies": {
  40. "@babel/runtime": "^7.12.5"
  41. },
  42. "devDependencies": {
  43. "@testing-library/dom": "^7.28.1",
  44. "@testing-library/jest-dom": "^5.11.6",
  45. "@testing-library/react": "^11.2.5",
  46. "@types/estree": "0.0.45",
  47. "@types/jest-in-case": "^1.0.3",
  48. "@types/react": "^17.0.3",
  49. "is-ci": "^2.0.0",
  50. "jest-in-case": "^1.0.2",
  51. "jest-serializer-ansi": "^1.0.3",
  52. "kcd-scripts": "^11.1.0",
  53. "react": "^17.0.2",
  54. "react-dom": "^17.0.2",
  55. "typescript": "^4.1.2"
  56. },
  57. "peerDependencies": {
  58. "@testing-library/dom": ">=7.21.4"
  59. },
  60. "eslintConfig": {
  61. "extends": "./node_modules/kcd-scripts/eslint.js",
  62. "rules": {
  63. "jsx-a11y/click-events-have-key-events": "off",
  64. "jsx-a11y/tabindex-no-positive": "off",
  65. "no-func-assign": "off",
  66. "no-return-assign": "off",
  67. "react/prop-types": "off",
  68. "testing-library/no-dom-import": "off"
  69. },
  70. "overrides": [
  71. {
  72. "files": [
  73. "**/__tests__/**"
  74. ],
  75. "rules": {
  76. "no-console": "off"
  77. }
  78. }
  79. ]
  80. },
  81. "eslintIgnore": [
  82. "node_modules",
  83. "coverage",
  84. "dist"
  85. ]
  86. }