react-modal-dialog
Advanced tools
Comparing version 2.0.0 to 3.0.0
@@ -11,2 +11,4 @@ 'use strict'; | ||
var _jss2 = _interopRequireDefault(_jss); | ||
var _reactJss = require('react-jss'); | ||
@@ -32,3 +34,3 @@ | ||
var jss = (0, _jss.create)(); | ||
var jss = _jss2['default'].create(); | ||
jss.use((0, _jssVendorPrefixer2['default'])()); | ||
@@ -35,0 +37,0 @@ jss.use((0, _jssPx2['default'])()); |
{ | ||
"name": "react-modal-dialog", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"description": "A simple, idiomatic, and declarative way to launch modal dialogs in ReactJS", | ||
@@ -9,3 +9,3 @@ "repository": { | ||
}, | ||
"main": "lib/index.js", | ||
"main": "src/index.js", | ||
"scripts": { | ||
@@ -15,3 +15,3 @@ "prepublish": "npm run build", | ||
"github": "./scripts/publishStaticSite.sh", | ||
"build": "babel src --out-dir lib", | ||
"build": "./scripts/publishToNPM.sh", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
@@ -37,4 +37,4 @@ }, | ||
"peerDependencies": { | ||
"react": "^0.14.2", | ||
"react-dom": "^0.14.2" | ||
"react": "^0.14.0 || ^15.0.0", | ||
"react-dom": "^0.14.0 || ^15.0.0" | ||
}, | ||
@@ -41,0 +41,0 @@ "devDependencies": { |
@@ -129,1 +129,5 @@ # React Modal Dialog | ||
Feel free to send pull requests, or help document this project more. | ||
# A Note on `package.json` | ||
package.json points to `src/index.js`, so that it is easy to develop against. However, this folder does not exist in the npm distribution, so the whole thing falls back to the `/index.js` at the root, which points to the compiled `/lib/index.js`. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34529
11
533
133