package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. {
  2. "name": "@testing-library/user-event",
  3. "version": "14.6.1",
  4. "description": "Fire events the same way the user does",
  5. "keywords": [
  6. "react-testing-library",
  7. "dom-testing-library",
  8. "react",
  9. "testing"
  10. ],
  11. "author": "Giorgio Polvara <polvara@gmail.com>",
  12. "license": "MIT",
  13. "engines": {
  14. "node": ">=12",
  15. "npm": ">=6"
  16. },
  17. "repository": {
  18. "type": "git",
  19. "url": "https://github.com/testing-library/user-event"
  20. },
  21. "bugs": {
  22. "url": "https://github.com/testing-library/user-event/issues"
  23. },
  24. "homepage": "https://github.com/testing-library/user-event#readme",
  25. "files": [
  26. "dist"
  27. ],
  28. "scripts": {
  29. "build": "scripts ts-build2 --cjs --target es2019",
  30. "lint": "kcd-scripts lint",
  31. "setup": "npm install && npm run validate -s",
  32. "setup:env": "node --experimental-import-meta-resolve scripts/setup.js",
  33. "test": "kcd-scripts test",
  34. "test:jest": "kcd-scripts test",
  35. "test:toolbox": "NODE_OPTIONS='--experimental-vm-modules --experimental-modules --experimental-import-meta-resolve' node scripts/test.js",
  36. "test:debug": "kcd-scripts --inspect-brk test --runInBand",
  37. "test:update": "npm test -- --updateSnapshot --coverage",
  38. "validate": "kcd-scripts typecheck"
  39. },
  40. "devDependencies": {
  41. "@esbuild-plugins/node-modules-polyfill": "^0.2.2",
  42. "@ph.fritsche/scripts-config": "^2.4.0",
  43. "@ph.fritsche/toolbox": "^1.0.0-alpha.11",
  44. "@testing-library/dom": "^10.4.0",
  45. "@testing-library/jest-dom": "^5.16.3",
  46. "@testing-library/react": "^16.1.0",
  47. "@types/jest-in-case": "^1.0.3",
  48. "@types/react": "^18.0.25",
  49. "@types/sinonjs__fake-timers": "^8.1.2",
  50. "css.escape": "^1.5.1",
  51. "esbuild": "^0.19.10",
  52. "esbuild-plugin-globals": "^0.2.0",
  53. "eslint-import-resolver-typescript": "^3.5.2",
  54. "eslint-plugin-local-rules": "^1.3.2",
  55. "expect": "^28.1.3",
  56. "is-ci": "^3.0.1",
  57. "istanbul-lib-coverage": "^3.2.0",
  58. "istanbul-lib-report": "^3.0.0",
  59. "istanbul-lib-source-maps": "^4.0.1",
  60. "istanbul-reports": "^3.1.5",
  61. "jest-in-case": "^1.0.2",
  62. "jest-mock": "^28.1.3",
  63. "jest-serializer-ansi": "^1.0.3",
  64. "jsdom": "^20.0.3",
  65. "kcd-scripts": "^12.1.0",
  66. "react": "^18.0.0",
  67. "react-dom": "^18.0.0",
  68. "shared-scripts": "^1.5.1",
  69. "ts-node": "^10.9.1",
  70. "typescript": "^4.9.3"
  71. },
  72. "peerDependencies": {
  73. "@testing-library/dom": ">=7.21.4"
  74. },
  75. "dependencies": {},
  76. "main": "./dist/cjs/index.js",
  77. "module": "./dist/esm/index.js",
  78. "types": "./dist/types/index.d.ts",
  79. "exports": {
  80. ".": {
  81. "types": "./dist/types/index.d.ts",
  82. "require": "./dist/cjs/index.js",
  83. "default": "./dist/esm/index.js"
  84. },
  85. "./dist/cjs/*.js": {
  86. "types": "./dist/types/*.d.ts",
  87. "import": "./dist/esm/*.js",
  88. "default": "./dist/cjs/*.js"
  89. },
  90. "./dist/esm/*.js": {
  91. "types": "./dist/types/*.d.ts",
  92. "default": "./dist/esm/*.js",
  93. "require": "./dist/cjs/*.js"
  94. }
  95. },
  96. "typesVersions": {
  97. "*": {
  98. "dist/types/*": [
  99. "./dist/types/*"
  100. ],
  101. "dist/cjs/*.js": [
  102. "./dist/types/*.d.ts"
  103. ],
  104. "dist/esm/*.js": [
  105. "./dist/types/*.d.ts"
  106. ],
  107. "*": [
  108. "./dist/types/*.d.ts"
  109. ]
  110. }
  111. }
  112. }