web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
2.4 KiB

  1. {
  2. "name": "@testing-library/react",
  3. "version": "11.2.6",
  4. "description": "Simple and complete React DOM testing utilities that encourage good testing practices.",
  5. "main": "dist/index.js",
  6. "types": "types/index.d.ts",
  7. "module": "dist/@testing-library/react.esm.js",
  8. "engines": {
  9. "node": ">=10"
  10. },
  11. "scripts": {
  12. "prebuild": "rimraf dist",
  13. "build": "npm-run-all --parallel build:main build:bundle:main build:bundle:pure",
  14. "build:bundle:main": "dotenv -e .bundle.main.env kcd-scripts build -- --bundle --no-clean",
  15. "build:bundle:pure": "dotenv -e .bundle.main.env -e .bundle.pure.env kcd-scripts build -- --bundle --no-clean",
  16. "build:main": "kcd-scripts build --no-clean",
  17. "lint": "kcd-scripts lint",
  18. "setup": "npm install && npm run validate -s",
  19. "test": "kcd-scripts test",
  20. "test:update": "npm test -- --updateSnapshot --coverage",
  21. "typecheck": "kcd-scripts typecheck --build types",
  22. "validate": "kcd-scripts validate"
  23. },
  24. "files": [
  25. "dist",
  26. "dont-cleanup-after-each.js",
  27. "pure.js",
  28. "pure.d.ts",
  29. "types/*.d.ts"
  30. ],
  31. "keywords": [
  32. "testing",
  33. "react",
  34. "ui",
  35. "dom",
  36. "jsdom",
  37. "unit",
  38. "integration",
  39. "functional",
  40. "end-to-end",
  41. "e2e"
  42. ],
  43. "author": "Kent C. Dodds <me@kentcdodds.com> (https://kentcdodds.com)",
  44. "license": "MIT",
  45. "dependencies": {
  46. "@babel/runtime": "^7.12.5",
  47. "@testing-library/dom": "^7.28.1"
  48. },
  49. "devDependencies": {
  50. "@testing-library/jest-dom": "^5.11.6",
  51. "@types/react-dom": "^17.0.0",
  52. "dotenv-cli": "^4.0.0",
  53. "kcd-scripts": "^7.5.1",
  54. "npm-run-all": "^4.1.5",
  55. "react": "^17.0.1",
  56. "react-dom": "^17.0.1",
  57. "rimraf": "^3.0.2",
  58. "typescript": "^4.1.2"
  59. },
  60. "peerDependencies": {
  61. "react": "*",
  62. "react-dom": "*"
  63. },
  64. "eslintConfig": {
  65. "extends": "./node_modules/kcd-scripts/eslint.js",
  66. "rules": {
  67. "react/prop-types": "off",
  68. "react/no-adjacent-inline-elements": "off",
  69. "import/no-unassigned-import": "off",
  70. "import/named": "off",
  71. "testing-library/no-dom-import": "off"
  72. }
  73. },
  74. "eslintIgnore": [
  75. "node_modules",
  76. "coverage",
  77. "dist",
  78. "*.d.ts"
  79. ],
  80. "repository": {
  81. "type": "git",
  82. "url": "https://github.com/testing-library/react-testing-library"
  83. },
  84. "bugs": {
  85. "url": "https://github.com/testing-library/react-testing-library/issues"
  86. },
  87. "homepage": "https://github.com/testing-library/react-testing-library#readme"
  88. }