package.json 4.33 KB
{
  "name": "@pmmmwh/react-refresh-webpack-plugin",
  "version": "0.5.9",
  "description": "An **EXPERIMENTAL** Webpack plugin to enable \"Fast Refresh\" (also previously known as _Hot Reloading_) for React components.",
  "keywords": [
    "react",
    "javascript",
    "webpack",
    "refresh",
    "hmr",
    "hotreload",
    "livereload",
    "live",
    "edit",
    "hot",
    "reload"
  ],
  "homepage": "https://github.com/pmmmwh/react-refresh-webpack-plugin#readme",
  "bugs": {
    "url": "https://github.com/pmmmwh/react-refresh-webpack-plugin/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/pmmmwh/react-refresh-webpack-plugin.git"
  },
  "license": "MIT",
  "author": "Michael Mok",
  "main": "lib/index.js",
  "types": "types/lib/index.d.ts",
  "files": [
    "client",
    "lib",
    "loader",
    "options",
    "overlay",
    "sockets",
    "types"
  ],
  "scripts": {
    "test": "run-s -c test:pre \"test:exec {@}\" test:post --",
    "test:webpack-4": "cross-env WEBPACK_VERSION=4 yarn test",
    "test:pre": "run-s yalc:publish yalc:add",
    "test:exec": "node scripts/test.js",
    "test:post": "yarn yalc:clean",
    "yalc:add": "yalc add --dev @pmmmwh/react-refresh-webpack-plugin",
    "yalc:clean": "yalc remove --all",
    "yalc:publish": "yalc publish --no-scripts",
    "lint": "eslint --report-unused-disable-directives --ext .js,.jsx .",
    "lint:fix": "yarn lint --fix",
    "format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"",
    "format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json,md}\"",
    "types:clean": "rimraf types",
    "types:compile": "tsc -p tsconfig.json",
    "types:prune-private": "del \"types/*/*\" \"!types/{lib,loader,options}/{index,types}.d.ts\"",
    "generate-types": "run-s types:clean types:compile types:prune-private \"format --loglevel silent\"",
    "prepublishOnly": "yarn generate-types"
  },
  "dependencies": {
    "ansi-html-community": "^0.0.8",
    "common-path-prefix": "^3.0.0",
    "core-js-pure": "^3.23.3",
    "error-stack-parser": "^2.0.6",
    "find-up": "^5.0.0",
    "html-entities": "^2.1.0",
    "loader-utils": "^2.0.3",
    "schema-utils": "^3.0.0",
    "source-map": "^0.7.3"
  },
  "devDependencies": {
    "@babel/core": "^7.14.2",
    "@babel/plugin-transform-modules-commonjs": "^7.14.0",
    "@types/cross-spawn": "^6.0.2",
    "@types/fs-extra": "^9.0.4",
    "@types/jest": "^27.0.1",
    "@types/json-schema": "^7.0.6",
    "@types/module-alias": "^2.0.0",
    "@types/node": "^18.7.21",
    "@types/semver": "^7.3.9",
    "@types/webpack": "^5.28.0",
    "babel-loader": "^8.1.0",
    "cross-env": "^7.0.3",
    "cross-spawn": "^7.0.3",
    "del-cli": "^4.0.1",
    "eslint": "^8.6.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-prettier": "^4.0.0",
    "fs-extra": "^10.0.0",
    "get-port": "^5.1.1",
    "jest": "^27.0.5",
    "jest-environment-node": "^27.0.5",
    "jest-junit": "^13.0.0",
    "memfs": "^3.2.0",
    "module-alias": "^2.2.2",
    "nanoid": "^3.1.31",
    "npm-run-all": "^4.1.5",
    "prettier": "^2.3.0",
    "puppeteer": "^13.4.0",
    "react-refresh": "^0.14.0",
    "semver": "^7.3.5",
    "sourcemap-validator": "^2.1.0",
    "type-fest": "^3.0.0",
    "typescript": "~4.8.4",
    "webpack": "^5.42.0",
    "webpack-cli": "^4.7.2",
    "webpack-cli.legacy": "npm:webpack-cli@3.x",
    "webpack-dev-server": "^4.2.1",
    "webpack-dev-server.legacy": "npm:webpack-dev-server@3.x",
    "webpack-hot-middleware": "^2.25.0",
    "webpack-plugin-serve": "^1.4.1",
    "webpack.legacy": "npm:webpack@4.x",
    "yalc": "^1.0.0-pre.53",
    "yn": "^4.0.0"
  },
  "peerDependencies": {
    "@types/webpack": "4.x || 5.x",
    "react-refresh": ">=0.10.0 <1.0.0",
    "sockjs-client": "^1.4.0",
    "type-fest": ">=0.17.0 <4.0.0",
    "webpack": ">=4.43.0 <6.0.0",
    "webpack-dev-server": "3.x || 4.x",
    "webpack-hot-middleware": "2.x",
    "webpack-plugin-serve": "0.x || 1.x"
  },
  "peerDependenciesMeta": {
    "@types/webpack": {
      "optional": true
    },
    "sockjs-client": {
      "optional": true
    },
    "type-fest": {
      "optional": true
    },
    "webpack-dev-server": {
      "optional": true
    },
    "webpack-hot-middleware": {
      "optional": true
    },
    "webpack-plugin-serve": {
      "optional": true
    }
  },
  "resolutions": {
    "type-fest": "3.2.0"
  },
  "engines": {
    "node": ">= 10.13"
  }
}