1 | {
|
2 | "name": "react-hot-loader",
|
3 | "version": "4.8.6",
|
4 | "description": "Tweak React components in real time.",
|
5 | "main": "index.js",
|
6 | "types": "index.d.ts",
|
7 | "homepage": "https://github.com/gaearon/react-hot-loader",
|
8 | "repository": "https://github.com/gaearon/react-hot-loader/",
|
9 | "license": "MIT",
|
10 | "author": "Dan Abramov",
|
11 | "scripts": {
|
12 | "build": "rollup -c",
|
13 | "ci": "scripts/ci.sh",
|
14 | "format": "prettier --write \"**/*.{js,md,ts,json}\" *.{js,md,ts,json}",
|
15 | "lint": "eslint .",
|
16 | "prepublishOnly": "yarn build",
|
17 | "prebuild": "rm -rf dist",
|
18 | "precommit": "lint-staged",
|
19 | "release": "standard-version && conventional-github-releaser -p angular",
|
20 | "test": "yarn test:es2015 && yarn test:modern",
|
21 | "test:es2015": "cross-env BABEL_TARGET=es2015 jest --no-cache",
|
22 | "test:modern": "cross-env BABEL_TARGET=modern jest --no-cache"
|
23 | },
|
24 | "lint-staged": {
|
25 | "*.{js,md,ts,json}": [
|
26 | "prettier --write",
|
27 | "git add"
|
28 | ]
|
29 | },
|
30 | "files": [
|
31 | "dist",
|
32 | "index.js",
|
33 | "babel.js",
|
34 | "webpack.js",
|
35 | "patch.js",
|
36 | "root.js",
|
37 | "*.d.ts"
|
38 | ],
|
39 | "sideEffects": false,
|
40 | "keywords": [
|
41 | "react",
|
42 | "javascript",
|
43 | "webpack",
|
44 | "hmr",
|
45 | "livereload",
|
46 | "live",
|
47 | "edit",
|
48 | "hot",
|
49 | "loader",
|
50 | "reload"
|
51 | ],
|
52 | "devDependencies": {
|
53 | "@hot-loader/react-dom": "^16.8.6",
|
54 | "@types/react": "^16.7.13",
|
55 | "babel-cli": "^6.7.5",
|
56 | "babel-core": "^6.26.3",
|
57 | "babel-eslint": "^8.2.3",
|
58 | "babel-jest": "^22.4.3",
|
59 | "babel-plugin-dynamic-import-node": "^1.2.0",
|
60 | "babel-plugin-external-helpers": "^6.22.0",
|
61 | "babel-plugin-transform-class-properties": "^6.24.1",
|
62 | "babel-plugin-transform-object-rest-spread": "^6.26.0",
|
63 | "babel-polyfill": "^6.26.0",
|
64 | "babel-preset-env": "^1.6.0",
|
65 | "babel-preset-react": "^6.5.0",
|
66 | "codecov": "^3.0.1",
|
67 | "conventional-github-releaser": "^2.0.2",
|
68 | "create-react-class": "^15.6.3",
|
69 | "cross-env": "^5.1.4",
|
70 | "enzyme": "^3.7.0",
|
71 | "enzyme-adapter-react-15": "^1.0.5",
|
72 | "enzyme-adapter-react-16": "^1.6.0",
|
73 | "eslint": "^4.19.1",
|
74 | "eslint-config-airbnb": "^16.0.0",
|
75 | "eslint-config-prettier": "^2.6.0",
|
76 | "eslint-plugin-import": "^2.11.0",
|
77 | "eslint-plugin-jsx-a11y": "^6.0.3",
|
78 | "eslint-plugin-react": "^7.7.0",
|
79 | "husky": "^0.14.3",
|
80 | "jest": "^22.4.3",
|
81 | "lint-staged": "^7.1.0",
|
82 | "prettier": "^1.12.1",
|
83 | "react": "16",
|
84 | "react-dom": "16",
|
85 | "react-mount": "^0.1.3",
|
86 | "react-test-renderer": "16",
|
87 | "recompose": "^0.27.0",
|
88 | "rimraf": "^2.5.2",
|
89 | "rollup": "^0.58.2",
|
90 | "rollup-plugin-babel": "^3.0.4",
|
91 | "rollup-plugin-commonjs": "^9.1.3",
|
92 | "rollup-plugin-json": "^2.3.0",
|
93 | "rollup-plugin-node-resolve": "^3.3.0",
|
94 | "rollup-plugin-replace": "^2.0.0",
|
95 | "rollup-plugin-uglify": "^3.0.0",
|
96 | "standard-version": "^4.3.0"
|
97 | },
|
98 | "peerDependencies": {
|
99 | "react": "^15.0.0 || ^16.0.0",
|
100 | "react-dom": "^15.0.0 || ^16.0.0"
|
101 | },
|
102 | "dependencies": {
|
103 | "fast-levenshtein": "^2.0.6",
|
104 | "global": "^4.3.0",
|
105 | "hoist-non-react-statics": "^3.3.0",
|
106 | "loader-utils": "^1.1.0",
|
107 | "lodash": "^4.17.11",
|
108 | "prop-types": "^15.6.1",
|
109 | "react-lifecycles-compat": "^3.0.4",
|
110 | "shallowequal": "^1.0.2",
|
111 | "source-map": "^0.7.3"
|
112 | },
|
113 | "engines": {
|
114 | "node": ">= 6"
|
115 | },
|
116 | "jest": {
|
117 | "moduleDirectories": [
|
118 | "node_modules",
|
119 | "<rootDir>"
|
120 | ],
|
121 | "setupFiles": [
|
122 | "<rootDir>/testConfig/setupTests.js"
|
123 | ],
|
124 | "transform": {
|
125 | "^.+\\.js$": "<rootDir>/testConfig/babel.js"
|
126 | }
|
127 | },
|
128 | "collective": {
|
129 | "type": "opencollective",
|
130 | "url": "https://opencollective.com/react-hot-loader"
|
131 | }
|
132 | }
|