react-redux-toastr
Advanced tools
Comparing version 3.0.2 to 3.0.3
{ | ||
"name": "react-redux-toastr", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "react-redux-toastr is a React toastr message implemented with Redux", | ||
@@ -10,4 +10,4 @@ "main": "lib/index.js", | ||
"build": "better-npm-run build", | ||
"less": "node_modules/.bin/lessc src/toastr/less/index.less --autoprefix=\"last 2 versions\" lib/css/react-redux-toastr.css", | ||
"less:m": "node_modules/.bin/lessc src/toastr/less/index.less --autoprefix=\"last 2 versions\" --clean-css lib/css/react-redux-toastr.min.css", | ||
"less": "lessc src/toastr/less/index.less --autoprefix=\"last 2 versions\" lib/css/react-redux-toastr.css", | ||
"less:m": "lessc src/toastr/less/index.less --autoprefix=\"last 2 versions\" --clean-css lib/css/react-redux-toastr.min.css", | ||
"clean": "better-npm-run clean", | ||
@@ -49,3 +49,3 @@ "lint": "better-npm-run lint", | ||
"type": "git", | ||
"url": "https://github.com/diegoddox/react-redux-toastr" | ||
"url": "git+https://github.com/diegoddox/react-redux-toastr.git" | ||
}, | ||
@@ -142,3 +142,4 @@ "bugs": { | ||
"uuid": "^2.0.1" | ||
} | ||
}, | ||
"homepage": "https://github.com/diegoddox/react-redux-toastr#readme" | ||
} |
@@ -58,8 +58,8 @@ 'use strict'; | ||
<div className="content"> | ||
<button type="button" onClick={this.add.bind(this)}>success</button> | ||
<button type="button" onClick={() => toastr.info('## Info', loremIpsum())}>info</button> | ||
<button type="button" onClick={() => toastr.error('## Error', {timeOut: 4000, component: comp})}>error</button> | ||
<button type="button" onClick={() => toastr.warning('## Warning', loremIpsum())}>warning</button> | ||
<button type="button" onClick={() => toastr.message('## Message', {component: messageComp})}>message</button> | ||
<button type="button" onClick={() => toastr.confirm('## confirm')}>confirm</button> | ||
<button type="button" className="btn btn-success" onClick={this.add.bind(this)}>success</button> | ||
<button type="button" className="btn btn-primary" onClick={() => toastr.info('## Info', loremIpsum())}>info</button> | ||
<button type="button" className="btn btn-danger" onClick={() => toastr.error('## Error', {timeOut: 4000, component: comp})}>error</button> | ||
<button type="button" className="btn btn-warning" onClick={() => toastr.warning('## Warning', loremIpsum())}>warning</button> | ||
<button type="button" className="btn btn-default" onClick={() => toastr.message('## Message', {component: messageComp})}>message</button> | ||
<button type="button" className="btn btn-default" onClick={() => toastr.confirm('## confirm')}>confirm</button> | ||
</div> | ||
@@ -66,0 +66,0 @@ {this.renderDev()} |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
46559
0
0