package.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. {
  2. "name": "@pmmmwh/react-refresh-webpack-plugin",
  3. "version": "0.5.4",
  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": "yalc remove --all",
  45. "yalc:add": "yalc add --dev @pmmmwh/react-refresh-webpack-plugin",
  46. "yalc:publish": "yalc publish --no-scripts",
  47. "lint": "eslint --report-unused-disable-directives --ext .js,.jsx .",
  48. "lint:fix": "yarn lint --fix",
  49. "format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"",
  50. "format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json,md}\"",
  51. "types:clean": "rimraf types",
  52. "types:compile": "tsc -p tsconfig.json",
  53. "types:prune-private": "del \"types/*/*\" \"!types/{lib,loader,options}/{index,types}.d.ts\"",
  54. "generate-types": "run-s types:compile types:prune-private \"format --loglevel silent\"",
  55. "prepublishOnly": "run-s types:clean generate-types"
  56. },
  57. "dependencies": {
  58. "ansi-html-community": "^0.0.8",
  59. "common-path-prefix": "^3.0.0",
  60. "core-js-pure": "^3.8.1",
  61. "error-stack-parser": "^2.0.6",
  62. "find-up": "^5.0.0",
  63. "html-entities": "^2.1.0",
  64. "loader-utils": "^2.0.0",
  65. "schema-utils": "^3.0.0",
  66. "source-map": "^0.7.3"
  67. },
  68. "devDependencies": {
  69. "@babel/core": "^7.14.2",
  70. "@babel/plugin-transform-modules-commonjs": "^7.14.0",
  71. "@types/cross-spawn": "^6.0.2",
  72. "@types/fs-extra": "^9.0.4",
  73. "@types/jest": "^27.0.1",
  74. "@types/json-schema": "^7.0.6",
  75. "@types/module-alias": "^2.0.0",
  76. "@types/node": "^16.0.0",
  77. "@types/puppeteer": "^5.4.0",
  78. "@types/webpack": "^5.28.0",
  79. "babel-jest": "^27.0.5",
  80. "babel-loader": "^8.1.0",
  81. "cross-env": "^7.0.3",
  82. "cross-spawn": "^7.0.3",
  83. "del-cli": "^3.0.1",
  84. "eslint": "^7.26.0",
  85. "eslint-config-prettier": "^8.3.0",
  86. "eslint-plugin-prettier": "^3.4.0",
  87. "fs-extra": "^9.0.1",
  88. "get-port": "^5.1.1",
  89. "jest": "^27.0.5",
  90. "jest-environment-node": "^27.0.5",
  91. "jest-junit": "^12.2.0",
  92. "jest-watch-typeahead": "^0.6.4",
  93. "memfs": "^3.2.0",
  94. "module-alias": "^2.2.2",
  95. "nanoid": "^3.1.23",
  96. "npm-run-all": "^4.1.5",
  97. "prettier": "^2.3.0",
  98. "puppeteer": "^9.1.1",
  99. "react-refresh": "^0.11.0",
  100. "semver": "^7.3.5",
  101. "sourcemap-validator": "^2.1.0",
  102. "type-fest": "^1.4.0",
  103. "typescript": "4.4.3",
  104. "webpack": "^5.42.0",
  105. "webpack-cli": "^4.7.2",
  106. "webpack-cli.legacy": "npm:webpack-cli@3.x",
  107. "webpack-dev-server": "^4.2.1",
  108. "webpack-dev-server.legacy": "npm:webpack-dev-server@3.x",
  109. "webpack-hot-middleware": "^2.25.0",
  110. "webpack-plugin-serve": "^1.4.1",
  111. "webpack.legacy": "npm:webpack@4.x",
  112. "yalc": "^1.0.0-pre.53",
  113. "yn": "^4.0.0"
  114. },
  115. "peerDependencies": {
  116. "@types/webpack": "4.x || 5.x",
  117. "react-refresh": ">=0.10.0 <1.0.0",
  118. "sockjs-client": "^1.4.0",
  119. "type-fest": ">=0.17.0 <3.0.0",
  120. "webpack": ">=4.43.0 <6.0.0",
  121. "webpack-dev-server": "3.x || 4.x",
  122. "webpack-hot-middleware": "2.x",
  123. "webpack-plugin-serve": "0.x || 1.x"
  124. },
  125. "peerDependenciesMeta": {
  126. "@types/webpack": {
  127. "optional": true
  128. },
  129. "sockjs-client": {
  130. "optional": true
  131. },
  132. "type-fest": {
  133. "optional": true
  134. },
  135. "webpack-dev-server": {
  136. "optional": true
  137. },
  138. "webpack-hot-middleware": {
  139. "optional": true
  140. },
  141. "webpack-plugin-serve": {
  142. "optional": true
  143. }
  144. },
  145. "resolutions": {
  146. "type-fest": "1.4.0"
  147. },
  148. "engines": {
  149. "node": ">= 10.13"
  150. }
  151. }