UNPKG

3.56 kBJSONView Raw
1{
2 "name": "react-hot-loader",
3 "version": "4.5.2",
4 "description": "Tweak React components in real time.",
5 "main": "index.js",
6 "types": "react-hot-loader.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 "react-hot-loader.d.ts"
37 ],
38 "sideEffects": false,
39 "keywords": [
40 "react",
41 "javascript",
42 "webpack",
43 "hmr",
44 "livereload",
45 "live",
46 "edit",
47 "hot",
48 "loader",
49 "reload"
50 ],
51 "devDependencies": {
52 "babel-cli": "^6.7.5",
53 "babel-core": "^6.26.3",
54 "babel-eslint": "^8.2.3",
55 "babel-jest": "^22.4.3",
56 "babel-plugin-dynamic-import-node": "^1.2.0",
57 "babel-plugin-external-helpers": "^6.22.0",
58 "babel-plugin-transform-class-properties": "^6.24.1",
59 "babel-plugin-transform-object-rest-spread": "^6.26.0",
60 "babel-polyfill": "^6.26.0",
61 "babel-preset-env": "^1.6.0",
62 "babel-preset-react": "^6.5.0",
63 "codecov": "^3.0.1",
64 "conventional-github-releaser": "^2.0.2",
65 "create-react-class": "^15.6.3",
66 "cross-env": "^5.1.4",
67 "enzyme": "^3.7.0",
68 "enzyme-adapter-react-15": "^1.0.5",
69 "enzyme-adapter-react-16": "^1.6.0",
70 "eslint": "^4.19.1",
71 "eslint-config-airbnb": "^16.0.0",
72 "eslint-config-prettier": "^2.6.0",
73 "eslint-plugin-import": "^2.11.0",
74 "eslint-plugin-jsx-a11y": "^6.0.3",
75 "eslint-plugin-react": "^7.7.0",
76 "husky": "^0.14.3",
77 "jest": "^22.4.3",
78 "lint-staged": "^7.1.0",
79 "prettier": "^1.12.1",
80 "react": "16",
81 "react-dom": "16",
82 "react-mount": "^0.1.3",
83 "react-test-renderer": "16",
84 "recompose": "^0.27.0",
85 "rimraf": "^2.5.2",
86 "rollup": "^0.58.2",
87 "rollup-plugin-babel": "^3.0.4",
88 "rollup-plugin-commonjs": "^9.1.3",
89 "rollup-plugin-json": "^2.3.0",
90 "rollup-plugin-node-resolve": "^3.3.0",
91 "rollup-plugin-replace": "^2.0.0",
92 "rollup-plugin-uglify": "^3.0.0",
93 "standard-version": "^4.3.0"
94 },
95 "peerDependencies": {
96 "react": "^15.0.0 || ^16.0.0",
97 "react-dom": "^15.0.0 || ^16.0.0"
98 },
99 "dependencies": {
100 "fast-levenshtein": "^2.0.6",
101 "global": "^4.3.0",
102 "hoist-non-react-statics": "^2.5.0",
103 "loader-utils": "^1.1.0",
104 "lodash.merge": "^4.6.1",
105 "prop-types": "^15.6.1",
106 "react-lifecycles-compat": "^3.0.4",
107 "shallowequal": "^1.0.2",
108 "source-map": "^0.7.3"
109 },
110 "engines": {
111 "node": ">= 6"
112 },
113 "jest": {
114 "moduleDirectories": [
115 "node_modules",
116 "<rootDir>"
117 ],
118 "setupFiles": [
119 "<rootDir>/testConfig/setupTests.js"
120 ],
121 "transform": {
122 "^.+\\.js$": "<rootDir>/testConfig/babel.js"
123 }
124 },
125 "collective": {
126 "type": "opencollective",
127 "url": "https://opencollective.com/react-hot-loader"
128 }
129}