react-responsive-masonry
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -9,1 +9,10 @@ # 1.0.0 - 2017-04-05 | ||
* Add: `gutter` prop on `Mansory` component | ||
# 1.2.0 - 2017-04-14 | ||
* Update `react` version to `15.5` | ||
* Add `prop-types` package in `peerDependencies` | ||
* Remove `browser` field in `package.json` | ||
* Remove `dist` task in `package.json` | ||
* Remove `watch` task in `package.json` | ||
* Remove `webpack` dev dependency |
{ | ||
"name": "react-responsive-masonry", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "React responsive masonry component built with css flexbox", | ||
"browser": "./dist/index.js", | ||
"main": "lib/index.js", | ||
@@ -34,15 +33,17 @@ "repository": { | ||
"eslint-plugin-react": "^6.10.3", | ||
"webpack": "^2.3.2" | ||
"npmpub": "^3.1.0", | ||
"prop-types": "^15.5.8", | ||
"react": "^15.5.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "^15.0.0" | ||
"prop-types": "^15.5.0", | ||
"react": "^15.5.0" | ||
}, | ||
"scripts": { | ||
"clean": "rm -rf lib dist", | ||
"clean": "rm -rf lib", | ||
"lint": "eslint src/", | ||
"dist": "webpack -p", | ||
"build": "babel ./src --out-dir ./lib --source-maps -d lib/", | ||
"watch": "webpack --progress --colors --watch", | ||
"prepublish": "npm run clean && npm run build && npm run dist" | ||
"build": "babel ./src --out-dir ./lib --source-maps -d ./lib", | ||
"prepublish": "yarn run clean && yarn run build", | ||
"release": "npmpub" | ||
} | ||
} |
@@ -76,3 +76,3 @@ # react-responsive-masonry ![npm](https://img.shields.io/npm/v/react-responsive-masonry.svg) ![license](https://img.shields.io/npm/l/react-responsive-masonry.svg) ![github-issues](https://img.shields.io/github/issues/xuopled/react-responsive-masonry.svg) | ||
### Clean `lib` and `dist` folders | ||
### Clean `lib` | ||
@@ -89,8 +89,2 @@ ```js | ||
### Build `dist` folder | ||
```js | ||
npm run dist | ||
``` | ||
### Watch `src` folder | ||
@@ -97,0 +91,0 @@ |
@@ -1,2 +0,3 @@ | ||
import React, {Component, PropTypes} from "react" | ||
import React, {Component} from "react" | ||
import PropTypes from "prop-types" | ||
@@ -3,0 +4,0 @@ const styles = { |
@@ -1,2 +0,3 @@ | ||
import React, {Component, PropTypes} from "react" | ||
import React, {Component} from "react" | ||
import PropTypes from "prop-types" | ||
@@ -3,0 +4,0 @@ class MasonryResponsive extends Component { |
Sorry, the diff of this file is not supported yet
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
1
38830775
2
12
13
133
107