package.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. {
  2. "name": "@pmmmwh/react-refresh-webpack-plugin",
  3. "version": "0.5.11",
  4. "description": "An **EXPERIMENTAL** Webpack plugin to enable \"Fast Refresh\" (also previously known as _Hot Reloading_) for React components.",
  5. "keywords": [
  6. "react",
  7. "javascript",
  8. "webpack",
  9. "refresh",
  10. "hmr",
  11. "hotreload",
  12. "livereload",
  13. "live",
  14. "edit",
  15. "hot",
  16. "reload"
  17. ],
  18. "homepage": "https://github.com/pmmmwh/react-refresh-webpack-plugin#readme",
  19. "bugs": {
  20. "url": "https://github.com/pmmmwh/react-refresh-webpack-plugin/issues"
  21. },
  22. "repository": {
  23. "type": "git",
  24. "url": "git+https://github.com/pmmmwh/react-refresh-webpack-plugin.git"
  25. },
  26. "license": "MIT",
  27. "author": "Michael Mok",
  28. "main": "lib/index.js",
  29. "types": "types/lib/index.d.ts",
  30. "files": [
  31. "client",
  32. "lib",
  33. "loader",
  34. "options",
  35. "overlay",
  36. "sockets",
  37. "types"
  38. ],
  39. "scripts": {
  40. "test": "run-s -c test:pre \"test:exec {@}\" test:post --",
  41. "test:webpack-4": "cross-env WEBPACK_VERSION=4 yarn test",
  42. "test:pre": "run-s yalc:publish yalc:add",
  43. "test:exec": "node scripts/test.js",
  44. "test:post": "yarn yalc:clean",
  45. "yalc:add": "yalc add --dev @pmmmwh/react-refresh-webpack-plugin",
  46. "yalc:clean": "yalc remove --all",
  47. "yalc:publish": "yalc publish --no-scripts",
  48. "lint": "eslint --report-unused-disable-directives --ext .js,.jsx .",
  49. "lint:fix": "yarn lint --fix",
  50. "format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"",
  51. "format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json,md}\"",
  52. "types:clean": "rimraf types",
  53. "types:compile": "tsc -p tsconfig.json",
  54. "types:prune-private": "del \"types/*/*\" \"!types/{lib,loader,options}/{index,types}.d.ts\"",
  55. "generate-types": "run-s types:clean types:compile types:prune-private \"format --loglevel silent\"",
  56. "prepublishOnly": "yarn generate-types"
  57. },
  58. "dependencies": {
  59. "ansi-html-community": "^0.0.8",
  60. "common-path-prefix": "^3.0.0",
  61. "core-js-pure": "^3.23.3",
  62. "error-stack-parser": "^2.0.6",
  63. "find-up": "^5.0.0",
  64. "html-entities": "^2.1.0",
  65. "loader-utils": "^2.0.4",
  66. "schema-utils": "^3.0.0",
  67. "source-map": "^0.7.3"
  68. },
  69. "devDependencies": {
  70. "@babel/core": "^7.14.2",
  71. "@babel/plugin-transform-modules-commonjs": "^7.14.0",
  72. "@types/cross-spawn": "^6.0.2",
  73. "@types/fs-extra": "^9.0.4",
  74. "@types/jest": "^27.0.1",
  75. "@types/json-schema": "^7.0.6",
  76. "@types/module-alias": "^2.0.0",
  77. "@types/node": "^20.5.0",
  78. "@types/semver": "^7.3.9",
  79. "@types/webpack": "^5.28.0",
  80. "babel-loader": "^8.1.0",
  81. "cross-env": "^7.0.3",
  82. "cross-spawn": "^7.0.3",
  83. "del-cli": "^4.0.1",
  84. "eslint": "^8.6.0",
  85. "eslint-config-prettier": "^9.0.0",
  86. "eslint-plugin-prettier": "^5.0.0",
  87. "fs-extra": "^10.0.0",
  88. "get-port": "^5.1.1",
  89. "jest": "^27.0.5",
  90. "jest-environment-node": "^27.0.5",
  91. "jest-junit": "^13.0.0",
  92. "memfs": "^3.2.0",
  93. "module-alias": "^2.2.2",
  94. "nanoid": "^3.1.31",
  95. "npm-run-all": "^4.1.5",
  96. "prettier": "^3.0.1",
  97. "puppeteer": "^13.4.0",
  98. "react-refresh": "^0.14.0",
  99. "semver": "^7.5.2",
  100. "sourcemap-validator": "^2.1.0",
  101. "type-fest": "^4.0.0",
  102. "typescript": "~5.1.6",
  103. "webpack": "^5.76.0",
  104. "webpack-cli": "^4.7.2",
  105. "webpack-cli.legacy": "npm:webpack-cli@3.x",
  106. "webpack-dev-server": "^4.2.1",
  107. "webpack-dev-server.legacy": "npm:webpack-dev-server@3.x",
  108. "webpack-hot-middleware": "^2.25.0",
  109. "webpack-plugin-serve": "^1.4.1",
  110. "webpack.legacy": "npm:webpack@4.x",
  111. "yalc": "^1.0.0-pre.53",
  112. "yn": "^4.0.0"
  113. },
  114. "peerDependencies": {
  115. "@types/webpack": "4.x || 5.x",
  116. "react-refresh": ">=0.10.0 <1.0.0",
  117. "sockjs-client": "^1.4.0",
  118. "type-fest": ">=0.17.0 <5.0.0",
  119. "webpack": ">=4.43.0 <6.0.0",
  120. "webpack-dev-server": "3.x || 4.x",
  121. "webpack-hot-middleware": "2.x",
  122. "webpack-plugin-serve": "0.x || 1.x"
  123. },
  124. "peerDependenciesMeta": {
  125. "@types/webpack": {
  126. "optional": true
  127. },
  128. "sockjs-client": {
  129. "optional": true
  130. },
  131. "type-fest": {
  132. "optional": true
  133. },
  134. "webpack-dev-server": {
  135. "optional": true
  136. },
  137. "webpack-hot-middleware": {
  138. "optional": true
  139. },
  140. "webpack-plugin-serve": {
  141. "optional": true
  142. }
  143. },
  144. "resolutions": {
  145. "type-fest": "^4.0.0"
  146. },
  147. "engines": {
  148. "node": ">= 10.13"
  149. }
  150. }