-
Notifications
You must be signed in to change notification settings - Fork 802
/
package.json
133 lines (133 loc) · 3.63 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "react-hot-loader",
"version": "4.12.2",
"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"
},
"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.7.13",
"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": "^2.0.2",
"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": "^7.1.0",
"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": "^4.3.0"
},
"peerDependencies": {
"react": "^15.0.0 || ^16.0.0",
"react-dom": "^15.0.0 || ^16.0.0"
},
"dependencies": {
"fast-levenshtein": "^2.0.6",
"global": "^4.3.0",
"hoist-non-react-statics": "^3.3.0",
"loader-utils": "^1.1.0",
"lodash": "^4.17.11",
"prop-types": "^15.6.1",
"react-lifecycles-compat": "^3.0.4",
"shallowequal": "^1.0.2",
"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"
}
}