UNPKG

react-hot-loader

Version:
142 lines (141 loc) 3.99 kB
{ "name": "react-hot-loader", "version": "4.13.1", "description": "Tweak React components in real time.", "main": "index.js", "types": "index.d.ts", "homepage": "https://github.com/gaearon/react-hot-loader", "repository": "https://github.com/gaearon/react-hot-loader/", "license": "MIT", "author": "Dan Abramov", "scripts": { "build": "rollup -c", "ci": "scripts/ci.sh", "format": "prettier --write \"**/*.{js,md,ts,json}\" *.{js,md,ts,json}", "lint": "eslint .", "prepublishOnly": "yarn build", "prebuild": "rm -rf dist", "precommit": "lint-staged", "release": "standard-version && conventional-github-releaser -p angular", "test": "yarn test:es2015 && yarn test:modern", "test:es2015": "cross-env BABEL_TARGET=es2015 jest --no-cache", "test:modern": "cross-env BABEL_TARGET=modern jest --no-cache", "test:react-dom:prepare": "rm -Rf ./test/hot/react-dom && node ./test/hot/createPatchedReact.js", "yarn-deduplicate": "yarn-deduplicate yarn.lock -s fewer" }, "lint-staged": { "*.{js,md,ts,json}": [ "prettier --write", "git add" ] }, "files": [ "dist", "index.js", "babel.js", "webpack.js", "patch.js", "root.js", "*.d.ts" ], "sideEffects": false, "keywords": [ "react", "javascript", "webpack", "hmr", "livereload", "live", "edit", "hot", "loader", "reload" ], "devDependencies": { "@hot-loader/react-dom": "^16.8.6", "@types/react": "16", "@wojtekmaj/enzyme-adapter-react-17": "^0.1.1", "babel-cli": "^6.7.5", "babel-core": "^6.26.3", "babel-eslint": "^8.2.3", "babel-jest": "^22.4.3", "babel-plugin-dynamic-import-node": "^1.2.0", "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-transform-class-properties": "^6.24.1", "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-polyfill": "^6.26.0", "babel-preset-env": "^1.6.0", "babel-preset-react": "^6.5.0", "codecov": "^3.0.1", "conventional-github-releaser": "^3.1.3", "create-react-class": "^15.6.3", "cross-env": "^5.1.4", "enzyme": "^3.7.0", "enzyme-adapter-react-15": "^1.0.5", "enzyme-adapter-react-16": "^1.6.0", "eslint": "^4.19.1", "eslint-config-airbnb": "^16.0.0", "eslint-config-prettier": "^2.6.0", "eslint-plugin-import": "^2.11.0", "eslint-plugin-jsx-a11y": "^6.0.3", "eslint-plugin-react": "^7.7.0", "husky": "^0.14.3", "jest": "^22.4.3", "lint-staged": "9.4.1", "prettier": "^1.12.1", "react": "16", "react-dom": "16", "react-mount": "^0.1.3", "react-test-renderer": "16", "recompose": "^0.27.0", "rimraf": "^2.5.2", "rollup": "^0.58.2", "rollup-plugin-babel": "^3.0.4", "rollup-plugin-commonjs": "^9.1.3", "rollup-plugin-json": "^2.3.0", "rollup-plugin-node-resolve": "^3.3.0", "rollup-plugin-replace": "^2.0.0", "rollup-plugin-uglify": "^3.0.0", "standard-version": "^7.0.0", "yarn-deduplicate": "^1.1.1" }, "peerDependencies": { "@types/react": "^15.0.0 || ^16.0.0 || ^17.0.0", "react": "^15.0.0 || ^16.0.0 || ^17.0.0", "react-dom": "^15.0.0 || ^16.0.0 || ^17.0.0" }, "peerDependenciesMeta": { "@types/react": { "optional": true } }, "dependencies": { "fast-levenshtein": "^2.0.6", "global": "^4.3.0", "hoist-non-react-statics": "^3.3.0", "loader-utils": "^2.0.3", "prop-types": "^15.6.1", "react-lifecycles-compat": "^3.0.4", "shallowequal": "^1.1.0", "source-map": "^0.7.3" }, "engines": { "node": ">= 6" }, "jest": { "moduleDirectories": [ "node_modules", "<rootDir>" ], "setupFiles": [ "<rootDir>/testConfig/setupTests.js" ], "transform": { "^.+\\.js$": "<rootDir>/testConfig/babel.js" } }, "collective": { "type": "opencollective", "url": "https://opencollective.com/react-hot-loader" } }