package.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. {
  2. "_from": "@testing-library/react@^11.1.0",
  3. "_id": "@testing-library/react@11.2.7",
  4. "_inBundle": false,
  5. "_integrity": "sha512-tzRNp7pzd5QmbtXNG/mhdcl7Awfu/Iz1RaVHY75zTdOkmHCuzMhRL83gWHSgOAcjS3CCbyfwUHMZgRJb4kAfpA==",
  6. "_location": "/@testing-library/react",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "@testing-library/react@^11.1.0",
  12. "name": "@testing-library/react",
  13. "escapedName": "@testing-library%2freact",
  14. "scope": "@testing-library",
  15. "rawSpec": "^11.1.0",
  16. "saveSpec": null,
  17. "fetchSpec": "^11.1.0"
  18. },
  19. "_requiredBy": [
  20. "#USER",
  21. "/"
  22. ],
  23. "_resolved": "https://registry.npmjs.org/@testing-library/react/-/react-11.2.7.tgz",
  24. "_shasum": "b29e2e95c6765c815786c0bc1d5aed9cb2bf7818",
  25. "_spec": "@testing-library/react@^11.1.0",
  26. "_where": "C:\\Users\\rickh\\Desktop\\js-hw-1\\hw1",
  27. "author": {
  28. "name": "Kent C. Dodds",
  29. "email": "me@kentcdodds.com",
  30. "url": "https://kentcdodds.com"
  31. },
  32. "bugs": {
  33. "url": "https://github.com/testing-library/react-testing-library/issues"
  34. },
  35. "bundleDependencies": false,
  36. "dependencies": {
  37. "@babel/runtime": "^7.12.5",
  38. "@testing-library/dom": "^7.28.1"
  39. },
  40. "deprecated": false,
  41. "description": "Simple and complete React DOM testing utilities that encourage good testing practices.",
  42. "devDependencies": {
  43. "@testing-library/jest-dom": "^5.11.6",
  44. "@types/react-dom": "^17.0.0",
  45. "dotenv-cli": "^4.0.0",
  46. "kcd-scripts": "^7.5.1",
  47. "npm-run-all": "^4.1.5",
  48. "react": "^17.0.1",
  49. "react-dom": "^17.0.1",
  50. "rimraf": "^3.0.2",
  51. "typescript": "^4.1.2"
  52. },
  53. "engines": {
  54. "node": ">=10"
  55. },
  56. "eslintConfig": {
  57. "extends": "./node_modules/kcd-scripts/eslint.js",
  58. "rules": {
  59. "react/prop-types": "off",
  60. "react/no-adjacent-inline-elements": "off",
  61. "import/no-unassigned-import": "off",
  62. "import/named": "off",
  63. "testing-library/no-dom-import": "off"
  64. }
  65. },
  66. "eslintIgnore": [
  67. "node_modules",
  68. "coverage",
  69. "dist",
  70. "*.d.ts"
  71. ],
  72. "files": [
  73. "dist",
  74. "dont-cleanup-after-each.js",
  75. "pure.js",
  76. "pure.d.ts",
  77. "types/*.d.ts"
  78. ],
  79. "homepage": "https://github.com/testing-library/react-testing-library#readme",
  80. "keywords": [
  81. "testing",
  82. "react",
  83. "ui",
  84. "dom",
  85. "jsdom",
  86. "unit",
  87. "integration",
  88. "functional",
  89. "end-to-end",
  90. "e2e"
  91. ],
  92. "license": "MIT",
  93. "main": "dist/index.js",
  94. "module": "dist/@testing-library/react.esm.js",
  95. "name": "@testing-library/react",
  96. "peerDependencies": {
  97. "react": "*",
  98. "react-dom": "*"
  99. },
  100. "repository": {
  101. "type": "git",
  102. "url": "git+https://github.com/testing-library/react-testing-library.git"
  103. },
  104. "scripts": {
  105. "build": "npm-run-all --parallel build:main build:bundle:main build:bundle:pure",
  106. "build:bundle:main": "dotenv -e .bundle.main.env kcd-scripts build -- --bundle --no-clean",
  107. "build:bundle:pure": "dotenv -e .bundle.main.env -e .bundle.pure.env kcd-scripts build -- --bundle --no-clean",
  108. "build:main": "kcd-scripts build --no-clean",
  109. "lint": "kcd-scripts lint",
  110. "prebuild": "rimraf dist",
  111. "setup": "npm install && npm run validate -s",
  112. "test": "kcd-scripts test",
  113. "test:update": "npm test -- --updateSnapshot --coverage",
  114. "typecheck": "kcd-scripts typecheck --build types",
  115. "validate": "kcd-scripts validate"
  116. },
  117. "types": "types/index.d.ts",
  118. "version": "11.2.7"
  119. }