babel-preset-react-hmre
Advanced tools
Comparing version 1.0.0-1 to 1.0.0-2
{ | ||
"name": "babel-preset-react-hmre", | ||
"version": "1.0.0-1", | ||
"version": "1.0.0-2", | ||
"description": "Babel preset for React HMR and Error Catching", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/danmartinez101/babel-preset-react-hmre.git" | ||
}, | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"author": "", | ||
"author": "Daniel Martinez", | ||
"license": "ISC", | ||
@@ -11,0 +12,0 @@ "peerDependencies": { |
# Babel preset for React HMR and Error Catching | ||
This preset will configure babel for https://github.com/gaearon/react-transform-hmr and friends. | ||
This preset will configure Babel 6 for https://github.com/gaearon/react-transform-hmr and friends. | ||
At present babel 6 (which is required for presets) isn't supported by babel-plugin-react-transform so you probably want to continue using babel 5. | ||
You can track progress on the upgrade to babel 6 over at [babel-plugin-react-transform PR #50](https://github.com/gaearon/babel-plugin-react-transform/pull/50) | ||
It is recommended that this preset only be configured for your development builds. | ||
Once that upgrade is complete, this preset will be a tad bit more useful. | ||
## Install | ||
``` | ||
npm install babel-preset-react-hmre --save-dev | ||
``` | ||
## Configure babel via .babelrc | ||
``` | ||
{ | ||
"presets": ["react", "es2015"], | ||
"env": { | ||
"development": { | ||
"presets": ["react-hmre"] | ||
} | ||
} | ||
} | ||
``` |
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
2
2
28
0
1468